Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

CRM 365 workflow got failed

Posted on by

Hello All Experts,

I have a workflow which call custom workflow activity .

after field change it gets run , the custom wokflow activity works fine and after all it comes down to update the field with some value which got failed.

I want to fill those field values manually  without rerunning the workflow , so can anyone help me in resolving this.

can anyone help me in this .

*This post is locked for comments

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: CRM 365 workflow got failed

    Hello Alex,

    My workflow is on demand also , i was checking with some record in test environment and rerun the workflow it worked fine.

    my query is why sometimes crm throws an error in running this workflow.

    index out of range error .  may be sometime different.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: CRM 365 workflow got failed

    That's normal.. some kind of edge condition.. sure you can try updating that one record manually, but I'd still check if there are any other plugins/workflows starting on update..

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: CRM 365 workflow got failed

    Everything was working fine till now, this has come with one record only.

    Only fields not got updated ,

    Shall I manually change those fields.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: CRM 365 workflow got failed

    Or, one more alternative, there is a synchronous plugin or a realtime workflow registered on the update.. it kicks of in that update step, and something fails there.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: CRM 365 workflow got failed

    Quite frankly, I think it's an error coming from the custom workflow activity. Have never seen index out of range error in the update step, but it happens all the time in the custom code. Is it your custom workflow activity? Do you have try catch in your code? If not, try adding it and see what happens

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: CRM 365 workflow got failed

    Index out of range error is being displayed in details section.

    Custom workflow code worked fine.

    Update step in workflow didn't work.

    Any idea why this is so.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: CRM 365 workflow got failed

    Hi,

     what exactly is happening? Do you have any screenshots/error messages?

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans