How to get execution ID in Orquesta?

(ivan) #1

In Mistral get execution ID with <% env().st2_execution_id %> but not in Orquesta, how to get execution ID in Orquesta?

(Eugen C.) #2

<% ctx(st2).action_execution_id %>

See st2/orquesta-st2-ctx.yaml at 8e0d6597619dadba3f9657a3748b5acf0c36aa34 · StackStorm/st2 · GitHub for a complete example.

I would suggest also to take a look at st2/contrib/examples/actions/workflows at master · StackStorm/st2 · GitHub for more Orquesta workflow ideas.