How to Disable Data Tasks in Taskflows CDI (Step-by-Step Guide)
Introduction
Informatica Intelligent Cloud Services (IICS) Cloud Data Integration (CDI) is widely used for building and managing data pipelines. Taskflows in IICS allow you to orchestrate multiple tasks in a sequence or parallel execution. However, there are scenarios where you may need to disable a Data Task temporarily—for example, during troubleshooting, testing, or when a specific task is not required for a particular run.
In this guide, we’ll walk you through how to disable Data Tasks in Taskflows in IICS CDI, why it’s important, and best practices to follow.
Why Disable Data Tasks in Taskflows?
Disabling Data Tasks instead of deleting them offers several benefits:
- Preserve Workflow Structure: Keep your Taskflow intact without removing tasks permanently.
- Quick Troubleshooting: Temporarily skip problematic tasks without impacting other tasks.
- Flexibility: Enable or disable tasks based on business requirements without redesigning the Taskflow.
Step-by-Step Guide to Disable Data Tasks in Taskflows
Step 1: Log in to IICS (Follow below image)
- Login to your Informatica Intelligent Cloud Services account.
- Go to Cloud Data Integration.
Step 2: Open the Taskflow
- From the Explore page, Choose your Folder, and locate the Taskflow you want to modify, here i decided to modify ‘Disable_dt_taskflow‘.
- Click Edit to open the Taskflow designer.
Step 3: Decided the Data Task you would wish to Disable
In this Task flow i have decided to disable(do not run) Data task 2 and Data Task 4.
Step 4: Add a Temporary Field
- Go to the Start step or Taskflow properties.
- Create a temporary field named
disable_data_task2. - Set its Data Type to
Textand Default Value toTrue.
(Refer to the image: the temp field disable_data_task2 is set to True.)
Step 5: Insert a Decision Step
- After Data Task 1, add a Decision step.
- Configure the Decision step to evaluate the temporary field:
- Condition:
disable_data_task2 = 'False' - This means if the value is False, the path will include Data Task 2 and 4; otherwise, it will skip it. in our case we pass value as True in Temp Field and Path value which is False!=True, so it will skip Data Task 2 & Data Task 4.
- Condition:
(Refer to the images)
Step 6: Configure Paths
- In the Decision step:
- Path 1 (Contains False) → Connect to Data Task 2 and Data task4.
- Otherwise Path → Skip Data Task 2,4 and go directly to Data Task 3.
- This ensures that when
disable_data_task2is True, Data Task 2 and 4 will not run.
Step 7: Validate and Publish
- Validate the Taskflow to ensure there are no errors.
- Save and Publish the Taskflow.