The AddOrder Instruction adds an order to the workflow and displays the variables that are added to that workflow. But when there is any change to the Workflow variables, then they are not updated in the linked AddOrder instruction
Steps to reproduce:
Create a workflow (W1), add a variable, and deploy.
Create another workflow (W2), add the argument from the previous workflow by using the AddOrder instruction, and deploy it.
Then update the workflow variable from the W1 workflow and deploy it.
The updated workflow variable's value still does not appear in the W2 workflow.
Desired Behavior
If arguments of a workflow are changed that are referenced in AddOrder instructions of other workflows, then it is checked whether the arguments of these AddOrder instructions contradict the change.
If yes,
then the Workflows with conflicts are set as draft and invalid