# Tip: Cylc Set Xtriggers

**URL:** <https://cylc.discourse.group/t/tip-cylc-set-xtriggers/1218>\
**Category:** Tips\
**Created:** [August 1, 2025, 8:34am UTC](https://cylc.discourse.group/t/tip-cylc-set-xtriggers/1218 "2025-08-01T08:34:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wxtim](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/wxtim/32/151_2.png) [@wxtim](https://cylc.discourse.group/u/wxtim)\
**Post date:** [August 1, 2025, 8:34am UTC](https://cylc.discourse.group/t/tip-cylc-set-xtriggers/1218/1 "2025-08-01T08:34:28Z")

</div>

[Docs Link](https://cylc.github.io/cylc-doc/stable/html/reference/changes.html#cylc-set)

The `cylc set` command can now be used to satisfy xtrigger prerequisites. For example if the task `2026/get_data` is [clock triggered](https://cylc.github.io/cylc-doc/stable/html/glossary.html#term-clock-trigger), you might satisfy this prerequisite like so:

```bash
cylc set myworkflow//2026/get_data --pre xtrigger/wall_clock

```

The default behaviour of the `cylc set` command has also changed for tasks where success is [optional](https://cylc.github.io/cylc-doc/stable/html/glossary.html#term-optional-output), it will now set the `succeeded` output (and any other outputs that are required in the event of task success) which is more consistent with the behaviour for tasks where success is required.

[Docs Link](https://cylc.github.io/cylc-doc/stable/html/reference/changes.html#cylc-set)
