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 CRM (Archived)

Business Process Flow, not displaying all the Stages

(0) ShareShare
ReportReport
Posted on by 108

Hello Everybody,

I am maintaining CRM 2015 on-premise project. 

I have a existing BPF, with 5 stages.

My question is, when i am on stage 3 or 4 or 5, i don't see the stages, before them which are 2 or 3 or 4?

Is this normal behavior, i haven't found any c# or javascript, that is hiding the stages.

I tried to see all stages using javascript with below command

var activeProcess = Xrm.Page.data.process.getActiveProcess()

var stageCollection = activeProcess.getStages();

 stageCollection.forEach(function (stage, n) {

console.log(stage.Id)

console.log(stage.getName())

console.log(stage.getStatus())

}

I get all the stages in the above code.

The last stage(eg: 5) has status Active, others(1,2,3,4) have Inactive.

I see stage 1 and 5 only.

I don't see any function for visible or display, etc.

How can i display all the previous stages ( Eg: 2,3,4)?

Thanks,

Madhu

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Madhu Menon Profile Picture
    108 on at

    Hi Everybody,

    Finally i found the answer after quite searching in my code and blogs here.

    I had Plugin in my source code, which was modifying the "traversedpath" value of the entity.

    Since, the "traversedpath" was taking everytime, the stageid of 'ActiveStage', i was not able to see the previous stages.

    Once, i modified the value of "traversedpath" with previous stages, i was able to see all the previous stages.

    I hope this helps someone.

    Regards,

    Madhu

  • KarthikKota Profile Picture
    on at

    I had to add the Business Process Flow to the app at the app's edit page in classic view.

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans