Custom Trigger
I have a workflow that requires an email to be sent only if a certain condition is met. Here is the code for the condition:
// Does the contract variation exceed the premium value by more than 25%
if(($new_rcval / $premium_val) > 1.25) {
// Send email here.
}
How would you select the trigger in "General" tab of the Universal Email dialogue box (see attached image) so that it was only triggered from within the above if statement?