1

I would like to know what happen when I have some Scheduled Action for version 1 of Process Builder A and I make some changes in the same Process Builder and activate version 2.

1

You cannot do changes to the same process - you must clone it and then activate it to then replace the current process. enter image description here

The other option is to Deactivate it and then create a new process, however, if you do this.

After you deactivate a process, the scheduled actions continue as usual. If a deactivated process has pending scheduled actions and the record whose field the schedule is based on is changed, Salesforce recalculates the schedule for those actions.

You should probably go through Considerations for Scheduling Process Actions and update your post with your specific use case along any inconsistent behavior or the part in the documentation you don't understand based on your use case.

  • Thanks for your answer. I know that you have clone it and activate the clone. And doing this, what happen with scheduled actions for previous version – murcix Jun 26 '17 at 15:35
  • A soon as you activate your version 2, the action defined for version 2 will take effect. While doing so, actions for version 1 will take precedence. – glls Jun 26 '17 at 15:42
  • So you mean that actions for version 1 and version 2 can take place at the same time in the queue? – murcix Jun 26 '17 at 15:48
  • noooo- i never said that – glls Jun 26 '17 at 16:10
  • Please view updated answer and update your question or post a new one to not mix up multiple questions in one post within comments. – glls Jun 26 '17 at 16:18
0

Process Builder executes only active version and ignore previous inactive versions. Though all the versions will be saved for historical tracking purposes.

Only one version can be active at a time.

If there are any actions performed by previous scheduled action and it is pending to be executed then still that will in the queue. When you activate new version, any changes to the record will take the latest version.

Refer Automate Business Process with Process Builder Trailhead

Consider the following when creating automated processes.

  • You can reorder criteria nodes—just drag and drop them. However, you can’t change the order of actions. After you add actions, the only way to reorder them is to delete them and start over.
  • If you create processes to replace any workflow rules, make sure you delete or deactivate those workflow rules when you activate the equivalent processes. Otherwise, both workflow rules and processes fire and cause unexpected results, such as overwritten records or redundant email messages.
  • You can add scheduled actions only if the process starts when a record is created, or if the process starts when a record is created or edited and you select Yes when asked “Do you want to execute the actions only when specified changes are made to the record?”
  • A process can have up to 50 versions, but only one version of a process can be active.
  • Thanks Santanu. I know that Process Builder executes only active version. In my question I would like to mean that what happens with Scheduled actions assuming that I create a new version and activate it. – murcix Jun 26 '17 at 15:34
  • if there are any actions performed by previous scheduled action and it is pending to be executed then still that will in the queue. When you activate new version, any changes to the record will take the latest version – Santanu Boral Jun 26 '17 at 15:36
  • Thanks Santanu. I'm not sure that it is the behaviour. What happen if the new version of Process Builder stablish another new Scheduled Action. Could you tell me in which part of Salesforce documentation have you found that? I couldn't find anything. – murcix Jun 26 '17 at 15:43
  • I have updated ans including this link trailhead.salesforce.com/en/modules/business_process_automation/… – Santanu Boral Jun 26 '17 at 15:51
  • Thanks Santany but there is general documentation about Process Builder that I knew before – murcix Jun 26 '17 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.