Create Process Leave Request
Learn about step to create the Process Leave Request Application. From ONEWEB Process Designer screen, click Create Project > Create Project Wizard. The Create Project Wizard screen opens.
First step. (Project Name) Put "Leave Request" at Project Name. Click Next.
Second step. (Define Business Object) 2.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.2 Put "LeaveRequest" to Name Parameter. 2.3 Click Submit. 2.4 Move cursor to "LeaveRequest" and click. 4 icons show then click icon Add parameter (icon 1). The popup dialog of Parameter Form opens. 2.4.1 Put "request_id" to Name Parameter. 2.4.2 Select String in Parameter type. 2.4.3 Click Submit. 2.5 Do step 2.4 again by change value at step 2.4.1 to requester. 2.6 Do step 2.4 again by change value at step 2.4.1 to request_type. 2.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. 2.8 Click Next.
Third step. (Create Work Party). 3.1 Put "Requester" to Work Party Name. 3.2 Click Add button. 3.3 Put "PM / Supervisor" to Work Party Name of the new record. 3.4 Click Add button. 3.5 Put "One down / Head" to Work Party Name of the new record. 3.6 Click Add button. 3.7 Put "HR" to Work Party Name of the new record. 3.8 Click Add button. 3.9 Put "Authorize" to Work Party Name of the new record. 3.10 Click Next.
Fourth step. (Create User) 4.1 Put user id to Member Id. 4.2 Put name of user to Member Name. 4.3 Select Member Type as USER. 4.4 Select Work Party Name. 4.5 Click Add button. 4.6 We can lookup existing user by click button Lookup existing member. 4.7 Follow step 4.1 to 4.5 for all user. *** All work party must hava at least 1 user. 4.8 Click Next.
Last step. (Create Process) 5.1 Put "Leave Request" to Process Name. 5.2 Click radio Private. 5.3 Click Finish.
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.
From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear. 7.1 Double click at new lane. The Lane property will appear then change Lane Name to "Requester". 7.2 Click Save Panel.
From Event, drag Start to lane Requester
From Gateway, drag Parallel to lane Requester. 9.1 Double click at Parallel, change name to "Parallel1". 9.2 Click Save Panel.
Move cursor to activity "Start" until points appear. 10.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.
From Gateway, drag Parallel to lane Requester. 11.1 Double click at Parallel, change name to "Parallel2". 11.2 Click Save Panel.
From Event, drag End to lane Requester
From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear. 13.1 Double click at new lane. The Lane property will appear then change Lane Name to "PM / Supervisor". 13.2 Click Save Panel.
From Activity, drag Human to lane PM / Supervisor. The activity name "Human" will appear then double click it. The property panel will appear. 14.1 At tab "General". 14.1.1 Change Name to "PM / Supervisor". 14.2 At tab "Business Object". 14.2.1 Parameter name will default as "LeaveRequest". 14.2.2 Selected both of Input and Output checkbox. 14.2.3 Click button "Open Mapping Parameter". The screen will redirect to Mapping Parameter screen. 14.2.4 Click line between Input box and Mapping box. The mapping panel will appear. 14.2.5 Move cursor to "LeaveRequest" at the left side and click. The icon Add to Mapping box will appear then click it. 14.2.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. 14.2.7 Click Save. 14.2.8 Click Close on Save Mapping Parameter popup dialog. 14.2.9 Click line between Mapping box and Output box. The mapping panel will appear. 14.2.10 Do step 14.2.5 to 14.2.7 again 14.3 At tab "Assignment Policy". 14.3.1 Click Setting and change drop down to "Pull". 14.3.2 Click Work party name and change Work party name to "PM / Supervisor". 14.3.3 Click Save Panel. 14.4 At tab "Load Entity" 14.4.1 Change Entity to "Doc Leave Request Supervisor PM". 14.4.2 Change Key to "REQUEST_ID". 14.4.3 Change Value to "${LeaveRequestBO.request_id}" 14.5 Click Save Panel.
Move cursor to activity "Parallel1" until points appear 15.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.
Move cursor to human "PM/Supervisor" until points appear. 16.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.
From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear. 17.1 Double click at new lane. The Lane property will appear then change Lane Name to "One down / Head". 17.2 Click Save Panel.
From Activity, drag Human to lane One down / Head. The activity name "Human" will appear then double click it. The property panel will appear. 18.1 At tab "General". 18.1.1 Change Name to "One down / Head". 18.2 At tab "Business Object". 18.2.1 Do step 14.2.1 to 14.2.9 again. 18.3 At tab "Assignment Policy". 18.3.1 Click Setting and change drop down to "Pull". 18.3.2 Click Work party name and change Work party name to "One down / Head". 18.3.3 Click Save Panel 18.4 At tab "Load Entity" 18.4.1 Change Entity to "Doc Leave Request One Down Head". 18.4.2 Change Key to "REQUEST_ID". 18.4.3 Change Value to "${LeaveRequestBO.request_id}" 18.5 Click Save Panel.
Move cursor to activity "Parallel1" until points appear 19.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.
Move cursor to human "One down / Head " until points appear 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.
From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear. 21.1 Double click at new lane. The Lane property will appear then change Lane Name to "HR". 21.2 Click Save Panel.
From Activity, drag Human to lane HR. The activity name "Human" will appear then double click it. The property panel will appear. 22.1 At tab "General". 22.1.1 Change Name to "HR". 22.2 At tab "Business Object" 22.2.1 Do step 14.2.1 to 14.2.9 again 22.3 At tab "Assignment Policy" 22.3.1 Click Setting and change drop down to "Pull". 22.3.2 Click Work party name and change Work party name to "HR". 22.3.2 Click Save Panel. 22.4 At tab "Load Entity". 22.4.1 Change Entity to "Doc Leave Request HR". 22.4.2 Change Key to "REQUEST_ID". 22.4.3 Change Value to "${LeaveRequestBO.request_id}" 22.5 Click Save Panel.
Move cursor to activity "Parallel1" until points appear 23.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.
Move cursor to human "HR" until points appear 24.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.
From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear. 25.1 Double click at new lane. The Lane property will appear then change Lane Name to "Authorize". 25.2 Click Save Panel.
From Activity, drag Human to lane Authorize. The activity name "Human" will appear then double click it. The property panel will appear. 26.1 At tab "General". 26.1.1 Change Name to "Authorize". 26.2 At tab "Business Object". 26.2.1 Do step 14.2.1 to 14.2.9 again. 26.3 At tab "Assignment Policy". 26.3.1 Click Setting and change drop down to "Pull". 26.3.2 Click Work party name and change Work party name to "Authorize". 26.3.3 Click Save Panel. 26.4 At tab "Load Entity" 26.4.1 Change Entity to "Doc Leave Request Authorize". 26.4.2 Change Key to "REQUEST_ID". 26.4.3 Change Value to "${LeaveRequestBO.request_id}" 26.5 Click Save Panel.
Move cursor to activity "Parallel1" until points appear 27.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.
Move cursor to human "Authorize" until points appear 28.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.
Move cursor to gateway "Parallel2" until points appear 29.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.
Click Save.
Switch Choose Deploy to "Deploy". (near save and Export)
Last updated