Changing elements in a workflow
In this recipe, we will have a closer look at the challenges that change 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 04.01.02 MainWorkFlow
and 04.01.01 SubWorkflow
example workflows as well as the reNameMe
action, which is part of the example package.
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
04.01.02 MainWorkFlow
and04.01.01 SubWorkflow
example workflows. - In the subworkflow...