• #39213
     Prachi #6
    Forcetalks

    What is the Difference between the below two in Salesforce?

    What is the difference between “created and every time it is edited”  and “created and any time it is edited to subsequently meet criteria”?

     

    #39219
    Forcetalks

    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.

    #39583
    Salesforce | Parul Parul #2
    Forcetalks

    “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

     

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?