Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Business Process Flow error

Posted on by Microsoft Employee

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
    Community Member Microsoft Employee 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
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans