Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Businsess Process Flow not being shown for automatically generated case

(0) ShareShare
ReportReport
Posted on by 95

Hi

Can someone please help. I have created a Business Process flow for case entity. It is appearing when i am creating the case .

pastedimage1663636661108v1.png

But when the cases are being created from incoming emails. It is not being shown .

What could be the problem?

P.S I have created a Auto creation rule to create case for incoming emails on support mailbox.

Please help me out.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Businsess Process Flow not being shown for automatically generated case

    Hi Aisha1985,

    First, open your app in the Power Apps, then you can get [Organization URL] at the URL:

    pastedimage1665020100453v2.png

    Then new a tab in your browser and send the request is ok:

    pastedimage1665020143580v3.png

  • Aisha1985 Profile Picture
    95 on at
    RE: Businsess Process Flow not being shown for automatically generated case

    Hi

    can please explain this step

    :processstageid and traversedpath you need send request from Web API like [Organization URL]/api/data/v9.1/processstages?$filter=_processid_value%20eq%20[process id] and then find it here:"

    actually i dont know how to send rquest from WEB API??

  • Aisha1985 Profile Picture
    95 on at
    RE: Businsess Process Flow not being shown for automatically generated case

    In case someone if following this thread, the following links can be helpful

    powerautomate.microsoft.com/.../

  • Community Member Profile Picture
    on at
    RE: Businsess Process Flow not being shown for automatically generated case

    Hi Aisha1985,

    You are welcome. You could try this solution. And if you are stuck somewhere, feel free to ask.

  • Suggested answer
    Aisha1985 Profile Picture
    95 on at
    RE: Businsess Process Flow not being shown for automatically generated case

    Thanks so much for your detailed response. That is such a helpful post. As i am new to Dynamics CRM so it's really helpful to know these technicalities.

    Thanks again !!!!

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Businsess Process Flow not being shown for automatically generated case

    Hi Aisha1985,

    When a record is created in the Unified Client application we submit two requests, one to save the record and another to create an instance of the BPF process entity/table associated with the default BPF that persists the state of the BPF for the current record. When a record is not created using Unified Client application such as through automatic mechanisms, there is no instance of the BPF process entity/table for that record and as a result when the record is opened in the Unified Client application, since there is no BPF instance, the user needs to use Process->Switch Process and select the process. 

    So when the customer auto creates a case record, they will also need to create the instance of the correct BPF process entity/table with the required fields and then when the case is opened in the Unified Client application, the correct flow will be automatically displayed to the user.

    My test:

    1. I create a BPF named TMS Ticketing System as yours, and click the rule's MS flow.

    pastedimage1663730313117v2.png

    2. Add a new action to create a record to TMS Ticketing System entity and set it like this:

    pastedimage1663730392484v3.png

    Code view:

    pastedimage1663730461620v4.png

    Note: 

    process id you could get it from the BPF designer URL:

    pastedimage1663730554465v5.png

    processstageid and traversedpath you need send request from Web API like [Organization URL]/api/data/v9.1/processstages?$filter=_processid_value%20eq%20[process id] and then find it here:

    pastedimage1663730773191v6.png

    Result:

    pastedimage1663730837319v7.png

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans