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 102

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

  • KarthikKota Profile Picture
    on at
    RE: Business Process Flow, not displaying all the Stages

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

  • Verified answer
    Madhu Menon Profile Picture
    102 on at
    RE: Business Process Flow, not displaying all the Stages

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans