Creating Workflow Derivation Rules

Objectives

After completing this lesson, you will be able to:
  • Create Workflow Dynamic Groups
  • Create Workflow Dynamic Roles
  • Create Workflows
  • Create Workflow Derivation Rules

Create Workflow Dynamic Groups

Business Case:

New workflow dynamic groups are needed for new approval mechanisms. You can expect some groups not to have any members until the employees have been assigned to the proper job codes.

Steps

  1. Create the required Dynamic Groups.

    Workflow Group NameGroup Definition (Criteria Fields and Value)
    Payroll team EMEA

    Job Information-Job Classification=ADMIN-1 and Country=Germany

    OR

    Job Information-Job Classification=ADMIN-1 and Country=United Kingdom

    Payroll team NOAM

    Job Information-Job Classification=HR-ALYST and Country =United States

    OR

    Job Information-Job Classification=HR-ALYST and Country =Canada

    Payroll team APAC

    Job Information-Job Classification=HR-ALYST and Country =Australia

    OR

    Job Information-Job Classification=HR-ALYST and Country =Singapore

    Payroll team LATAMJob Information-Job Classification=HR-ALYST and Country =Brazil
    HRAdminJob Information-Job Classification=HR-MGR

Create a Workflow Dynamic Role

Business Case:

Dynamic Roles are used as either approvers or CC roles in workflows. You will create the Payroll Dynamic Role that will assign a resolver for the each pay group.

Steps

  1. Create the Payroll Dynamic Role:

    Pay GroupResolver
    APAC Pay GroupDynamic Group – Payroll team APAC
    EMEA Pay GroupDynamic group – Payroll team EMEA
    LATM Pay GroupDynamic group – Payroll team LATAM
    North America Pay GroupDynamic group – Payroll team NOAM

Create Workflows

Business Case:

New workflows are needed to support the new payroll initiative. The workflows can be used by multiple transactions. To easily find the participants, the workflow id/name will depict the participants in the approval process. All approver type roles correspond to the employee relationship and not the initiator.

You must enable delegation for the workflows if they are not already enabled. Create the following workflows:

Steps

  1. Workflow: HRAdmin(A)_to_NewManager(A)

    Workflow Properties
    Workflow Name/IDHRAdmin(A)_to_NewManager(A)
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    HRAdminApproverStop
    Target ManagerApproverStop
  2. Workflow: Manager(A)_to_HRAdmin(A)

    Workflow Properties
    Workflow Name/IDManager(A)_to_HRAdmin(A)
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    Current ManagerApproverStop
    HRAdminApproverStop
  3. Workflow: HRBP(A)_to_Manager’sMngr(A)

    Workflow Properties
    Workflow Name/IDHRBP(A)_to_Manager’sMngr(A)
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    Employee HRApproverStop
    Manager’s ManagerApproverStop
  4. Workflow: HRAdmin(A)_to_Manager(cc)

    Workflow Properties
    Workflow Name/IDHRAdmin(A)_to_Manager(cc)
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    HRAdminApproverStop
    Current ManagerCCn/a
  5. Workflow: Manager(cc)

    Workflow Properties
    Workflow Name/IDManager(cc)
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    Current ManagerCCn/a
  6. Workflow: Manager(A)

    Workflow Properties
    Workflow Name/IDManager(A)
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    Current ManagerApproverStop
  7. Workflow: HRAdmin(A)

    Workflow Properties
    Workflow Name/IDHRAdmin(A)
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    HRAdminApproverStop
  8. Workflow: Personal_Changes(A)

    Workflow Properties
    Workflow Name/IDPersonal_Changes(A)
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    HRAdminApproverStop
  9. Workflow: Status_NoShow_Alert

    Workflow Properties
    Workflow Name/IDStatus_NoShow_Alert
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    HRAdminApproverStop
  10. Workflow: Status_Show_Alert

    Workflow Properties
    Workflow Name/IDStatus_Show_Alert
    DelegationYes
    Reminder0
    Participant Properties
    Role/GroupParticipationNo Approver Behavior
    HRAdminApproverStop

Workflow Notification Considerations

Watch the Workflow Notification Considerations video to get a refresher of workflow notifications concept.

Create Workflow Derivation Rules

Business Case:

Ace will now be using business Rules for Workflow Derivation. Create WFD for Job and Compensation Information.

Steps

  1. Create a Workflow Derivation Rule for Job Information

    Rule LogicEvent Reason is equal toAND/ORTHEN Set wfConfig to
    IFTRANICOTANDIs User in Permission Group =NO, User ID = Login User, Permission Group Name = System AdministratorsHRAdmin(A)_to_NewManager(A)
    ELSE IFTRANINTLANDIs User in Permission Group =NO, User ID = Login User, Permission Group Name = System AdministratorsHRAdmin(A)_to_NewManager(A)
    ELSE IFDATALOCANDIs User in Permission Group =NO, User ID = Login User, Permission Group Name = System AdministratorsHRAdmin(A)_to_Manager(cc)
    ELSE IFDATATITLANDIs User in Permission Group =NO, User ID = Login User, Permission Group Name = System AdministratorsHRAdmin(A)_to_Manager(cc)
    ELSE IFDATATITLANDIs User in Permission Group =YES, User ID = Login User, Permission Group Name = System AdministratorsManager(cc)
    ELSE IFPROPNPANDSupervisor value is EQUAL to previous valueManager(A)_to_HRAdmin(A)
    ELSE IFPROPNPANDSupervisor value is NOT equal to previous valueHRAdmin(A)_to_NewManager(A)
    ELSE IFTRANLATLANDSupervisor value is EQUAL to previous valueManager(A)_to_HRAdmin(A)
    ELSE IFTRANLATLANDSupervisor value is NOT equal to previous valueHRAdmin(A)_to_NewManager(A)
    ELSE IFPAYEOCn/a HRBP(A)_to_Manager’sMngr(A)
    ELSEn/an/a HRAdmin(A)
  2. Create a Workflow Derivation Rule for Compensation Information

    Rule LogicEvent Reason is equal toAND/ORTHEN Set wfConfig to
    IFPAYEOCANDLogged user is NOT equal to System Admin permission groupHRBP(A)_to_Manager’sMngr(A)
    ELSE IFPAYBONANDLogged user is NOT equal to System Admin permission groupHRBP(A)_to_Manager’sMngr(A)
    ELSEn/an/a HRAdmin(A)
  3. Create a rule that will trigger Personal_Changes(A) workflow whenever the personal information is changed via Employee Self Service. This is when an employee changes data on their own Employee File.

  4. Create a rule that will trigger HRBP(A)_to_Manager’sMngr(A) workflow whenever a Spot Bonus is initiated via Manager Self Service.

  5. Assign the rules.

Log in to track your progress & complete quizzes