Define Conditions for Data Associations
There may be a business scenario where you want a data association to execute in runtime only when a particular condition fulfills. Control the execution of data associations in runtime by adding conditions to them in the data association editor.
A data association that has been configured with conditional mapping executes in runtime only when the defined condition fulfills. Otherwise, it fails to execute. All other data associations that do not have conditional mapping defined execute normally in runtime.
To define a new condition:
In runtime, the data associations for which you have defined conditions execute only if the conditions fulfill. In case of our example, if the first passenger name was entered in the Start activity form, then its value will be passed on as payload to the primary passenger field in the next activity of the process. Otherwise, the travel agent name will appear in the primary passenger field.