-
Notifications
You must be signed in to change notification settings - Fork 95
Workflow State Xtrigger Outputs #6845
Copy link
Copy link
Open
Labels
Milestone
Description
Description
According to the code the workflow_state xtrigger returns the following items as a dictionary:
workflowtaskpointoffsetstatusmessagetriggerflow_numrun_dir
And according to description in Cylc Docs we would expect each of these items to be made available in downstream tasks in cylc__job__inst__user_env. A brief experiment has demonstrated, however, that only
- status
- point
- task
- status
Are available.
Reproducible Example
Include a workflow trigger from another workflow:
[[xtriggers]]
from_upstream = workflow_state('upstream//2000/foo')
[[graph]]
R1 = @from_upstream => fooAnd examine log/job/<cycle>/foo/NN/job looking at cylc__job__inst__user_env.
Additionally ensure that the list of outputs in cylc doc is corrected, or possibly removed, since it duplicates the contents of the auto-documented docstring, and does so inaccurately.
Reactions are currently unavailable