We are migrating Digital.ai Release from v9 to v10. I am testing the use of CLI to build templates in Release from YAML files. These templates used to have triggers.
In v9 this worked well, but with v10 I get the error: Templates with release triggers are no longer supported.
Affected Products & Versions
Release v9.6 and later
The trigger design of Release 9.6 onward has been updated and triggers are now treated as first-class citizens and operate as independent entities. However, this change gives triggers much greater flexibility for future updates, details are here.
You need to create triggers at the folder level; they will not work if you're trying to create them at the template level.
Use the .yaml file to create a trigger at the folder level in CLI. Please see the example below that shows how to create a trigger at folder level:
- directory: test
- name: Test
Please refer to this documentation for the XL CLI details.