Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Reason code routing”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A setup page that lists the Human resources workflows and where you create new ones, such as the Leave and absence request workflow that routes time off requests for approval.
What you do here
Use this page to create and configure the leave request workflow, and other Human resources approval workflows, so that requests are approved, rejected or auto-approved by the rules you set.
Example
For example, BEAT creates a Leave and absence request workflow that sends sick leave with reason code SURGERY to HR and all other requests to the manager, and auto-approves requests that HR submits for an employee.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
Setup steps on this page
Set up the leave request workflow
Decide who approves leave requests and which ones are approved automatically.
Steps from Microsoft
Go to Leave and absence > Setup > Human resource workflows.
Select New, and then select Leave and absence request.
When the Open this file? message appears, select Open and sign in.
In the workflow editor, add the approval steps and conditions, for example on Reason code, Leave type or Submitted by Human resources.
Save, activate the workflow, then select it as Workflow ID on each leave type.
Leave request fields a workflow condition can use: Amount, Leave type, Reason code, Status, Submitted by Human resources, Submitted by Manager, Worker and others.Microsoft Learn
Common errors and fixes
Message
What to do
Leave requests are approved without review.
No workflow is set on the leave type. Create and activate a Leave and absence request workflow and select it as Workflow ID on the type. Microsoft Learn
Absence managers don't get leave work items.
Associate the Leave hierarchy with the workflow and use Hierarchy assignment with a configurable hierarchy. Microsoft Learn
Test checklist
On Human resources workflows, select New and choose a workflow such as Identification numbers.
Add the approval element, set Assignment to Hierarchy, add a stop condition, then Save and close and Make active.
As an employee, change the identification number in Employee self service.
Check the change waits for approval and the work item goes to the manager from the employee's primary position.
One Leave and absence request workflow: manager approval by hierarchy, HR approval for selected leave types or reason codes, and automatic approval for requests submitted by Human resources or a manager on behalf of an employee.Learn shows these conditions with the workflow data elements Reason code, Leave type, Submitted by Human resources and Submitted by Manager.
On the live system, Human resource assistant and Human resource manager use this page.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Workflows are kept per company; each leave type points to its workflow with Workflow ID. Microsoft Learn
Can it be undone
Reversible: Workflows can be edited and a new version activated; requests already in review keep their version.
If you change it later
When a document is submitted for approval, routing depends on the submitter's primary position, so changes to positions and hierarchies affect who approves. Microsoft Learn
Technical architect
6Technical
Menu item
WorkflowConfigurationHcmChecked in Dynamics 365
Form
WorkflowTableListPageRnrChecked in Dynamics 365
Table
WorkflowTableShown as “WORKFLOW CONFIGURATIONS” in Record infoKey field: SequenceNumberChecked in Dynamics 365
Who can open it
2 security roles. Select a role to see its duties and privileges.
DutySet up position action workflowsHcmPositionActionWFProcessEnable
PrivilegeMaintain human resources workflowsWorkflowAuthorHumanResourcesWorkflows
DutySet up worker action workflowsHcmWorkerActionWFProcessEnable
PrivilegeMaintain human resources workflowsWorkflowAuthorHumanResourcesWorkflows
RoleHuman resource managerHcmHumanResourceManager
DutySet up position action workflowsHcmPositionActionWFProcessEnable
PrivilegeMaintain human resources workflowsWorkflowAuthorHumanResourcesWorkflows
DutySet up worker action workflowsHcmWorkerActionWFProcessEnable
PrivilegeMaintain human resources workflowsWorkflowAuthorHumanResourcesWorkflows
Checked in Dynamics 365
Roles to set it up and use it
To set it up or change itHuman resource assistant HcmHumanResourceAssistantHuman resource manager HcmHumanResourceManagerGive people one of these roles. On this system, 2 roles can open this page.Checked in Dynamics 365
Actions on the page
Workflow: Manage, HierarchyChecked in Dynamics 365
Load order: Human resource workflows has no data entity in Data management backed by its table (WorkflowTable). Create each workflow again in the workflow editor in the new environment, activate it and select it on the leave types.Microsoft data model