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

Notifications

Announcements

No record found.

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

    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

    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

    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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Pallavi Phade Profile Picture

Pallavi Phade 32

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans