The agent determination rules specify for
HCM Processes and Forms
how the system determines the agents (processors) of each interactive workflow step at runtime of
SAP Business Workflow
.
In the standard system, a range of
agent determination rules
is available for
HCM Processes and Forms
that already fulfill important requirements for the application:
Determination of the next agent based on HR selection criteria
Determination of the suitable agent by first checking the agent’s authorizations
SAP recommends you use the
agent determination rules
included in the standard system for your
HCM Processes and Forms
workflow templates.
HCM Processes and Forms
provides two types of
agent determination rules
that you can use to map your processes:
Rules that determine the next agent for a process step
The next agent is determined with these rules based as usual on organizational criteria. The standard system contains some rules that determine the next agent using objects from
SAP Organizational Management
or
SAP Personnel Administration
.
Rules that run an authorization check
You can use the
ASRAgent
rule to initiate an authorization check that ensures that only users who have authorization to edit or approve a particular process step receive the work item in their worklist. This ensures that users do not receive any work items for process steps in which they would have to edit data, for example, and for which they do not have change authorization.
The authorization checks are based only on authorizations that are checkable at the time the work item was initialized. When processing the work item, it may be necessary to check other authorizations.
Combination of both types of rules
If you use the ASRAgent rule on the workflow step in the data flow for the agent determination, you can combine the advantages of both types of rules. To do this, you enter a rule that determines the next agent for a process step as a subrule of the ASRAgent rule. The subrule first determines all potential agents of a process step, for example, on the basis of the organizational structure and the data specified in the data flow. The ASRAgent rule then filters the agents that have the required authorizations.
Identifier |
Name |
Function Module |
Description |
---|---|---|---|
17900012 |
ASRAgent |
HR_ASR_AGENTFINDER |
Agent determination with authorization check |
17900013 |
ASROrgObject |
HR_ASR_ORGANIZATIONAL_OBJECT |
Employees belonging to a specified organizational object type. This rule delivers all users (object type
|
17900014 |
ASRManager |
HR_ASR_MANAGER |
Manager This rule delivers the manager for a person. The rule processes the object types P (Person) and US (User) and returns the P and US object types.
|
17900015 |
ASRGrpAdmin |
HR_ASR_GROUP_ADMINS |
Administrator Group This rule delivers the users (object type US) for the administrator group of the relevant person. The rule processes the object types P (Person) and US (User).
|
17900016 |
ASRPersAdmin |
HR_ASR_PERSONNEL_ADMIN |
Personnel Administrator This rule delivers the user (object type US) for the personnel administrator of the relevant person. The rule processes the object types P (Person) and US (User).
|
17900017 |
ASRTimeAdmin |
HR_ASR_TIME_ADMIN |
Time Recording Administrator This rule delivers the user (object type US) for the time recording administrator of the relevant person. The rule processes the object types P (Person) and US (User).
|
17900018 |
ASRPayrAdmin |
HR_ASR_PAYROLL_ADMIN |
Payroll Administrator This rule delivers the user (object type US) for the payroll administrator of the relevant person. The rule processes the object types P (Person) and US (User).
|
For more information about the individual rules, see the individual objects in the
Maintain Rules
transaction (PFAC) in the system.
For general information about rule resolution, see the SAP Library and choose
SAP NetWeaver -> Application Platform -> Business Services -> SAP Business Workflow -> Reference Documentation -> Rule Resolution
.