Creating a Task Chain
Group multiple tasks into a task chain and run them manually once, or periodically, through a schedule.
Prerequisites
-
Data Warehouse General (-R------) - To access SAP Datasphere.
-
Data Warehouse Data Builder (CRUD----) - To create, edit, and delete task chains.
-
Space Files (CRUD----) - To create, read, update, and delete objects in your spaces.
-
Data Warehouse General (-R------) - To access SAP Datasphere.
-
Data Warehouse Data Integration (-R------) - To view data integration task logs in the Data Integration Monitor app.
-
Data Warehouse Data Integration (--U-----) - To manually run data integration tasks.
-
Data Warehouse Data Integration (----E---) - To schedule data integration tasks.
-
Data Warehouse Data Builder (------S-) - To share task chains to other spaces.
-
User (R-------) - To display and add notification recipients from a list of current tenant members, when setting up email notifications.
-
For SAP HANA Open SQL schema procedures to be available for users to include in a task chain, the schema’s owner must grant EXECUTE privileges to the space user for objects in the Open SQL schema. See Allow the Space to Access the Open SQL Schema.
-
Objects must have been already deployed, so that they can be added to the task chain. Task chains must also be deployed to allow selection of tenant users or specify email addresses for notification of task chain completion.
-
Persisting of views may include one parameter that uses the default value defined with the view. Views must not have data access controls assigned to them.
-
If a data flow that has input parameters is included in a task chain, task chain runs will use default parameter values defined for the data flow.
-
You can create a schedule for your replication flow and include it in a task chain. For replication flows with Initial and Delta and Delta Only load types, you must set Delta Load Run to At Scheduled Time.
Context
You can create task chains that include SAP Datasphere repository objects, that is, Remote Tables and Views, Local Tables, Intelligent Lookups, Data Flows, Replication Flows, and Transformation Flows. You can also include non-repository objects such as SAP HANA Open SQL schema procedures and SAP BW Bridge process chains. In addition, you can nest other existing, locally-created or shared task chains in other task chains, as well as share task chains you've created to other spaces.
In addition to the objects available from the Repository or Others tabs, you can also add two other additional objects to task chains that are only available from the task chain toolbar. The API Task object lets you configure and run API asks to access external systems. The Notification Task object lets you configure email notification for individual task chain tasks.
When creating a task chain, you can create linear task chains in which one task is run after another. A succeeding task is only run once the previous task in the series has finished successfully with a completed status. The running of tasks in the series may resume if the previous task has a failed status. The task port connecting one object task to the next object task can allow the task chain to continue if a task regardless of the failed. For more information about task ports, see Select Task Ports in a Task Chain. You can also create task chains in which individual tasks are run in parallel and successful continuation of the entire task chain run depends on whether ANY or ALL parallel tasks are completed successfully.
You can turn on the Ignore Error button in the right side panel to disregard the status of the single object task in the status evaluation of the entire task chain.
When creating or editing a task chain, you can also set up email notification for deployed task chains to notify selected users of task chain completion. After deploying a task chain, you can add tenant users or email addresses to notify individuals when task chain runs are completed.
You can monitor the status of task chain runs from the Data Integration Monitor. For more information, see Monitoring Task Chains.
-
List, create, read, update, and delete them using the datasphere command line interface (see Managing Modeling Objects via the Command Line).
-
Export and import them via the secure Transport app (see Transporting Content Between Tenants).
-
Export and import them via CSN files (see Importing and Exporting Objects in CSN/JSON Files).
-
Run them via a REST API (see Managing Tasks via the REST API).


