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 :
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.

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    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

  • Suggested answer
    Aisha1985 Profile Picture
    95 on at

    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 !!!!

  • Community Member Profile Picture
    on at

    Hi Aisha1985,

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

  • Aisha1985 Profile Picture
    95 on at

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

    powerautomate.microsoft.com/.../

  • Aisha1985 Profile Picture
    95 on at

    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??

  • Suggested answer
    Community Member Profile Picture
    on at

    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

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans