23 May 2023 10:27 AM - edited 20 Jul 2023 12:47 PM
How do I access event data or results from a previous workflow step?
Solved! Go to Solution.
23 May 2023 10:39 AM
Data can be accessed from any previous task in a workflow, and it doesn’t have to be its immediate predecessor.
All workflow task results are automatically available without any additional configuration. Access to data is given via the jinja2 expression, the same system and syntax that you might know from solutions like Red Hat Ansible.
Ad-hoc scripts (JavaScript action) has jinja2 expression disabled to mitigate the risk of possible code injections. For these, we provide access to the data via JavaScript SDKs.