Once you create a workflow, you can add multiple tasks to the workflow. You can directly add the task by creating it in Workflow Manager, or you can create the task in the Task Developer and use it in the workflow.
To add a task to the workflow, perform the following steps:
s_mappingname
. Click on OK.Note that we will discuss all the tasks in detail in the next chapter.
We are selecting m_PASS_THROUGH_EMPLOYEE
for our reference.
The session task appears in the workspace, as shown in the following screenshot:
Also, as you can see in the preceding screenshot, s_m_PASS_THROUGH_EMPLOYEE
is added to the navigator.
Note that every task will have a different appearance, and based on the task you select to create, the icon will appear in the workspace.
In the preceding section, we saw how to create nonreusable tasks in Workflow Manager. As mentioned, we can create reusable tasks in Task Developer. Follow these steps to create the tasks in Task Developer:
The selected task will appear in Task Developer, as shown in the following screenshot:
The task will also get added under Tasks in the navigator. This indicates that a reusable task is created in the repository.
If you have created a task earlier in Task Developer, you can use these tasks in Workflow Manager. Open the navigator and drag the appropriate task to the workspace where you workflow is already open; the task will appear in the workspace.
To add the reusable task created in the previous step to Workflow, drag-and-drop the em_NOTIFICATION
task to the workspace. The task will appear in the workflow, as shown in the following screenshot:
A small icon under em_NOTIFICATION
indicates that this is a reusable task.