Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Workflow is not running as a background process.

Posted on by Microsoft Employee

Hi Experts,

I am having strange issue in CRM, I have an async workflow running on opportunity entity. I have performed some logic inside it. But it is not triggering as a background process. But it is working as on demand, what could be the reason for it?

Please help.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow is not running as a background process.

    Thanks a lot Arpit. I will definitely try this. Seems like this could be the issue in my case too.

  • gdas Profile Picture
    gdas 50,085 on at
    RE: Workflow is not running as a background process.

    Hi ,

    I am not sure what you configured inside the workflow. Are you getting any error ?or its simply not running?

  • Verified answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: Workflow is not running as a background process.

    Hello,

    Recently, we also had this similar type of issue. The reason was, we were getting the entity from Workflow Context and trying to retrieve the field's values which were not presented in the context.

    For Example - I have a workflow, which was triggering on Case Status change, in this case, I can only get the value of status from workflow context not the other fields of case entity. So to cater that, I will have to write service.Retrieve query in order to retrieve the values of other fields.

    Now the question is, how it was working fine when I ran it On-Demand?

    The answer is, while running the workflow on-demand, it does not actually know on which trigger the workflow is register to, that's why by default you get all the fields presented on the form in Workflow Context.

    If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue.

    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans