The active version of a workflow definition is not editable. You can only edit an inactive workflow version.
You can still view the task details of an active workflow version by clicking the pencil icon on a task.
To edit a workflow version:
- Open a workflow.
- Click the Versions tab.
- Click the menu icon next to an inactive workflow version and then click Edit.
If there is only one version for the workflow definition and it is an active version, you need to create a new version to make modifications.
Editing a workflow involves two types of actions:
- Design the flow of tasks, including adding or deleting tasks, and connecting loose tasks.
- Configure task parameters.
If a template perfectly fits your requirements, you may only need to configure parameters for tasks.
Zuora recommends that you go through the list of workflow templates to see if you can find one that meets your requirements. Consider creating a blank workflow only when there are no templates that can be used.
You can perform these actions to a workflow:
- If it is a blank workflow, select +>On Start to add a starting task.
A starting task is normally used to retrieve data from your data sources. The retrieved data are processed in subsequent tasks. You can have multiple starting tasks to initiate multiple sub-flows that run in parallel.
- Hover over a task and click to add a task immediately following this task. You need to select the trigger and the task type for the new task.
Generally, triggers are the results of the current task upon which the following task will start. On Success and On Failure are the most common triggers.
Triggers are different for different tasks. For example, for a manual approval task, the triggers are On Approval and On Rejection. For an iteration task, the triggers are For Each and On Failure.
- Hover over a task and click to delete the task. When a task is deleted, the connecting arrows before and after the task are also deleted, thus creating loose tasks.
- Click a trigger line to change the trigger type or delete the trigger.
- Connect loose tasks by dragging the finishing point of a task and dropping to the starting point of another task.
- Hover over a task and click to configure the parameters for the task.
A new window will open for you to configure the settings for the task. The available settings are different from one type of task to another.