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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer Service forum

Assign Business Process Flow to specific case Form

(0) ShareShare
ReportReport
Posted on by 125

Hi,

Do have someone an idea how to assign Business Process Flow directly to the specific case Form?

Categories:
I have the same question (0)
  • MihirShah Profile Picture
    4,038 on at

    Hi,

    If you have only 1 business process flow (BPF) for the Case entity that gets assigned / shown to the user when the user opens Case form. The user security role will need access to the BPF.

    If you have multiple BPF for the Case entity, the user can change the BPF by selecting the process button (assuming the user security role has access to multiple BPF for the Case entity)

    Hope this helps.

  • CSD365 Profile Picture
    125 on at

    I was thinking about some automation process to do it - if we choose form "1" it switch to process "flow1". If user choose form "2", it switch to process "flow2". Do you have any idea how to solve it?

  • Suggested answer
    Joseph Magdy Youssef Profile Picture
    10 on at

    We had an implementation where we wanted to have something like this, and what we did was making a configuration entity, that holds the formid, and the business process id and the case type, and we had 1 router empty form, only to choose the case type, and once saved, via code, we set the right business process and open the right form, by reading from the configuration entity.

    Also make sure to put the form router code in the OnLoad event of all forms, to make sure that the case opens each time with the right form.

  • CSD365 Profile Picture
    125 on at

    It wasn't my question.

    I was asking about some automation, for example javascript code which will activate on load or on value change and it will switch in the background automatically Business Process Flow.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi CSD,

    You can achieve this using SetActiveProcess Method via JScript.

    Please refer to the below article

    msdn.microsoft.com/.../dn817878(v=crm.8).aspx

    You need to register the js on form load for the respective forms to switch the process

    Suggestion:- You might also want to take a look at Enable security roles option on BPFs and Forms

    Hope this helps

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans