I'm creating an invite structure in the user profile which requests a name number and email address if a user reference isn't available.

The form update works perfectly and actions an SMS and email if the reference field is empty. But it actions it every time I save a user account. Which I only want to action if new or updated.

Tried the data comparison of unchanged or not but not having any luck.

Comments

TR’s picture

Issue summary: View changes
Priority: Major » Normal
Status: Active » Closed (cannot reproduce)

You really need to export your Rule and post it so we can see exactly what you're doing - without that we can only guess as to what events and conditions you're using, and can only guess at how you've configured your Rule.

But in general, if you only want your action to execute under certain circumstances, you must add conditions to test for those circumstances. To account for more complicated situations, you might even want to add a boolean field "Notified" to your user account. Then when you send your SMS, you can set Notified = TRUE. Then you can add a condition to your Rule to send the message only if Notified == FALSE. There are many ways to handle the situation, and we cannot tell why your way isn't working because we can't see your Rule so we don't know exactly what you've done.