Monday, November 12, 2018

How to create Leave Approval workflow using AME

How to create Leave Approval workflow using AME

Requirement : Once leave is submitted, notification should go to first supervisor and then to HR Staff for approval.

1. Create new condition - WORKFLOW_PROCESS_NAME in (HR_GENERIC_APPROVAL_PRC)
2. Create Approval Group - Name - HR Approver 
                                            Description - HR Approver 
                                            Order Number - 1
                                            Voting Method - Serial 
                                            Usage Type - Static
                                            Approver - Name of HR People
3. Create new Action Type - Approval Group Chain of Authority
4. Remove HR_GENERIC_APPROVAL_PRC  from existing WORKFLOW_PROCESS_NAME condition. Do not remove HR_LOA_JSP_PRC
5. Create New Rule - Name - XXXX
                                  Type - List Creation
                                  Item Class - Header
                                  Start Date - Date
                                  End Date - Date
6. Add new created condition
7. Add Two Action Types 
     1. supervisory level
      2. approval-group chain of authority
8. Create the rule. 
9. Clear the cache
10. No change is required in the Workflow.
11. Absence Management function parameter should be -
OAFunc=HR_LOA_SS&pAMETranType=SSHRMS&pAMEAppId=800&pProcessName=
HR_GENERIC_APPROVAL_PRC&pItemType=HRSSA
&pCalledFrom=HR_LOA_SS&pApprovalReqd=YD&pNtfSubMsg=HR_ABS_NTF_SUB_MSG
&pConcAction=N
12. Test the approval. It should go properly.

No comments:

Post a Comment

SQL Important Queries

  How to delete rows with no where clause The following example deletes  all rows  from the  Person.Person  the table in the AdventureWork...