web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow with Id <> does not exist Error

(0) ShareShare
ReportReport
Posted on by 80

We recently encountered an issue with our automated deployment process which left three workflows(real time workflows) in database but not visible from UI. This meant that they were now duplicate instances of the existing workflows and therefore got triggered twice. Since we are on-premise(2013) and faced with no other option I attempted to delete these from the WorkflowBase, WorkflowDependencyBase and WorkflowBaseIds Tables but this has not removed all references completely as I now get the error 'Workflow with Id <> does not exist' on the trigger that was supposed to fire the workflow. Does anybody know which tables hold this information on workflow triggers and where else(Tables) I need to remove them from.

I am already aware that this was unsupported SQL Operation so please only suggest possible solutions in case you are aware.

Thanks in Advance.

*This post is locked for comments

I have the same question (0)
  • David Jennaway Profile Picture
    14,065 on at
    RE: Workflow with Id <> does not exist Error

    When do you get the error, and can you enable tracing ? This should help determine if the issue is somewhere in the data that contains the workflow definition, or any running instance of the workflow. If it's the latter, then the tables you need to check are AsyncOperationBase, WorkflowLogBase and WorkflowWaitSubscriptionBase

  • VBDynamics Profile Picture
    80 on at
    RE: Workflow with Id <> does not exist Error

    There is a field update that triggers the original workflow and that is where I now get the error. Doing this I do not get any new records in AsyncOperationBase, WorkflowLogBase and WorkflowWaitSubscriptionBase tables. Also querying on objectId did not yield any results. I did enable tracing and I could see that there was a query being made to WorkflowBase where Id=<> but I am yet to identify the step where it gets the Id in the first place to query that. This is the reason I wanted to find out if there was a table that stored the field triggers in the first place. Please note this was a real time workflow.

  • Verified answer
    VBDynamics Profile Picture
    80 on at
    RE: Workflow with Id <> does not exist Error

    Hopefully I have managed to resolve this one now ! For the benefit of other such unfortunate souls who face this in future, the triggers for the Sync Workflows are stored at the 'Sdk Message Processing Steps' entity which can also be queried via Advanced Find and records deleted from there .The filter on Event Handler Type should provide the correct records and you can locate the right record Id from there .

  • Johan Andersson - Endeavor AB Profile Picture
    405 on at
    RE: Workflow with Id <> does not exist Error

    Got the same error when trying to export a solution. Found out after some research that a Case Creation Rule was causing the error.

    When Case Creation Rule record was inactive it referred a process (workflow) that did not exist. The solution to the problem was to enable the Rule and a new ID was created and solution could be exported.

    Using CRM 2016, 8.1.1.1005

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans