Is there a way to access the trace tag of the rule execution from the rule execution itself

(Daniel Jay Haskin) #1

I want to know if I can access the trace tag from within a rule definition via jinja interpolation.


Not really. Why do you want to do this?

(Daniel Jay Haskin) #3

I have a task in my workflow that is used to email admins if previous tasks within an orquesta workflow failed. In the email, it would really be handy to tell the admins what trace tag the current workflow is operating under.

(W Chan) #4

This looks useful. Please open an issue at the st2 repo and request the feature.

1 Like
(Daniel Jay Haskin) #5

Posted a feature request: Make trace info available from within an orquesta workflow definition · Issue #4627 · StackStorm/st2 · GitHub