Learn about step to create the Process Leave Request Application.

Procedure

From ONEWEB Process Designer screen, click Create Project > Create Project Wizard. The Create Project Wizard screen opens.


  1. First step. (Project Name)
    1. Put "Leave Request" at Project Name.
    2. Click Next.


  1. Second step. (Define Business Object)
    1. Move cursor to "Process Parameter" and click. 4 icons show then click icon  Add parameter (icon 3) . The popup dialog of Parameter Form opens.
    2. Put "LeaveRequest" to Name Parameter.
    3. Click Submit.
    4. Move cursor to "LeaveRequest" and click. 4 icons show then click icon Add parameter (icon 1). The popup dialog of Parameter Form opens.
      1. Put "request_id" to Name Parameter.
      2. Select String in Parameter type.
      3. Click Submit.
    5. Do step 2.4 again by change value at step 2.4.1 to requester.
    6. Do step 2.4 again by change value at step 2.4.1 to request_type.
    7. Move cursor to "LeaveRequest" and click. 4 icons show then click icon Clone Business Object (icon3). The same parameters will copy to the right side.
    8. Click Next.


  1. Third step. (Create Work Party).
    1. Put "Requester" to Work Party Name.
    2. Click Add button.
    3. Put "PM / Supervisor" to Work Party Name of the new record.
    4. Click Add button.
    5. Put "One down / Head" to Work Party Name of the new record.
    6. Click Add button.
    7. Put "HR" to Work Party Name of the new record.
    8. Click Add button.
    9. Put "Authorize" to Work Party Name of the new record.
    10. Click Next.


  1. Fourth step. (Create User)
    1. Put user id to Member Id.
    2. Put name of user to Member Name.
    3. Select Member Type as USER.
    4. Select Work Party Name.
    5. Click Add button.
    6. We can lookup existing user by click button Lookup existing member.
    7. Follow step 4.1 to 4.5 for all user. *** All work party must hava at least 1 user.
    8. Click Next.


  1. Last step. (Create Process)
    1. Put "Leave Request" to Process Name.
    2. Click radio Private.
    3. Click Finish.


  1. Project Leave Request with process name Leave Request created then click Save. The popup to confirm opens then click Yes. Wait until popup with save status success opens and then click Close.


  1. From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear.
    1. Double click at new lane. The Lane property will appear then change Lane Name to "Requester".
    2. Click Save Panel.


  1. From Event, drag Start to lane Requester


  1. From Gateway, drag Parallel to lane Requester.
    1. Double click at Parallel, change name to "Parallel1".
    2. Click Save Panel.


  1. Move cursor to activity "Start" until points appear.
    1. Move cursor to the point at middle right until cursor's image change to hand then hold click and drag to gateway " Parallel1". Link line will appear.


  1. From Gateway, drag Parallel to lane Requester.
    1. Double click at Parallel, change name to "Parallel2".
    2. Click Save Panel.


  1. From Event, drag End to lane Requester


  1. From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear.
    1. Double click at new lane. The Lane property will appear then change Lane Name to "PM / Supervisor".
    2. Click Save Panel.


  1. From Activity, drag Human to lane PM / Supervisor. The activity name "Human" will appear then double click it. The property panel will appear.
    1. At tab "General".
      1. Change Name to "PM / Supervisor".
    2. At tab "Business Object".
      1. Parameter name will default as "LeaveRequest".
      2. Selected both of Input and Output checkbox.
      3. Click button "Open Mapping Parameter". The screen will redirect to Mapping Parameter screen.
      4. Click line between Input box and Mapping box. The mapping panel will appear.
      5. Move cursor to "LeaveRequest" at the left side and click. The icon Add to Mapping box will appear then click it.
      6. Move cursor to "LeaveRequest" at the right side and click. The icon Add to Mapping box (icon 1) will appear then click it. The Confirm Mapping dialog will appear then click Yes. The link line will appear from left side to right side.
      7. Click Save.
      8. Click Close on Save Mapping Parameter popup dialog.
      9. Click line between Mapping box and Output box. The mapping panel will appear.  
      10. Do step 14.2.5 to 14.2.7 again
    3. At tab "Assignment Policy".
      1. Click Setting and change drop down to "Pull".
      2. Click Work party name and change Work party name to "PM / Supervisor".
      3. Click Save Panel.
    4. At tab "Load Entity"
      1. Change Entity to "Doc Leave Request Supervisor PM".
      2. Change Key to "REQUEST_ID".
      3. Change Value to "${LeaveRequestBO.request_id}"
    5. Click Save Panel.


  1. Move cursor to activity "Parallel1" until points appear
    1. Move cursor to the point at bottom until cursor's image change to hand then hold click and drag to human "PM/Supervisor". Link line will appear.


  1. Move cursor to human "PM/Supervisor" until points appear.
    1. Move cursor to the point at middle right until cursor's image change to hand then hold click and drag to gateway "Parallel2". Link line will appear.


  1. From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear.
    1. Double click at new lane. The Lane property will appear then change Lane Name to "One down / Head".
    2. Click Save Panel.


  1. From Activity, drag Human to lane One down / Head. The activity name "Human" will appear then double click it. The property panel will appear.
    1. At tab "General".
      1. Change Name to "One down / Head".
    2. At tab "Business Object".
      1. Do step 14.2.1 to 14.2.9 again.
    3. At tab "Assignment Policy".
      1. Click Setting and change drop down to "Pull".
      2. Click Work party name and change Work party name to "One down / Head".
      3. Click Save Panel
    4. At tab "Load Entity"
      1. Change Entity to "Doc Leave Request One Down Head".
      2. Change Key to "REQUEST_ID".
      3. Change Value to "${LeaveRequestBO.request_id}"
    5. Click Save Panel.


  1. Move cursor to activity "Parallel1" until points appear
    1. Move cursor to the point at bottom until cursor's image change to hand then hold click and drag to human "One down / Head". Link line will appear.


  1. Move cursor to human "One down / Head " until points appear
    1. Move cursor to the point at middle right until cursor's image change to hand then hold click and drag to gateway "Parallel2". Link line will appear.


  1. From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear.
    1. Double click at new lane. The Lane property will appear then change Lane Name to "HR".
    2. Click Save Panel.


  1. From Activity, drag Human to lane HR. The activity name "Human" will appear then double click it. The property panel will appear.
    1. At tab "General".
      1. Change Name to "HR".
    2. At tab "Business Object"
      1. Do step 14.2.1 to 14.2.9 again
    3. At tab "Assignment Policy"
      1. Click Setting and change drop down to "Pull".
      2. Click Work party name and change Work party name to "HR".
      3. Click Save Panel.
    4. At tab "Load Entity".
      1. Change Entity to "Doc Leave Request HR".
      2. Change Key to "REQUEST_ID".
      3. Change Value to "${LeaveRequestBO.request_id}"
    5. Click Save Panel.


  1. Move cursor to activity "Parallel1" until points appear
    1. Move cursor to the point at bottom until cursor's image change to hand then hold click and drag to human "HR". Link line will appear.


  1. Move cursor to human "HR" until points appear
    1. Move cursor to the point at middle right until cursor's image change to hand then hold click and drag to gateway "Parallel2". Link line will appear.


  1. From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear.
    1. Double click at new lane. The Lane property will appear then change Lane Name to "Authorize".
    2. Click Save Panel.


  1. From Activity, drag Human to lane Authorize. The activity name "Human" will appear then double click it. The property panel will appear.
    1. At tab "General".
      1. Change Name to "Authorize".
    2. At tab "Business Object".
      1. Do step 14.2.1 to 14.2.9 again.
    3. At tab "Assignment Policy".
      1. Click Setting and change drop down to "Pull".
      2. Click Work party name and change Work party name to "Authorize".
      3. Click Save Panel.
    4. At tab "Load Entity"
      1. Change Entity to "Doc Leave Request Authorize".
      2. Change Key to "REQUEST_ID".
      3. Change Value to "${LeaveRequestBO.request_id}"
    5. Click Save Panel.


  1. Move cursor to activity "Parallel1" until points appear
    1. Move cursor to the point at bottom until cursor's image change to hand then hold click and drag to human "Authorize". Link line will appear.


  1. Move cursor to human "Authorize" until points appear
    1. Move cursor to the point at middle right until cursor's image change to hand then hold click and drag to gateway "Parallel2". Link line will appear.


  1. Move cursor to gateway "Parallel2" until points appear
    1. Move cursor to the point at middle right until cursor's image change to hand then hold click and drag to event "End". Link line will appear.


  1. Click Save.


  1. Switch Choose Deploy to "Deploy". (near save and Export)