[SalesForce] only fire workflow when value changes

I have a workflow that I've created that will populate a text field with a URL when the record is updated.

My workflow rule evaluation criteria is: Evaluate the rule when a record is created, and every time it’s edited

my rule criteria is:
AND
(
MyField__c <> "MyValue"
)

I'm trying to use an "AND" condition to only fire the workflow when "MyField" is not equal to "MyValue" and "MyField" has changed either from Null or blank to a value or the value has changed.

"MyField" is not set on the record creation. It only gets populated on update thru APEX. I've tried using ISCHANGED and PRIORVALUE, but neither of those work. Any ideas? I'm trying to prevent my workflow from firing every single time the record is updated.

Thanks for any help.

Best Answer

You can try to change your workflow criteria to everytime a record is created or edited to subsequently meet your criteria.

Related Topic