Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

Replace Dialog with Business Process Flow

  • 1.  Replace Dialog with Business Process Flow

    GOLD CONTRIBUTOR
    Posted Nov 30, 2020 10:01 AM
    Hi all,

    We have a dialog which consist to cancel a case. The button to trigger this cancel action is on the Ribbon Workbench. When a user clicks on that button, it call a JavaScript which calls the dialog to complete the cancel action.
    Because dialogs are deprecated, we need to replace dialogs with ether Business Process Flow or Canvas Apps. Canvas Apps only work on Unified Interface.
    We decide first to replace this cancel dialog with Business Process Flow. How to do that to have the same behavior we had with dialog and Javascript. The documentation which give instructions is not deep. What to put as Data Field? We read instructions of this page: Replace dialogs with business process flows or canvas apps - Power Automate
    Any help, any documentation will be appreciated.

    Best regards,


    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------
    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


  • 2.  RE: Replace Dialog with Business Process Flow

    Posted Dec 01, 2020 09:52 AM
    Hello Arsene,

    Are you On-Premises or Online? I ask because if you are Online you have a more urgent matter in that Friday all environments are being pushed to Unified Interface.

    To address your question without knowing a ton of detail, you could create a business process flow with each stage being the same as a page in your dialog. In your final stage you could trigger javascript off a field in the stage to complete the process.

    For creating business process flows there is a link in that document that will give more information on how to build them out. Create a Business Process Flow

    Scott

    ------------------------------
    Scott Florance
    Business Applications Consultant
    KTL Solutions, Inc, Frederick MD
    ------------------------------

    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


  • 3.  RE: Replace Dialog with Business Process Flow

    GOLD CONTRIBUTOR
    Posted Dec 01, 2020 10:28 AM
    Hello Scott,

    Many thanks for your reply. We are On-Premises.
    We will try your idea to see.

    Best regards,


    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------

    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


  • 4.  RE: Replace Dialog with Business Process Flow

    GOLD CONTRIBUTOR
    Posted Dec 01, 2020 10:45 AM
    I forgot to tell you that we already have a business process flow on case form. How to deal with tow business process flows on the same form?

    Thanks,

    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------

    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


  • 5.  RE: Replace Dialog with Business Process Flow

    Posted Dec 01, 2020 11:19 AM
    Hello Arsene,

    You could create the second BPF and have the users change to the Cancel Case BPF with the Switch Process button in the ribbon.

    Scott

    ------------------------------
    Scott Florance
    Business Applications Consultant
    KTL Solutions, Inc, Frederick MD
    ------------------------------

    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


  • 6.  RE: Replace Dialog with Business Process Flow

    GOLD CONTRIBUTOR
    Posted Dec 01, 2020 11:44 AM
    Hello Scott,

    Many thanks.

    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------

    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


  • 7.  RE: Replace Dialog with Business Process Flow

    GOLD CONTRIBUTOR
    Posted Dec 18, 2020 10:22 AM

    Hello Scott,

    One more question. If I have query in my dialog, how to create this query in my business process flow? In dialog, each page depend of conditional result of this query.

    In BPF, I can add workflow. But I don't find any way to add a query in that workflow.

    Any help will be appreciate.

    Regards,



    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------

    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


  • 8.  RE: Replace Dialog with Business Process Flow

    Posted Dec 21, 2020 08:34 AM

    Hello Arsene,

    With the OOB BPF you can have conditional branches based on the value of a field in a previous step. I am not sure exactly what you are querying but if it can be captured in a field then you can use it to trigger your branch.

    Scott



    ------------------------------
    Scott Florance
    Business Applications Consultant
    KTL Solutions, Inc, Frederick MD
    ------------------------------

    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


If you've found this thread useful, dive deeper into User Group community content by role