Skip to end of banner
Go to start of banner

Conditions and Validators (Cloud)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Writing conditions and validators 

Unfortunately we currently don't have a possibility to run SIL scripts, so we have to use JIRA expressions instead.

When you get to the workflow transitions you will be able to add conditions and validators using JIRA expression (for more details read Customizing workflows until the note linking here).


Now you can choose to add a condition using a Jira expression.


Then, you have the option to choose between a template or you can write your own custom script. For your convenience we have provided you with a wide range of templates "translated" from a SIL script to a Jira expression. This way you can either use the template you have at your disposition or you can inspire yourself from the already existing choices.


After you select a template the fields will autocomplete, then you can continue with the script as is, or you can customize it, rename it and continue.

If you choose to change the Jira expression, the corresponding SIL script will hide as it won't be corresponding anymore.

Warning

There is no translator between SIL scripts and Jira expressions. All the templates are handwritten. There is no magical tool that translates a SIL script into a Jira expression.

If you choose to create a new script from the option at the beginning, you will be able to write a Jira expression from scratch.

For the validators it's mostly the same thing, except we also have an error that is returned if the validation fails.


After adding the conditions and validators, don't forget to activate the workflow you were editing to apply the changes.

  • No labels