Skip to main content

Notifications

Announcements

No record found.

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:
  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Assign Business Process Flow to specific case Form

    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

  • CSD365 Profile Picture
    CSD365 125 on at
    RE: Assign Business Process Flow to specific case Form

    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
    RE: Assign Business Process Flow to specific case Form

    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
    CSD365 125 on at
    RE: Assign Business Process Flow to specific case Form

    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?

  • Mihir@CRM Profile Picture
    Mihir@CRM 4,036 on at
    RE: Assign Business Process Flow to specific case Form

    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.

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans