Changing elements in a workflow
In this recipe, we will have a closer look at the challenges that changing the workflow elements in a schema pose. Changing the in- and out-parameters as well as moving or renaming actions will be discussed. You will learn how to make these changes as well as what to avoid.
Getting ready
We need a workflow that has an additional workflow as well as an action in its schema.
You can use the example workflows 5.02.1 and 5.02.2 as well as its action chapter5ChangeMe
.
How to do it...
There are only two major tasks: changing the parameters and renaming/moving the actions.
Changing the parameters of workflows and actions
If you change a subworkflow's in/out-parameters, you will need to synchronize its parameters by following these steps:
- Make sure that you have a workflow that has a workflow as an element in its schema. You can use the example workflows 5.2.1 subworkflow and 5.2.2 Main-workflow.
- In the subworkflow, change the name of an out-parameter and add another...