Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Add new approvers recently added to a role to an existing workflow instance

Posted on by 5

Hello all,

I have a list of pending workflow instances for a specific journal type, around 300+. They are stuck to a step that is supposed to be processed by an approver that was assigned a role. Now to help fasten the approval process, I added new approvers to that role; and want to add work items to these new approvers for the existing instances. I don't want to use the delegate/reassign function, as I want to add new approvers.

Could anyone here point me to the right direction on how to do this? Preferably by X++ code.

  • RE: Add new approvers recently added to a role to an existing workflow instance

    Thanks Ramit for the reply. Regarding your questions,

    Why not recalling the workflow and submit once again?

    We have sent e-mails that contain the link to the workflow instance. Recalling the instance will break the e-mail link to the 300+ pending instances (and more are coming).

    Also, for future instances, cant you change the approach for creating an user group and keeping modifying the same group? you dont need to any coding or opening the WF instance to change

    Isn't it the same situation as using roles, as the newly-added users to a group aren't added to the approvers in the instance? Or adding new users to the groups automatically adds the user as an approver to the instance?

  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul 22,300 Most Valuable Professional on at
    RE: Add new approvers recently added to a role to an existing workflow instance

    Hi,

    Why not recalling the workflow and submit once again?

    Also, for future instances, cant you change the approach for creating an user group and keeping modifying the same group? you dont need to any coding or opening the WF instance to change

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

Product updates

Dynamics 365 release plans