This example shows how to create a Job to connect to Talend Data Stewardship, delete tasks from a number of campaigns and list the deleted tasks with their metadata on the Talend Studio log console.
To replicate the example described below, retrieve the tdatastewardshiptaskdelete_remove_tasks.zip file from the Downloads tab in the left pane of this help page.
To replicate the example described below, retrieve the tdatastewardshiptaskdelete_remove_tasks.zip file from the Downloads tab of the online version of this page at https://help.talend.com.
tDataStewardshipTaskDelete is a standalone component and can be used in a Job without any output components.
An Arbitration campaign, Beta Candidates, which stores the tasks of the candidates for a beta testing program,
A Resolution campaign, Product Catalog, which stores the tasks of the enterprise products,
A Merging campaign, CRM Data Deduplication, which stores the tasks of customer data retrieved from the enterprise CRM system.
A campaign, Matching on Spark, which stores the tasks of the enterprise products retrieved from the enterprise product catalog.
Before you begin
The campaigns from which you want to delete the tasks are already defined in Talend Data Stewardship and populated with tasks.
You have been assigned in Talend Administration Center the Campaign Owner role which grants you access to the campaigns on the server.
- In the design workspace, start typing tDataStewardshipTaskDelete and select this component from the list that opens. Repeat the operation to add three tDataStewardshipTaskDelete components on the workspace.
- Do the same to add three tLogRow components onto the workspace.
- Link the tDataStewardshipTaskDelete components to the tLogRow components using the links.
- Link the tDataStewardshipTaskDelete components together using the links.