Hi team, i am trying to send an email only when the event is modified (but specifically when the confirm form field "StatusRequest" is updated to "Completed" I don't want to send the email when other confiform fields are updated. Is there any way to set up this rule?
Of course you can :-)
Depending on the StatusRequest field type a bit, but here are some examples:
- if StatusRequest is a dropdown and has an option with a label value "Completed"
hasChanged(StatusRequest):true AND StatusRequest.label:Completed
If Completed is the id (or the StatusReport field is a text field) then it can be simplified to
hasChanged(StatusRequest):true AND StatusRequest:Completed
Also it is possible to catch transitions, if you ever interested - see documentation on hasChanged and _previousState
https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.