5

I am trying to update a Workflow Rule which has Time-Dependent Workflow Actions through change set, but I am blocked by the below error.

This workflow rule currently has pending actions in the workflow queue. To delete, please remove those pending actions.

However, when I look in the queue to try to "remove those pending actions" there are none.

Empty Time-Based Workflow Queue

What steps can I take to fix this situation?

5
  • what I remember from my past experience is that you need to specify exact name of workflow in above search.
    – Himanshu
    Dec 18, 2015 at 19:12
  • I have tried that and many other search strategies, they all turn up nothing. The included screenshot was just the simplest to post.
    – Adrian Larson
    Dec 18, 2015 at 19:17
  • i am able to see pending items in my org with above criteria. do you verify that you have verified in target org.
    – Himanshu
    Dec 18, 2015 at 19:39
  • @Himanshu Yes I am certain I have verified in the target org and there are no results.
    – Adrian Larson
    Dec 18, 2015 at 19:56
  • 2
    I recall I had to deactivate the workflow in the target org and deploy via the changeset a deactivated workflow. Once deployment was done, I reactivated.
    – cropredy
    Dec 19, 2015 at 4:56

1 Answer 1

1

We decided to manually edit the Workflow Rule instead of updating it via Change Set.

3
  • We have a deployment process and the manual changes will be overridden if the metadata is not in the repository. But when I check in the metadata and try to deploy the metadata, it is throwing error like "This workflow rule currently has pending actions in the workflow queue. To delete, please remove those pending actions.". Any ideas?
    – Krishna
    Aug 1, 2019 at 18:50
  • Has anyone found the solution for this issue yet? May 18, 2021 at 3:03
  • I deleted all records have processed by this Workflow Role, and this issue was fixed Mar 30, 2022 at 3:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .