Tasks in the downstream workflow never seem to trigger despite the upstream workflow’s foo jobs finishing. Is this functionality just simply broken in the current version of Cylc 8? I haven’t been able to figure out what if anything i’m doing wrong.
The workflow_state xtrigger works fine, but it seems we forgot to update the documented example with a recent change to the function arguments - sorry!
(The is_trigger flag is (now) required to avoid a possible ambiguity between task statuses and task messages. The documentation you’ve linked to mentions the argument but doesn’t use it in the example).
Note also that the name up should be replaced with whatever name you’ve used to run the upstream workflow.
Figured out how to make the function work. I had to explicitly set each keyword the function expects.
workflow_state(message=“succeeded”, point=%(point)s, task=“foo”, workflow=“up”)
If you can’t upgrade Cylc, note that you can choose older versions of the online documentation via the bottom of the left side-panel. Here’s a direct link to 8.2.5 docs on the workflow_state xtrigger: