web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Microsoft flow -power automate - purchase order approval flow template not working

(0) ShareShare
ReportReport
Posted on by 287

I tried to test purchase order workflow approval tempalte in power automate. But I got this error. It sents email to the approver, but once approved it does not update the P.O to released status and does not send the approved email.

pastedimage1654478217535v1.png

Error - ErrorCode: Application_DialogException The workflow step instance id {00000000-0000-0000-0000-000000000000} was not found. CorrelationId: 4e7435d2-d330-4e21-aba1-66300a617c6b.
clientRequestId: d1fafe63-1a41-4183-a91a-9471f3685724.

Any idea about this? I tried by creating new purchase orders, still the same issue. I tried it even normal way (without going to test mode in power automate, just created a purchase order and sent it to approval in Business Central)


I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,794 Moderator on at

    Hi Nirmala Karunarathna ,

    I think during the approval process there is a Dialog or Message box is display where the Powerapps is not able to handle that, can you please confirm in the whole process if there is any Dialog or Message window is coming up.

    Also please check the below link.

    powerusers.microsoft.com/.../823466

    Thanks.

  • Suggested answer
    S.Kawamura Profile Picture
    1,532 on at

    HI,

    The "Workflow Step Instance ID" should have been gotten in the first step. Does this first step get "Workflow Step Instance ID" right?
    pastedimage1654481508022v1.png

    And "Workflow Step Instance ID" will be used in "Execute Action".
    pastedimage1654481609785v2.png

    By default, "Workflow Step ID" is set in the template. Make sure it is also set up correctly in your workflow.
    pastedimage1654481848270v3.png

    As other basic checkpoints, I would suggest checking that Environment and Company are the same value in all steps. The API category should be "workflowEndpoints".
    pastedimage1654482300631v4.png

    I just post a blog article trying to create purchase order workflow with template.
    D365BC用のクラウドフローテンプレートを試す | IT長のネタ帳 (d3654.be) ...sorry only Japanese, so please read it with translation tool.
    D365BC用のクラウドフローテンプレートを試す | IT長のネタ帳 (www-d3654-be.translate.goog)

    I hope this helps you.

    S.Kawamura

  • Nirmala Karunarathna Profile Picture
    287 on at

    Hi Nitin,

    No dialog box is coming in power automate side and in BC side.

  • Nirmala Karunarathna Profile Picture
    287 on at

    Workflow step ID is not visible in first step and also in conditions (Yes, no blocks).

    pastedimage1654566049257v1.png

    pastedimage1654566097717v2.png

  • Suggested answer
    JAngle Profile Picture
    152 on at

    The workflow step instance will only show up in the dynamic content from the initial trigger. “Raw inputs” should not display. Delete the action and add it in again. I put it after the check on the email address. Which is the condition shown in your last screen grab.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans