StackStorm / st2

StackStorm (aka "IFTTT for Ops") is event-driven automation for auto-remediation, incident responses, troubleshooting, deployments, and more for DevOps and SREs. Includes rules engine, workflow, 160 integration packs with 6000+ actions (see https://exchange.stackstorm.org) and ChatOps. Installer at https://docs.stackstorm.com/install/index.html
https://stackstorm.com/
Apache License 2.0
6.07k stars 749 forks source link

Execution user can't be retrieved and hangs a Mistral workflow #3267

Closed pietervogelaar closed 6 years ago

pietervogelaar commented 7 years ago

In an action chain I can use {{ action_context.parent.user }} as action parameter value.

If I try to use this in a mistral workflow, it will hang the corresponding action. The workflow just won't finish.

I'm running the latest StackStorm version 2.2.0.

LindsayHill commented 6 years ago

See https://docs.stackstorm.com/mistral_yaql.html#mistral for how to access items such as parent.user from a Mistral workflow.

Similar syntax here for Jinja https://docs.stackstorm.com/mistral_jinja.html#mistral