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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

This workflow job was canceled because the workflow that started it included an infinite loop. Correct the workflow logic and try again

(0) ShareShare
ReportReport
Posted on by 1,562

Hello Team,

I have create a workflow activity,its work on test server fine.

But when i tried to deal it with live server its shown me error:

This workflow job was canceled because the workflow that started it included an infinite loop. Correct the workflow logic and try again

Please suggest me how i can reslove the issue.I dont have code of the cutome activity.

 

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sayhaitokumar Profile Picture
    7,042 on at

    Hi Ragul,

    What's your logic? what you are trying to do?

  • purwar purwar Profile Picture
    2,836 on at

    What is configured wait time?

  • Tin Profile Picture
    1,562 on at

    Hello priyadarshni,

    wait time is 5 min.

  • Tin Profile Picture
    1,562 on at

    hi Saravanakumar,

    I am trying to send mail only.

  • Aileen Gusni Profile Picture
    44,524 on at

    Seems you have recursive process here.

    Do you have plugin also?

    You can limit the context.depth also

  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at

    Rahul !

    The default detection works even if the workflow calls child workflows and number of these calls exceed 7 within 1 hour.

    So you can set wait time accordingly.

  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at

    If 5 min is your business requirement , You can change depth size from DB.

    Note: It is non recommended solution by Microsoft

    You can change the Depth of execution using this sql:

    update DeploymentProperties set IntColumn = X where ColumnName = 'MessageProcessorMaximumDepth'

    And 'MessageProcessorMinimumInactiveSeconds' for the time limit.

    check more about this:

    sliong.wordpress.com/.../crm-2011-executioncontext-depth-and-time-limit-and-scheduled-task

  • Tin Profile Picture
    1,562 on at

    hi Priyadarshi Purwar,

    Thanks for reply.As i understand,now what is the issue.

    I used 5 min for the testing the plugin which is called by workflow.

    Real time requirement is 1Hrs.

    And i am working on 2013 on-premises.Please suggest me step by step solution as soon.

    That plugin,when i call it by workflow on Test environment its working But once when i replicate same thing on server its not working.

    Even i don't have code of this plugin.Please suggest me the way.

  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at

    Let me know how you import to prodution server ? may be problem with import.

    You  should create solution , amd import that solution to production and publish it.

    If no success Pls share error deatils.

  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at

    Let me know how you import solution to production server ? May be problem with solution  import. You should create solution , and import that solution to production and publish it.

    If still error persist , share error log.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans