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 :
Finance | Project Operations, Human Resources, ...
Unanswered

How to correctly design Power Automate for line-level approval in PR workflow?

(1) ShareShare
ReportReport
Posted on by 662

Hello,
 

I’m currently implementing an approval integration for Purchase Requisitions using D365 F&O Business Events and Power Automate.

The PR header-level approval workflow is already automated successfully — once the PR header is approved by the initial approver(s), it correctly transitions into the line-level review stage.

Now I need more clarity on the correct handling of line-level approvals where different PR lines may be assigned to different approvers.

Specifically:

1) When the PR line review workflow is active, does D365 trigger business events:

  • once per PR
  • or
  • separately per PR line (one event per approver)?

2) For line-level approval identification, which value should be used to map the work item to the correct PR line?

  • ContextRecId
  • WorkflowWorkItemInstanceId
  • WorkflowUserEmail
  • something else?
3) When several lines have different approvers, should Power Automate:
  • loop through lines
  • or
  • rely on individual business event triggers?
4) Does Microsoft recommend handling PR line workflow in:
  • a separate flow
  • or
  • a unified flow that branches by WorkflowTemplateName?
 5) Is there any documentation / official example for integrating Power Automate with line-level approval workflows?

Environment: D365 F&O with Power Automate + Business Events.

 

Thanks for your guidance.

I have the same question (0)

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 725 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 596 Super User 2025 Season 2

#3
CU05031448-0 Profile Picture

CU05031448-0 468

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans