Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Hide BPF stage conditionally using Javascript

(0) ShareShare
ReportReport
Posted on by 467

Hi All,

I would like to hide/show a stage in BPF using Javascript conditionally in D365 Online

Is it possible, if yes how, any code emamples plese

Regards,

Babu

  • Suggested answer
    KalpanaNadar Profile Picture
    45 on at
    RE: Hide BPF stage conditionally using Javascript

    Hi,

    You can refer to the below link to move bpf stages accordingly.

    www.crmcrate.com/.../

    https://www.c-sharpcorner.com/article/move-to-next-stage-using-javascript-in-bpf/

    Please mark my answer verified if this is helpful!

    Thanks & Regards,

    Kalpana

  • Suggested answer
    Eiken Profile Picture
    on at
    RE: Hide BPF stage conditionally using Javascript

    Hi, Narendra

    I am afraid that it is nor available for using Javascript.

    You can use Conditional branching.

    pastedimage1677230586854v1.png

    Please refer to the following link.

    How to hide specific Stage in business process flow for any condition in dynamics crm online using javascrip - Microsoft Dynamics CRM Forum Community Forum

  • Suggested answer
    NODAL Profile Picture
    860 on at
    RE: Hide BPF stage conditionally using Javascript

    Hi,

    You can use one of the following approaches.

    1. Standard approach

    If you wish to show hide stages based on values in columns of same table, then you can configure condition stage in between stages to change the path.

    2. Complex approach.

    If you wish to show hide stages based on complex logic like values in columns of related tables, external api calls etc then you will need to create a new field and configure that filed in condition stage in between stages and update value in that field based on your logic.

    Cheers,

    Ketan

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May 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 >

Product updates

Dynamics 365 release plans