web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • 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

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

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 271

#2
Sohaib Cheema Profile Picture

Sohaib Cheema 97 User Group Leader

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 83 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans