The Invalid Action Flow error is issued in the following situations:
'Cycle' path must return to the 'For Each' element in <action>: you have a For Each with a Cycle loop path that does not end in the For Each element.
Fix the For Each element in this action and link all the possible paths in the Cycle loop to the For each element.
Ambiguous paths to <element> in <action>: you have an element that belongs simultaneously to different Start, Exception Handler, or For each paths.
Examples
Situation |
Reason |
In this situation, the Assign element belongs to the Action flow and also to the Exception flow, therefore the Error handler flow is crossing the regular execution of the action. |
|
In this situation, the Assign element belongs to the Action flow and also to the For Each flow. |
Or there are missing paths in a node of your action; for example, you have a For Each node with no Cycle loop path.
Edit this action and fix the ambiguous paths.
Fix the If element in this action according to the following:
There must be True and False action paths.
Switch condition for <path> connector must return a 'Boolean' value: you have a condition in your Switch element that does not return a Boolean value and therefore is not well formed.
Fix the Switch element in this action according to the following:
The conditions associated with each action path must return a Boolean value.
<switch> must have an otherwise optional connector in <action>: you have a Switch element that does not have the Otherwise connector and therefore is not well formed.
Fix the Switch element in this action according to the following:
There must always be an Otherwise path.
Start is required in <action>: you have an action flow that does not have the Start element.
Edit this action and add a Start element. Note that an action flow must have one and only one Start element.
More than one <Start> found in action>: you have more than one Start element in your action.
Edit this action and remove the duplicated Start elements.
Clicking the symbol will take you directly to the action flow where the rule violation occurs, highlighting the element where the problem was detected.
See Also
Action Flow Toolbox | About For Each Tool | About If Tool | About Switch Tool | About Error Messages