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

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

  • 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

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 > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 127

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 127

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 125 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans