-
Hi!
where I need it to run different tasks in case of different values of Nevertheless stackstorm doesn't want to parse it as a string and move on. Is it even possible to do such thing or how can i route my flow in case of different values of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I think you're looking for this https://docs.stackstorm.com/orquesta/context.html?highlight=dynamic#dynamic-action-execution |
Beta Was this translation helpful? Give feedback.
So, you have, in your flow, a set of pre-defined tasks that are e.g. first_flow or second_flow etc and you want to branch the execution based on my_variable content. Why not do the evaluation of the variable in the when? for example when: <% succeeded() and ctx().get(my_variable) = 'first' %> do: first_flow etc?