Saturday, November 29, 2014

Setting up Approval Process in PeopleSoft Approval Workflow Engine (AWE)

Being part of an organization which houses its HRIS system in PeopleSoft, we as an employee do various  Self Service transactions like submit a planned leave request for a week or so which then goes to manager for their approval and upon final approval the database changes are done eventually. Let's talk about a typical transfer process which involves certain steps. Assume a manager raises a transfer request for one of their direct reports. The request is routed through a series of approval involving following stakeholders:
  1. N+2 (Requester's Manager)
  2. N+3 (Manager's Manger)
  3. HR Head

The transfer request goes through following steps:

  1. Manager raises the request for one of it's direct reports using Transfer Employee component (MSS > Job and Personal Information > Transfer Employee).
  2. The component Transfer Employee checks whether approval is required for this transaction from the page Workflow Configuration (Setup HRMS > Common Definition > Self Service > Workflow Configuration) then checks what approval process is attached with this transaction from the page Workflow Transactions (Setup HRMS > Common Definitions > Approvals > Workflow Transactions) If the approval is required then it submits the transaction to AWE.
  3. AWE identifies the approval process definition passed by transaction component, reviews the process setup from Approval Process Setup page (Setup HRMS > Common Definitions > Approvals > Approval Process Setup) to determine the next approver in the approval chain.
  4. AWE then checks whether email notifications have been configured for this approval process from the page Transaction Configuration (Setup HRMS > Common Definitions > Approvals > Transaction Configuration)  and then determines what should be the mode of communication (Email or Worklist or Both) to the next approver. It then notifies next approver accordingly and updates the Header Record (HR_TRANSFER_DAT) and Cross Reference Table (HR_TRANSFER_XREF) through the 'Approval Event Handler Class' all mentioned in the Transaction Registry Page (Setup HRMS > Common Definitions > Approvals > Transaction Registry).
  5. Approver approves the transfer request which came from previous steps, through the page Approve Transfers (MSS > Job and Personal Information > Approve Transfer) upon which AWE again updates all the records mentioned in the step 4.
  6. Step 4 and Step 5 are repeated until request has been approved by all the approvers.
  7. Once the request is approved by all the approvers , HR Admin opens the page Employee Transfer Requests (Workforce Administration > Self Service Transactions > Employee Transfer Requests), select appropriate option and click on 'Save' which ultimately updates the database i.e adds a transfer row in Job Data component.

Things are quite clear so far but one question arises here, What is this Approval Workflow Engine (AWE) that I just mentioned about in the above transfer business process ?
As it's name suggests, Its an engine which drives an approval process of different kinds. It provides capabilities creating, running and managing approval processes.

Well, as I always say the best way to learn something in PeopleSoft is to do a hands on. So lets get into some real business and see how exactly an approval process is setup with AWE in PeopleSOft. The requirement is to create an approval process which we saw in the beginning in AWE. This process will include following roles in the approval chain:
  1. N+2 (Originator's Manager where originator itself is a manager)
  2. N+3 (Manager's Manager)
  3. HR Head
Most of us who are not much familiar with AWE might think that doing the setup and configuration in AWE is all it takes to implement an entire approval process in PeopleSoft but let me tell you there are whole lot of other things that has to be done before we could even touch the AWE setup part. Having said that, following are the three major parts in this entire implementation:




The elements highlighted in red in above diagrams are the ones we actually need to create however, their names have been given from the perspective of a transfer process that we are going to setup. But you can give your own name which suits your needs best.

In the following articles I will explain each of these steps to setup a transfer approval process.

17 comments:

  1. when is your next article on AWE

    ReplyDelete
  2. Very informative. Thank you for the great work Santosh and look forward to your next articles on this topic.

    ReplyDelete
  3. very informative, Santosh.. Is there anyway steps in a workflow be skipped? Because, we would like to skip steps when using an Application Engine - but when we use EOAW_CORE application engines, it is throwing an error saying that the %this.step and %this.path is required - can you please help in this regard? Your help would be much appreciated..
    Thanks!

    ReplyDelete
  4. @Mani - First of all, EOAW_CORE isn't an app engine, its an application package for AWE. Second - you need to elaborate your question more comprehensively because I didn't really get it.

    @Others- The next article will be published very soon

    ReplyDelete
  5. Nice article santosh. I would like to clarify certain things,
    Step 2 whatever you explained is applicable to MSS transactions. Without workflow configurations also we can create AWE transaction and use it. Main use of Workflow configuration is delegation.
    Step 7, Instead of manually the admin to update in Employee Transfer Requests. you can call JOB CI in your Custom approval event handler class at the time of final approval by using the OnHeaderApprove event.

    ReplyDelete
  6. Nice article santosh. Looking forward for AWE Line level approval article.

    ReplyDelete
  7. For Any help related to peoplesoft, like

    1.Interview Q&A
    2.Projects
    3.Online Training
    4.Jobs

    View our website www.todaycourses.com

    ReplyDelete
  8. Hi Santosh,

    Suppose we want a delivered transaction not to appear in workflow configuration page then what set up should we follow.

    ReplyDelete
  9. I have read your blog its very attractive and impressive. I like it your blog.

    Windows Workflow Foundation Training | WCF Online Training

    ReplyDelete
  10. Hello folks,

    I have a requirement to implement a conditional AWE for Termination process. If the termination reason is A, B or C, the request should be routed to HR for approval. Else if the reasons are D, E or F it should be auto approved.

    Any clues on how to achieve this?

    Thanks

    ReplyDelete
    Replies
    1. Hi, Can you please let me know the way if you have implemented this requirement.

      Delete
  11. Have you published the article referenced about on "setup a transfer approval process" ?

    ReplyDelete
  12. ayo bergabung dengan bolavita khusus new member lgsg di berikan 10%
    dan Bonus TO 0.8 % menag kalah juga dapat ^^
    tanpa ribet dan masih banyak bonus2 lain nya
    semua di berikan tanpa ribet pelayanan terbaik 24 jam
    depo wd secepat kilat ^^ sabung ayam bangkok


    info lbh lanjut :
    WA: +628122222995

    ReplyDelete
  13. Very nice ensemble of the most interesting blogs mentioned .Here are very well explained and really helpful. Thanks for sharing.

    ReplyDelete
  14. Very nice post with lots of information. Thanks for sharing this
    Workday Training Online
    Workday Training

    ReplyDelete