Best practices to see xtriggers in the GUI?

Hi everyone,

Xtriggers don’t show up in the GUI.
I tried adding a dummy task after the xtrigger, but then you need to propagate returned variables from the xtrigger through the dummy. Not the worst, but perhaps not the best.
What do you usually do to monitor xtriggers in your own workflows ?

search tags

xtriggers, external triggers, web GUI, see, watch, appear, visible

Regrettably, xtriggers are not presently viewable in the GUI. In the future we will make them visible in three ways:

  1. A metadata view, which will list task’s prerequisites and outputs along with other things.
  2. A special icon to show when a task has unsatisfied xtriggers.
  3. The graph view will show xtriggers upstream of tasks.

Until then, you can inspect them from the command line using the cylc show command. Apologies for the inconvenience, this work has got stuck behind high priority issues.

For the dummy task solution, you could put the dummy task downstream of the triggers but not upstream of the task to trigger i.e:

# task "dummy" will run once xtriggers are satisfied, task "bar" will run
# after this and upstream dependencies are satisfied
@xtrig1 => bar & dummy
@xtrig2 => bar & dummy
foo => bar
1 Like

Nice use of search tags. :slight_smile: