Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Business Process Flow error

(0) ShareShare
ReportReport
Posted on by

We have a business process flow for Opportunity with 6 stages, however, while moving from stages, in the second stage itself I get the error "Last stage in the active path reached. Next stage does not exist."

Note that: This issue occurs only sometime and vanishes after page refresh.

Upon investigation, I found that the error is been thrown from the inbuilt page "editformpage.js" and in the function "moveToNextStage()"

can anything be done to fix this?

moveToNextStage() {
                const e = this.getTelemetryParams()
                  , t = new Promise((e,t)=>{
                    if (Object(Te.a)(this._currentBpfInstance))
                        return t(new u.a("Process Control does not exist on form.",2147877746));
                    const i = this._stageMetadata.getNextStageId(this.getActiveStageId());
                    if (i) {
                        const t = 0;
                        e(this._saveMainFormIfImmersiveBpfAndNewRecord().then(()=>this._saveFormDataAndActiveStage(h.a.tryParseOrNull(i), t, We)))
                    } else
                        t(new Q("Last stage in the active path reached. Next stage does not exist."))
                }
                );
                return t.then(()=>{
                    Object(Ae.c)(He.h, e, this._applicationContext)
                }
                , t=>{
                    this._shouldReportErrorAsSuccess(t) ? Object(Ae.c)(He.h, e, this._applicationContext) : Object(Ae.b)(He.h, t, null, e, this._applicationContext, this.getCurrentFormEntity(), this._getState())
                }
                ),
                t
            }

Error-small.png

  • Community Member Profile Picture
    on at
    RE: Business Process Flow error

    Hi Modesto Iacopino,

    Thanks for your reply,

    This behavior is observed in all the browsers.

    Also, if you refresh the page or if you navigate to some other stage and come back, it resumes the normal flow.

    Regards,

    Rupesh

  • Suggested answer
    Modesto Iacopino Profile Picture
    on at
    RE: Business Process Flow error

    Hello Rupesh,

    do you have the same behavior with all browser?

    Also can you check if all fields that are in the second stage are also in the form?

    Regards

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,886 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,768 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans