Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

In workflow, on resubmit the workitem should route back to original approver who returned .

(0) ShareShare
ReportReport
Posted on by

Hi,

In PO workflow, we have requirement - on resubmit, workitem should route back to the original approver who returned the workflow. For example: A,B,C are the approver. If approver C returned the workItem to approver  A and when approver A resubmit it, the workItem should directly go to approver C(skipping mediator B).

Any help would be much appreciated.

Thanks.

*This post is locked for comments

  • RE: In workflow, on resubmit the workitem should route back to original approver who returned .

    Thanks for your reply Mr. Augustine. The main challenge is coming in skipping the mediator approvers.

    Right now I am writing the below code in class PurchTableWorkflow>resubmit() to approve the mediator approvers automatically when approver A resubmit, but the challenge is still here. How can I know the user list in the mediator approvers(user list will be vary depends on the person who returned & to whom)?

    WorkflowWorkItemActionManager::dispatchWorkItemAction( workItem,

                                                                               "Comment",

                                                                               curUserId(), //user id to approve

                                                                               WorkflowWorkItemActionType::Complete,

                                                                               menuitemActionStr(PurchTableApprovalApprove),

                                                                               false);

    Thank you.

  • RE: In workflow, on resubmit the workitem should route back to original approver who returned .

    .

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…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans