[SalesForce] Process builder scheduled action is removed from queue even when condition is true

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.

Best Answer

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.

Related Topic