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

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Need to Create Multiple Child Cases from one Case Dependent on a simple field.

(0) ShareShare
ReportReport
Posted on by 9

I need to create child cases and assign them to different teams based on Yes/No fields I have created on the case form. For example if a patient calls in and says they need assistance with their laboratory work, a new physical therapist and see their primary care physician I need to create 3 child cases from the parent case. There is one lookup ahead of these fields as well that allows an agent to pick the region the customer is in. For example Baltimore or Virginia. 

The way I constructed my workflow is simple, this is a demo however its not working. Basically I created one workflow that has conditions and at each condition creates a new child case. It seems that once the 2nd cases created from the parent the 3rd is attempting to be built against the 2nd rather than the parent causing an error. Here are some screen shots.

Here is the workflow for the 1st case, the Parent. 

 Step-2.5.png

Here are all the processes, my single workflow created two processes at the same time stamp of 3:24 pm???

1641.Step-3.png

This is the process from the first round to create the 2nd Case

7026.Step-2.png

Another process seems to be created separate from the 2nd case for the 3rd Case however it fails with an error message. 

1641.Step-3.png

*This post is locked for comments

I have the same question (0)
  • Verified answer
    ashlega Profile Picture
    34,477 on at

    Hi Again!

      they are all cases, so you workflow starts for all of them. Add a condition at the very top of your workflow to verify if your "current" case does not have any data in the "parent case" field. If there is some data, just stop the workflow 

  • Weldarb Profile Picture
    9 on at

    I tried it and it still not working, but its not failing now. I created a new Branch as you suggested as you can see below, it still runs two times for one "On Demand" Request but the second one has a green check box at "IF the Parent Case does not contain data then:" The first Case is created for Primary Care, but no Case is created for for Rehabilitation. Any other ideas?

    IF the Parent Case does not contain data then:

        IF Service line equals [Baltimore] then:

            IF Primary Care equals [Yes], then:

                Create Case

            Otherwise, if Case: Rehabilitation equals [Yes]

                Create Case

    Stop Workflow with a status of succeeded

  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    What about that if.. otherwise? It seems you just need to make it a new condition step instead.. Right now it's, basically, one or another but not both.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ZS-27011425-0 Profile Picture

ZS-27011425-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans