The switch task is used for creating branching logic. It is a representation of multiple if...then...else or switch...case statements in programming.
📄️ Set Variable
Set Variable allows us to set the workflow variables by creating or updating them with new values. Think of these as a temporary state, which you can set in any step and refer back to any steps that execute after setting the value.
A Fork operation lets you run a specified list of tasks or sub-workflows in parallel. A fork task is followed by a join operation that waits on the forked tasks or sub-workflows to finish. The JOIN task also collects outputs from each of the forked tasks or sub workflows.
📄️ Dynamic Fork
The Dynamic fork task is used when the number of forks is to be determined at the run-time. Whereas in a regular fork-join task, the number of forks is defined during the workflow creation.
The Wait task is used when the workflow needs to be paused for an external signal to continue. It is used when the workflow needs to wait and pause for external signals, such as a human intervention (like manual approval) or an event coming from an external source, such as Kafka or SQS.
A JOIN task is used in conjunction with a FORK_JOIN or FORK_JOIN_DYNAMIC task to join all the tasks within the forks.
📄️ Worker Task (Simple Task)
A Simple task is a Worker task that requires an external worker for polling. The Workers can be implemented in any language, and Conductor SDKs provide additional features such as metrics, server communication, and polling threads that make the worker creation process easier.
The dynamic task allows us to execute one of the registered tasks dynamically at run-time. This means you can run a task
📄️ Start Workflow
Start Workflow is an operator task used to start another workflow from an existing workflow. Unlike a sub-workflow task, a start workflow task doesn’t create a relationship between the current workflow and the newly started workflow. That means it doesn’t wait for the started workflow to get completed.
📄️ Sub Workflow
Sub Workflow allows executing another workflow from within the current workflow.
📄️ Terminate Workflow
The Terminate Workflow task is used to terminate other workflows using their workflow IDs.
The Terminate task is a task that can terminate the current workflow with a termination status and reason.
📄️ Do While
The Do While task sequentially executes a list of tasks as long as a condition is true. The list of tasks is executed first before the condition is checked, even for the first iteration, just like a regular do .. while task in programming languages.