Activity Forums Salesforce® Discussions What is the Difference between the below two in Salesforce?

  • Anurag

    Member
    September 25, 2018 at 1:57 pm

    Hi,

    created and every time it is edited:
    These simply means whenever we create or edit a record if criterion satisfies than workflow will fire.

    created and any time it is edited to subsequently meet criteria:

    Here workflow fires only once,

    1) Either when we create a record if criterion satisfies it will fire and if we update the same
    record and again if criterion satisfies than it will not fire.

    2) Or When we create a record if criterion does not satisfies it will not fire and again if we update the same record if criterion satisfies it will fire.

  • Parul

    Member
    September 28, 2018 at 7:12 pm

    “created and every time it is edited”: 

    Evaluate the rule criteria each time a record is created or updated. If the rule criteria is met, run the rule. With this option, the rule repeatedly runs every time a record is edited as long as the record meets the rule criteria.

    “created and any time it is edited to subsequently meet criteria”:

    (Default) Evaluate the rule criteria each time a record is created or updated.

    For a new record, run the rule if the rule criteria is met.
    For an updated record, run the rule only if the record is changed from not meeting the rule criteria to meeting the rule criteria.
    With this option, the rule can run multiple times per record, but it won’t run when the record edits are unrelated to the rule criteria.

    For example, suppose that for an opportunity record to meet the rule criteria, the opportunity probability must be greater than 50%. If you create an opportunity with a probability of 75%, the workflow rule runs. If you edit that opportunity by changing the probability to 25%, the edit doesn't cause the rule to run. If you then edit that opportunity by changing the probability from 25% to 75%, the edit causes the rule to run. With this last edit, the rule runs, because the record is changed from not meeting the rule criteria to meeting the rule criteria.

    “When a record is created, or when a record is edited and did not previously meet the rule criteria” means that once it meets the criteria, it won’t fire again the next time the record is edited and saved.

    “Every time a record is created or edited” means that even if it already fired once the last time the record was edited, it will fire again if it still meets the criteria.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos