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)

Workflows in CRM

(0) ShareShare
ReportReport
Posted on by 350

Hello guys ,

I got a requirement which requires workflow to be scheduled based on time and date .This workflow should be run like sometime monthly,weekly,daily etc .So I have used these links to workout this requirement .

http://crmbusiness.wordpress.com/2011/05/24/crm-2011-how-to-schedule-recurring-workflows-in-crm-2011/

http://www.powerobjects.com/blog/2012/11/09/create-recursive-or-scheduled-workflows-in-crm/

But I wanted to know that when a child workflow is fired from main workflow does the child workflow use the same record on which main workflow was fired ?

Also does workflow have any timeout's like the plugin does since I have this workflow which should run monthly sometime even daily or weekly .Will there be any timeout's like workflow stops after 2 months etc.

Thanks for reading patiently .

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: Workflows in CRM

    Hi,

    You are on the right lines.

    1) A Child workflow can be run on the same record or any record directly related to the current record via a N:1 relationship.

    2) There are no timeouts for a workflow in a wait condition - they can be waiting indefinitely - but there is infinite look detection that will trap a workflow that recursively calls itself more than 8 times in any hour.

    See - social.technet.microsoft.com/.../12601.crm-2011-timeouts-and-limits.aspx

    Hope this helps,

    Scott

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Workflows in CRM

    workflow periodically

    1)create global settings [name 'WS'], mentioned next run, let us assume 5/15/2014, 1:00 pm

    2)create workflow, entity is global settings,

    if global setting:global setting equal [WS], then:

        Timeout until Global Setting:Next Run then

             Call the plugin or activities

             Update:Global Setting view properties =>  Next Run  {5 Mintues Before Next Run(Global Setting)}

    process is like

    workflow will check the global setting next run is reached the current time, it reach, workflow will call the plugin or activities and set the next time time +5 minutes

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