Route Approval for a Salary Change According to Country and Amount
You control salary approvals with the ChangeSalaryApprovalTask workflow.
Here's an idea of how you can configure the default workflow to route the approval depending on the country and amount. In this example, the country is the US. If the amount is more than 10,000, the approval routes to X and Y and then the area of responsibility. If the amount is less than 10,000, it routes to only the area of responsibility.
Scenario
Edit approval workflows using the Manage Task Configurations for Human Capital Management task in the Setup and Maintenance work area. Complete these steps on the Assignees tab.
-
Create the rule where the country is US and the amount is more than 10,000.
-
Create this IF expression:
Task.payload.Requestor's Assignment.result.legislationCode.toUpperCase() is "US" andSalaryApproval.newChangeAmount.doubleValue() more than 10000
-
Complete the THEN fields for users X, as shown here.
THEN Field Value List Builder Resource
Response Type Required
This response type makes the notification actionable, instead of just informational.
Users X
Groups null
Application Role null
Rule Name
USover1000usersX
-
Complete the THEN fields for users Y, as shown here.
THEN Field Value List Builder
Resource Response Type
Required
This response type makes the notification actionable, instead of just informational.
Users
Y Groups
null Application Role
null Rule Name
USover1000usersY
-
Complete the THEN fields for users according to their area of responsibility, as shown here.
THEN Field Value List Builder Resource Response Type Required
This response type makes the notification actionable, instead of just informational.
Users GetRepresentative("HR_REP",Task.payload.Worker's Current Representative.result)
Groups null Application Role null Rule Name USover1000usersAOR
-
-
Create the rule where the country is US and the amount is less than 10,000.
-
Create this IF expression:
Task.payload.Requestor's Assignment.result.legislationCode.toUpperCase() is "US" andSalaryApproval.newChangeAmount.doubleValue() less than 10000
-
Complete the THEN fields, as shown here.
THEN Field Value List Builder Resource Response Type Required
This response type makes the notification actionable, instead of just informational.
Users GetRepresentative("HR_REP",Task.payload.Worker's Current Representative.result)
Groups null Application Role null Rule Name USunder1000usersAOR
-