You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conditionally assign/publish a value in workflow based on navigation result from an operation
Scenario is, Flow is going through different navigation route but finally I have to generate a user message where I have to call an operation generate message but only that I have to pass "currentState". I just want to limit invocation to "GenerateMessage" only in one place in flow but dynamically assign "currentState" variable in flow. Right now the challenge I have is, how do i achieve as below
Call OP1
- Publish "currentState" = "OP1 Failed" if OP1 failed (based on navigation result)
- Publish "currentState" = "OP2 Failed" if OP2 successful
- Publish "currentState" = "State1" if returnCode = 2
I know 3rd can be achieved with an equals operation but that seems to be lot to do to achieve small thing. Also I dont see an option for first two cases where I have to set a variable based on navigation result from operation. Thanks
The text was updated successfully, but these errors were encountered:
do it with a Python expression - however in this case, you have to duplicate the result condition from the operation (which is not so good if the underlying op changes)
you can introduce an additional step (noop) to define your variables in its publish section and then navigate to the GenerateMessage step
Please tell me how can I,
Scenario is, Flow is going through different navigation route but finally I have to generate a user message where I have to call an operation generate message but only that I have to pass "currentState". I just want to limit invocation to "GenerateMessage" only in one place in flow but dynamically assign "currentState" variable in flow. Right now the challenge I have is, how do i achieve as below
Call OP1
- Publish "currentState" = "OP1 Failed" if OP1 failed (based on navigation result)
- Publish "currentState" = "OP2 Failed" if OP2 successful
- Publish "currentState" = "State1" if returnCode = 2
I know 3rd can be achieved with an equals operation but that seems to be lot to do to achieve small thing. Also I dont see an option for first two cases where I have to set a variable based on navigation result from operation. Thanks
The text was updated successfully, but these errors were encountered: