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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Purchase Requisition w...
Finance forum

Purchase Requisition workflow based on Departments

(0) ShareShare
ReportReport
Posted on by

Hi,

In this Purchase requisition approval workflow scenario, we have set one of the Financial Dimensions as Department. Each department has a manager set. Is there a way to simplify the PR Approval workflow by using the Department hierarchy so we don't have to put in 15 conditional decision steps, under which we can have the system look at the user's default dimension and route the PR to the right approver?

Thanks!

I have the same question (0)
  • yakado Profile Picture
    on at

    Sorry, I realized that I didn't give enough info. SO, we are trying to route a PR to departments managers for approval. So we have set the departments as follows: IT, Admin, Facilities, Accounting etc. Each department has been set with a manager. Now, on the Financial Dimensions side, we've made department as one of the financial dimensions and these have been set at the employee record.

    So when a user submits a PR for approval, it looks at the requester default department dimension and based on that value, will route the PR to the department approver. A way to do this is to use conditional decision and say "if PurchaseRequisitionLines. DefaultDimensionDepartment = IT" or  "if PurchaseRequisitionLines. DefaultDimensionDepartment = Admin" etc. then assign to approver group IT, Admin etc.

    My question is, instead of doing this, is there a way to take advantage of the Department hierarchy or something similar to have the workfklow look at the employee position department and based on that, assign to the User assigned as Manager of that department.

    thanks!

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Yakado,

    It sounds like the person who needs to approve is a manager in line of the employee? In that case, you can use the managerial hierarchy for assignment.

    If this is not exactly what you need, you can consider a customization where you can create a new participant provider class. Using x++ logic, you can then use the department hierarchy.

  • MATTGUO Profile Picture
    22,349 Moderator on at

    Hi Yakado,

    And also can use configurable Hierarchy to control the workflow routing, please refer to this blog: community.dynamics.com/.../configurable-hierarchy-on-workflows-in-dynamics-365-for-operations

  • yakado Profile Picture
    on at

    Hi Andre,

    Thanks for the response but in our scenario, the approver is not necessarily and consistently the manager in line of the employee. Thanks for suggesting the new participant provider class. I will look into that.

  • yakado Profile Picture
    on at

    Thanks Mattguo. I looked into that earlier and dropped the idea but seems to be promising and not so bad after all, so I'll give it another shot. Thanks again!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans