I am a beginner with Appian. In the interface, I input values for each field of a record type and save them to process variables. In the process model, I want to reference the same record, subtract a specific field from the corresponding process variable, and perform the following actions:
If the result is 0 or below, I want to send an email without changing the value.If the result is 1 or above, I want to save the calculated result in a process variable and send an email.Can you guide me on how to achieve this in Appian?
Discussion posts and replies are publicly visible
Hi taiyof4139 ,
Drag an XOR node, in configuration check the subtraction condition. Output will be 2 paths one for <=0 and other is for >=1. create the paths with the respective actions (<=0 email, >=1 update pv in script task and send email). Since its an XOR node, only one path will execute. Please check the conditions as we left the things in between 0 and 1