1

in my org i have a picklist field field_picklist(values : A,B,C) & In the process builder i wanted to execute some action 30days after a date field.

Do you want to execute the actions only when specified changes are made to the record? = True Start Criteria : Created or Edited condition is : IF field_picklist = A or field_picklist = B

Now when i create a Record with field_picklist = A the Process start properly & action is queued. But if i change value of field_picklist to B; then scheduled action in removed from queued actions list.

I thought the queued action will stay as it is....as long as criteria (field_picklist = A or field_picklist = B) is True. is it bug or am i doing something wrong.

Thanks in advance.

  • 1
    That is expected functionality – Santanu Boral Jul 10 '18 at 18:05
  • So is it not true that...Queued action will stay queued as long as condition is True? And it will be removed from queue when that condition becomes false – Dnyaneshwar Jul 10 '18 at 18:06
3

Process builder will process the request as long as it satisfies the condition and as long as it is in the queue before firing that action.

When you change the condition for which the condition to put in the queue is dissatisfied then it will go out of the queue, that is expected functionality.

As a workaround you can create a separate text field and update that field based on picklist value, first time when picklist value is A and then don't update text field with any other values. Here based on text field value you could initiate process builder's schedule action. So, it will never goes out of the queue anymore.

  • but in this answer success.salesforce.com/answers?id=90630000000ZgQUAA0 point 2-Time-dependent actions remain in the workflow queue only as long as the workflow rule criteria are still valid. – Dnyaneshwar Jul 10 '18 at 21:13
  • Till today point 2 from that link was my understanding – Dnyaneshwar Jul 10 '18 at 21:14
  • Also the solution you are suggesting is:- set vale of another text field to lets say 'Fire' when field_picklist = A or field_picklist = B & set it to "No Fire" when field_picklist = C......correct? – Dnyaneshwar Jul 11 '18 at 6:25
  • bcoz if i don't update the Text field once it is set.....then for the condition field_picklist = C, how will process remove the queued action.? – Dnyaneshwar Jul 11 '18 at 6:57
  • My suggestion is, if you like to fire action always then do that based on separate text field values, since picklist value is getting changed and scheduled job will go out of queue. – Santanu Boral Jul 11 '18 at 7:31

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.