What is the condition and how to use it

Written by Анатолій
Updated 4 days ago

The platform presented two types of conditions:

  1. A condition based on some fields to create different branches of the script, for example, if in the certificate of completion the amount of service is more than 1000, then give the opportunity to launch one branch of the script, if more than another

  2. A condition that creates several envelopes based on values in the source. But at the same time, if the value is Yes, then create envelope(s) that respond to Yes value, and if the value is No, then create envelope(s) that respond to No value

Condition is optional and may or may not be in the request or could be null.

Additional logic

If after checking the execution condition = false, then check the next steps, if all steps are false, then run the step in order in which condition = null. If there are no conditions, we run the next steps with the null parameter condition and respective source value. If several steps meet the conditions, then the user in the envelope will display several buttons for starting different steps (in the rest, several steps will be received in the response).

Did this answer your question?