Skip to main content
Hi.. Everything that I have found on this topic has been dated.  I have two field updates and I need one to fire before the other.  I strated by trying to build a formula field butthe formula ended up too big so I moved on to workflow field updates.

I know there is the checkbox to re-evaluate the rules if a specific field update changes the field but I wnat to be sure that will work.  My seond field update uses the field in the first field update so I really need them to be ordered properly.

Thank you!!!

Fred
2 件の回答
  1. 2016年11月30日 2:41
    Hi Fred,

    I'm not sure why it would be important for fields to be updated in a specific order- they all get updated in the Sandbox in one single transaction.

    I assume that you may have some field value dependant on another and you want to rely on that...

    I would recommend trying to find a way around it

    for example

    - assuming you need to set field b to equal a+1

    - but you want to set a first to equal 5

    - Why can't you just set be to be 5+1 right away?

    Of course, I'm not sure what your specific scenario is.

    If you cannot get around the need to set them up in a specific order, you can set two workflows, with the 'second' one having the criteria that the field updated in the first workflow has changed.

    Then you must ensure to set the 'Re-evaluate workflow' check so that after the first workflow is completed, it will re-evaluate the need for re-running the second flow (you can't predict the order in which two flows will fire).

    Play with this and test it well before you deploy to your users.... 

    If you want to share more details about what you are actually trying to accomplish it may be easier to identify a solution.

    Finally - have you considered using process builder? You can accomplish a lot more with it than with workflows...

    Good luck!