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
ThankS Alex. this worked!!!! what if i want to send a email when StatusRequest changes to In Progress and LeadResource has been assigned. The LeadResource is a User field and the StatusRequest is a dropdown
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same concept
hasChanged(LeadResource):true AND !LeadResource:[empty] AND hasChanged(StatusRequest):true AND StatusRequest:In Progress
(if "In Progress" is the "id" of an option in StatusRequest field)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Alex. This time it didn't work. StatusRequest is a dropdown field with "In Progress" as an option and LeadResource is a user field
I'd like to send an email only when the condition on both having a user assigned in LeadResource and "In Progress" in the StatusRequest field, which is the dropdownm is met. Can the email be sent only when both are updated regardless of the orderthe fields get updated?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Of course it can, but this condition means they are changed in the same update
So, how is your StatusRequest field is configured?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have been using inline editing in my form so i have been updating each field seperately. The StatusRequest Field is dropdown and In Progress and Completed are both pre set values
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.