Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
A Leave Control Application is an app used to create and manage a leave request within an organization.
Following are the features of ONEWEB used in Leave Control Application.
Process Designer Start/End Event Human Activity Parallel Gateway
App Designer Normal input field Dynamic List field Dependency Tab Process Button
Learn about how to use App Designer to create screens of application.
Create master table and master data at schema ERP_ONEWEB with below SQL. (PostgreSQL)
Create transaction table at schema ERP_ONEWEB with below SQL. (PostgreSQL)
Create database sequence lists below.
REQUEST_ID_SEQ
LEAVE_ITEM_ID_SEQ
Learn about the steps to create entity for the supervisor PM who need to approve leave request.
1. From ONEWEB App Designer screen, click Entities > Clone Entity and then select existing entity "Doc Leave Request" and name of clone entity as "Doc Leave Request Supervisor PM". Click Clone and once successful, click "Open Cloned Entity" on the popup dialog. (The popup dialog of Search Entities shows all entities. Now click on icon pencil to edit.)
2. Go to tab Leave Request delete button.
Button name "Add".
Button name "Delete".
Button name "Save" that Page Action is "ENTITY_INSERT".
Button name "Cancel" that Page Action is "ENTITY_INSERT".
3. Go to module Leave Request > Text Box "Requester".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
4. Go to module Leave Request > Dynamic List "Leave Type".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
5. Go to module Leave Request > Dynamic List "Project".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
6. Go to module Leave Request > Text Area "Contact/Tel.".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
7. Go to module Leave Request > Dynamic List "One Down/Head".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
8. Go to module Leave Request > Text Box "One Down/Head Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
9. Go to module Leave Request > Dynamic List "HR". Click icon pencil.
The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
10. Go to module Leave Request > Text Box "HR Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
11. Go to module Leave Request > Dynamic List "Authorize". Click icon pencil.
The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
12. Go to module Leave Request > Text Box "Authorize Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
13Go to tab Normal Leave.
14. Go to module Normal Leave for delete button.
Delete button Cancel that Page Action is "INSERT".
Delete button Add.
Delete both of button Save.
Delete button Delete.
15. Go to module Normal Leave.
Switch viewFlag to "Y" in Field Leave Type, Specify, Start Date and End Date.
16. Go to tab Replacement Leave.
17. Go to module Replacement Leave for delete button.
Delete button Cancel that Page Action is "INSERT".
Delete button Add.
Delete both of button Save.
Delete button Delete.
18. Go to module Replacement Leave.
Switch viewFlag to "Y" in Field "Work Date, RW No and Leave Date".
Learn about step to create entity for requester who need to make leave request.
1. From ONEWEB App Designer screen, click Entities > Clone Entity and then select existing entity "Doc Leave Request Supervisor PM" and name of clone entity as "Doc Leave Request HR". Click Clone and once successful, click "Open Cloned Entity" on the popup dialog. (The popup dialog of Search Entities shows all entities. Now click on icon pencil to edit.)
2. Go to module Leave Request > Dynamic List "Supervisor/PM".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
3. Go to module Leave Request > Text Box "Supervisor/PM Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
4. Go to module Leave Request > Dynamic List "HR".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "N".
Click OK.
5. Go to module Leave Request > Text Box "HR Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "N
Click OK.
Learn about the steps to create entity for PM to authorize leave request.
1. From ONEWEB App Designer screen, click Entities > Clone Entity and then select existing entity "Doc Leave Request" and name of clone entity to "Doc Leave Request Requester". Click Clone and once you get success message, click "Open Cloned Entity" . (The popup dialog of Search Entities shows all entities. Now click on icon pencil to edit.)
2. Go to module Leave Request > Dynamic List "Supervisor/PM".
Click icon pencil.
The dialog of Dynamic List Box Configuration opens.
Change Source tag to "disabled".
Switch onlyGuiFlag to "Y".
Switch viewFlag to "Y".
Click OK.
3. Go to module Leave Request > Text Box "Supervisor/PM Remark".
Click icon pe
The dialog of Text Box Configur
Change Source tag to "readonly".
Click OK.
4. Go to module Leave Request > Dynamic List "One Down/Head".
Click icon pencil.
The dialog of Dynamic List Box Configuration opens.
Change Source tag to "disabled".
Switch onlyGuiFlag to "Y".
Switch viewFlag to "Y".
Click OK.
5. Go to module Leave Request > Text Box "One Down/Head Remark".
Click icon pencil.
The dialog of Text Box Configuration opens.
Change Source tag to "readonly".
Click OK.
6. Go to module Leave Request > Dynamic List "HR". Click icon pencil.
The dialog of Dynamic List Box Configuration opens.
Change Source tag to "disabled".
Switch onlyGuiFlag to "Y".
Switch viewFlag to "Y".
Click OK.
7. Go to module Leave Request > Text Box "HR Remark".
Click icon pencil.
The dialog of Text Box Configuration opens.
Change Source tag to "readonly".
Click OK.
8. Go to module Leave Request > Dynamic List "Authorize".
Click icon pencil.
The dialog of Dynamic List Box Configuration opens.
Change Source tag to "disabled".
Switch onlyGuiFlag to "Y".
Switch viewFlag to "Y".
Click OK.
9. Go to module Leave Request > Text Box "Authorize Remark".
Click icon pencil.
The dialog of Text Box Configuration opens.
Change Source tag to "readonly".
Click OK.
Learn about step to use process button link with process flow from Process Designer.
Pre-Condition Create process flow from Process Designer.
Procedure
Submit button for start flow at entity "Doc Leave Request Requester" 1.1 From App Designer, search entity "Doc Leave Request Requester" and click edit it. 1.2 From Button, drag Process Button to entity button's area. The button name "SUBMIT_VALUE" will appear then click icon pencil to edit it. 1.3 At tab Process. 1.3.1 Select Process Type to "Process". 1.3.2 Select Project to "Leave Request". 1.3.3 Select Process to "LeaveRequest". 1.3.4 Select Process Action to "Start". 1.3.5 Move cursor to icon "Load from AD" (icon 1) and click. The system will populate list of business object to mapping with screen. 1.3.6 Click icon minus in front of "Replacement Leave" to hide attribute list. 1.3.7 Move cursor to "Request Id" under object "Leave Request" drag it and move to link with "request_id" under " LeaveRequest". 1.3.8 Move cursor to "Requester" under "Object Leave Request" drag it and move to link with "requester" under "Object LeaveRequest". 1.3.9 Move cursor to "Request Type" under "Object Leave Request" drag it and move to link with "request_type" under "Object LeaveRequest". 1.4 At tab Pre Action. 1.4.1 Click first radio and select method "saveEntity()". 1.5 At tab Other Settings. 1.5.1 Change buttonName to "Submit". 1.5.2 Select Page Action to "ENTITY_INSERT". 1.6 Click OK. 1.7 Do step 1.2 to 1.6 again by change value at step 1.5.2 from "ENTITY_INSERT" to "ENTITY_UPDATE". We will have to SUBMIT button from mode insert and mode update. 1.8 Click Save this Entity.
2. Submit button for complete flow at entity "Doc Leave Request Supervisor PM". 2.1 From App Designer, search entity "Doc Leave Request Supervisor PM" and click edit it. 2.2 From Button, drag Process Button to entity button's area. The button name "SUBMIT_VALUE" will appear then click icon pencil to edit it. 2.3 At tab Process. 2.3.1 Select Process Type to "Process". 2.3.2 Select Project to "Leave Request". 2.3.3 Select Process to "LeaveRequest". 2.3.4 Select Process Action to "Complete". 2.3.5Move cursor to icon "Load from AD" (icon 1) and click. The system will populate list of business object to mapping with screen. 2.3.6 Click icon minus in front of "Replacement Leave" to hide attribute list. 2.3.7 Move cursor to "Request Id" under object "Leave Request" drag it and move to link with "request_id" under " LeaveRequest". 2.3.8 Move cursor to "Requester" under "Object Leave Request" drag it and move to link with "requester" under "Object LeaveRequest". 2.3.9 Move cursor to "Request Type" under "Object Leave Request" drag it and move to link with "request_type" under "Object LeaveRequest". 2.4 At tab Pre Action. 2.4.1 Click first radio and select method "saveEntity()". 2.5 At tab Other Settings. 2.5.1 Change buttonName to "Submit". 2.5.2 Select Page Action to "ENTITY_UPDATE". 2.6 Click OK. 2.7 Click Save this Entity.
3. Submit button for complete flow at entity "Doc Leave Request One Down Head". 3.1 From App Designer, search entity "Doc Leave Request One Down Head" and click edit it. 3.2 From Button, drag Process Button to entity button's area. The button name "SUBMIT_VALUE" will appear then click icon pencil to edit it. 3.3 At tab Process. 3.3.1 Select Process Type to "Process". 3.3.2 Select Project to "Leave Request". 3.3.3. Select Process to "LeaveRequest". 3.3.4 Select Process Action to "Complete". 3.3.5 Move cursor to icon "Load from AD" (icon 1) and click. The system will populate list of business object to mapping with screen. 3.3.6 Click icon minus in front of "Replacement Leave" to hide attribute list. 3.3.7 Move cursor to "Request Id" under object "Leave Request" drag it and move to link with "request_id" under " LeaveRequest". 3.3.8 Move cursor to "Requester" under "Object Leave Request" drag it and move to link with "requester" under "Object LeaveRequest". 3.3.9 Move cursor to "Request Type" under "Object Leave Request" drag it and move to link with "request_type" under "Object LeaveRequest". 3.4 At tab Pre Action. 3.4.1 Click first radio and select method "saveEntity()". 3.5 At tab Other Settings. 3.5.1 Change buttonName to "Submit". 3.5.2 Select Page Action to "ENTITY_UPDATE". 3.6 Click OK. 3.7 Click Save this Entity.
4. Submit button for complete flow at entity "Doc Leave Request HR". 4.1 From App Designer, search entity "Doc Leave Request HR" and click edit it. 4.2 From Button, drag Process Button to entity button's area. The button name "SUBMIT_VALUE" will appear then click icon pencil to edit it. 4.3 At tab Process. 4.3.1 Select Process Type to "Process". 4.3.2 Select Project to "Leave Request". 4.3.3 Select Process to "LeaveRequest". 4.3.4 Select Process Action to "Complete". 4.3.5 Move cursor to icon "Load from AD" (icon 1) and click. The system will populate list of business object to mapping with screen. 4.3.6 Click icon minus in front of "Replacement Leave" to hide attribute list. 4.3.7 Move cursor to "Request Id" under object "Leave Request" drag it and move to link with "request_id" under " LeaveRequest". 4.3.8 Move cursor to "Requester" under "Object Leave Request" drag it and move to link with "requester" under "Object LeaveRequest". 4.3.9 Move cursor to "Request Type" under "Object Leave Request" drag it and move to link with "request_type" under "Object LeaveRequest". 4.4 At tab Pre Action. 4.4.1 Click first radio and select method "saveEntity()". 4.5 At tab Other Settings. 4.5.1 Change buttonName to "Submit". 4.5.2 Select Page Action to "ENTITY_UPDATE". 4.6 Click OK. 4.7 Click Save this Entity.
5. Submit button for complete flow at entity "Doc Leave Request Authorize". 5.1 From App Designer, search entity "Doc Leave Request Authorize" and click edit it. 5.2 From Button, drag Process Button to entity button's area. The button name "SUBMIT_VALUE" will appear then click icon pencil to edit it. 5.3 At tab Process. 5.3.1 Select Process Type to "Process". 5.3.2 Select Project to "Leave Request". 5.3.4 Select Process to "LeaveRequest". 5.3.5 Select Process Action to "Complete". 5.3.6 Move cursor to icon "Load from AD" (icon 1) and click. The system will populate list of business object to mapping with screen. Click icon minus in front of "Replacement Leave" to hide attribute list. 5.3.7 Move cursor to "Request Id" under object "Leave Request" drag it and move to link with "request_id" under " LeaveRequest". 5.3.8 Move cursor to "Requester" under "Object Leave Request" drag it and move to link with "requester" under "Object LeaveRequest". 5.3.9 Move cursor to "Request Type" under "Object Leave Request" drag it and move to link with "request_type" under "Object LeaveRequest". 5.4 At tab Pre Action. 5.4.1 Click first radio and select method "saveEntity()". 5.5 At tab Other Settings. 5.5.1 Change buttonName to "Submit". 5.5.2 Select Page Action to "ENTITY_UPDATE". 5.6 Click OK. 5.7 Click Save this Entity.
Learn about how to use Process Designer to create the Leave process or workflow
Learn about step to create entity for one down PM to make leave approval.
1. From ONEWEB App Designer screen, click Entities > Clone Entity and then select existing entity "Doc Leave Request Supervisor PM" and name of clone entity as "Doc Leave Request One Down Head". Click Clone and once successful, click "Open Cloned Entity" on the popup dialog. (The popup dialog of Search Entities shows all entities. Now click on icon pencil to edit.)
2. Go to module Leave Request > Dynamic List "Supervisor/PM".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
3. Go to module Leave Request > Text Box "Supervisor/PM Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
4. Go to module Leave Request > Dynamic List "One Down/Head".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "N".
Click OK.
5. Go to module Leave Request > Text Box "One Down/Head Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "N".
Click OK.
Learn about step to create entity for Authorize leave request.
1. From ONEWEB App Designer screen, click Entities > Clone Entity and then select existing entity "Doc Leave Request Supervisor PM" and name of clone entity to "Doc Leave Request Authorize". Click Clone and once successful, click "Open Cloned Entity" on the popup dialog. (The popup dialog of Search Entities shows all entities. Now click on icon pencil to edit.)
2. Go to module Leave Request > Dynamic List "Supervisor/PM".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
3. Go to module Leave Request > Text Box "Supervisor/PM Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "Y".
Click OK.
4. Go to module Leave Request > Dynamic List "Authorize".
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Switch viewFlag to "N".
Click OK.
5. Go to module Leave Request > Text Box "Authorize Remark".
Click icon pencil. The dialog of Text Box Configuration opens.
Switch viewFlag to "N".
Click OK.
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)
Learn about step to create entity for requester who need to make leave request.
From the App space screen, click Form and then popup dialog will opens.
Enter name in field Component Name and click Start Design.
Click Pencil Icon for open Entity Configuration
Change Tab Condition to "Y"
Click OK.
3. From Tools > Tabs drag 2-Layer Tab to the silver box under entity name. The dialog of Add Tab data opens. Put "Leave Request" to Title and then click Add.
4. From Tools > Module drag 1-1 to the box under the Leave Request tab.
Click icon pencil. The dialog of Module Configuration opens.
Change Module Name to "Leave Request". Change Table Name to "wf_service_request (T)".
Set SQL Work Queue to "select wf_service_request.request_id, wf_service_request.requester, wf_service_request.sub_request_type from wf_service_request where wf_service_request.request_type = '04'".
Click OK.
Click icon Configuration Layout and the dialog opens. Select 2 Column and then click Accept. The table that has 2 columns will show.
5. From Tools > Field drag Text Box to the first cell of the table. (From step 4) The textLabel shows.
Click icon pencil. The dialog of Text box Configuration opens.
Put "readonly" to Source
Change FIELD_ID to "REQUEST_ID".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Request Id".
Switch ShowSearch to "Y".
Change showSearchSeq to "1".
Change Alignment to "center".
Click OK
6. From Tools > Field drag Text Box to the first cell of the table. (From step 4.6) The textLabel shows.
Click pencil icon. The dialog of Text box Configuration opens.
Change FIELD_ID to "REQUEST".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Requester".
Switch SearchCriteria to "Y".
Switch ShowSearch to "Y".
Switch searchPreLike to "Y".
Switch searchLike to "Y".
Switch searchIgnoreCase to "Y".
Change Search FieldGroup to "1".
Change SearchCriteriaSeq to "1".
Change showSearchSeq to "2".
Change Alignment to "left".
Click OK.
7. From Leave Request Module click icon append row. The system will append new row to the table.
8. From Tools > Field drag Dynamic List to the first cell of new row (From step 7) The dropdownLabel shows.
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Change Table Name to "wf_ms_sub_request_type".
Change Column Show to "SUB_REQ_NAME".
Change Column Value to "SUB_REQ_TYPE_ID".
Change Condition Value to "request_type='04'".
Change FIELD_ID to "SUB_REQUEST_TYPE".
Change ShowFieldName to "Leave Type".
Switch SearchCriteria to "Y".
Switch ShowSearch to "Y".
Change Search FieldGroup to "1".
Change SearchCriteriaSeq to "2".
Change showSearchSeq to "3".
Change Alignment to "left".
Click OK.
9. From Tools > Field drag Dynamic List to the second cell of new row (From step 8) The dropdownLabel shows.
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Change Table Name to "wf_ms_project".
Change Column Show to "PROJECT_NAME".
Change Column Value to "PROJECT_ID".
Change FIELD_ID to "PROJECT".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Project".
Change Alignment to "right".
Click OK.
10. From Leave Request Module click icon append row. The system will append new row to the table.
11. From Tools > Field drag Text Area to the first cell of new row (From step 10) The textareaLabel shows.
Click icon pencil. The dialog of Text Area Configuration opens.
Change FIELD_ID to "CONTACT_INFO".
Change ShowFieldName to "Contact/Tel.".
Change Alignment to "left".
Click OK.
12. From Tools > Field drag Hidden to the second cell of new row (From step 10) The hiddenLabel shows.
Click icon pencil. The dialog of Hidden Field Configuration opens.
Change Defultvalueto "04".
Change FIELD_ID to "REQUEST_TYPE".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "RequestType".
Click OK.
13. From Leave Request Module click icon append row. The system will append new row to the table.
14. From Tools > Field drag Dynamic List to the first cell of new row (From step 13) The dropdownLabel shows.
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Change Table Name to "wf_ms_list_box".
Change Column Show to "DISPLAY_NAME".
Change Column Value to "DISPLAY_CODE".
Change Condition Value to "CATEGORY_CODE='SUP_PM_DECISION'".
Change FIELD_ID to "DECISION_SUP_PM".
Change ShowFieldName to "Supervisor/PM".
Click OK.
15. From Tools > Field drag Text Box to the second cell of new row (From step 13) The textLabel shows.
Click icon pencil. The dialog of Text box Configuration opens.
Change FIELD_ID to "DECISION_SUP_PM_REMARK".
Change ShowFieldName to "Supervisor/PM Remark".
Change Alignment to "left".
Click OK.
16. From Leave Request Module click icon append row. The system will append new row to the table.
17. From Tools > Field drag Dynamic List to the first cell of new row (From step 16) The dropdownLabel shows.
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Change Table Name to "wf_ms_list_box".
Change Column Show to "DISPLAY_NAME".
Change Column Value to "DISPLAY_CODE".
Change Condition Value to "CATEGORY_CODE='HEAD_DECISION''".
Change FIELD_ID to "DECISION_HEAD".
Change ShowFieldName to "One Down/Head".
Click OK.
18. From Tools > Field drag Text Box to the second cell of new row (From step 16) The textLabel shows.
Click icon pencil. The dialog of Text Box Configuration opens.
Change FIELD_ID to "DECISION_HEAD_REMARK".
Change ShowFieldName to "One Down/Head Remark".
Change Alignment to "left".
Click OK.
19. From Leave Request Module click icon append row. The system will append new row to the table.
20. From Tools > Field drag Dynamic List to the first cell of new row (From step 19) The dropdownLabel shows.
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Change Table Name to "wf_ms_list_box".
Change Column Show to "DISPLAY_NAME".
Change Column Value to "DISPLAY_CODE".
Change Condition Value to "CATEGORY_CODE='HR_DECISION''".
Change FIELD_ID to "DECISION_HR".
Change ShowFieldName to "HR".
Click OK.
21. From Tools > Field drag Text Box to the second cell of new row (From step 19) The textLabel shows.
Click icon pencil. The dialog of Text Box Configuration opens.
Change FIELD_ID to "DECISION_HR_REMARK".
Change ShowFieldName to "HR Remark".
Change Alignment to "left".
Click OK.
22. From Leave Request Module click icon append row. The system will append new row to the table.
23. From Tools > Field drag Dynamic List to the first cell of new row (From step 22) The dropdownLabel shows.
Click icon pencil. The dialog of Dynamic List Box Configuration opens.
Change Table Name to "wf_ms_list_box".
Change Column Show to "DISPLAY_NAME".
Change Column Value to "DISPLAY_CODE".
Change Condition Value to "CATEGORY_CODE='AUTHORIZE_DECISION' ".
Change FIELD_ID to "DECISION_AUTH".
Change ShowFieldName to "Authorize".
Click OK.
24 From Tools > Field drag Text Box to the second cell of new row (From step 22) The textLabel shows.
Click icon pencil. The dialog of Text Box Configuration opens.
Change FIELD_ID to "DECISION_AUTH_REMARK".
Change ShowFieldName to "Authorize Remark".
Change Alignment to "left".
Click OK.
25. From Leave Request Module click icon pencil. The system will show Module Configuration.
Add module key by put "REQUEST_ID" to Module Key, put "10" to KeyLen and put "REQUEST_ID_SEQ" to Sequence.
Click button plus(+).
Click OK.
26. From Tools > Tabs drag Normal Tab to the silver box under the table of main tab. The dialog of Add Tab data opens. Put "Normal Leave" to Title, select 1 column and then click Add. The Normal Leave tab show.
27 From Tools > Module drag 1-Many to the box under the Order Item tab.
Click icon pencil. The dialog of Module Configuration opens.
Change Module Name to "Normal Leave".
Change Table Name to "wf_leave_req_item(T)".
Click OK.
28. From Tools > Field drag Hidden to Module Normal Leave. The hiddenLabel shows.
Click icon pencil. The dialog of Hidden Field Configuration opens.
Change FIELD_ID to "LEAVE_ITEM_ID".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Leave Item id".
Click OK.
29. From Tools > Field drag Hidden to Module Normal Leave. The hiddenLabel shows.
Click icon pencil. The dialog of Hidden Field Configuration opens.
Change FIELD_ID to "REQUEST_ID".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Request id".
Click OK.
30. From Tools > Field drag List Box to Module Normal Leave. The hiddenLabel shows.
Click icon pencil. The dialog of List Box Configuration opens.
Change FIELD_ID to "LEAVE_TYPE".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Leave Type".
Change FieldGroup to "1".
Change Seq to "1". 30.6
h to "Y".
Change showSearchSeq to "10".
Change Aligement to "center".
Add value , Set Value = "Errand" , ShowName = "Errand Leave" , SEQ = "1".
Add value , Set Value = "Sick" , ShowName = "Sick Leave" , SEQ = "2".
Add value , Set Value = "Vacation" , ShowName = "Vacation Leave" , SEQ = "3".
Add value , Set Value = "Other" , ShowName = "Other" , SEQ = "4".
Click OK.
31. From Tools > Field drag Text Box to Module Normal Leave. The textLabel shows.
Click icon pencil. The dialog of Text Box Configuration opens.
Change FIELD_ID to "SPECIFY".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Specify".
Change FieldGroup to "1".
Change Seq to "2".
Switch ShowSearch to "Y".
Change showSearchSeq to "20".
Change Alignment to "left".
Click OK.
32. From Tools > Field drag Calendar to Module Normal Leave. The calendar shows.
Click icon pencil. The dialog of Date Configuration opens.
Change FIELD_ID to "START_DATE".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Start Date".
Change FieldGroup to "2".
Change Seq to "1".
Switch ShowSearch to "Y".
Change showSearchSeq to "30".
Change Alignment to "center".
Click OK.
33. From Tools > Field drag Calendar to Module Normal Leave. The calendar shows.
Click icon pencil. The dialog of Date Configuration opens.
Change FIELD_ID to "END_DATE".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "END Date".
Change FieldGroup to "2".
Change Seq to "2".
Switch ShowSearch to "Y".
Change showSearchSeq to "40".
Change Alignment to "center".
Click OK.
34. From Tools > Button drag Module Button to the white box under name of module Normal Leave.
Change buttonName to "Add".
Change Page Action to "SUB_SEARCH".
Change Button Action to "popupActionFlow('[MODULE_ID]')".
Click OK.
35. From Tools > Button drag Module Button to the white box under name of module Normal Leave.
Change buttonName to "Delete".
Change Page Action to "SUB_SEARCH".
Change Button Action to "[MODULE_ID]Delete()".
Click OK.
36. From Tools > Button drag Module Button to the white box under name of module Normal Leave.
Change buttonName to "Save".
Change Page Action to "UPDATE".
Change Button Action to "actionFormSubmit('insertMany','Y')".
Click OK
37. From Tools > Button drag Module Button to the white box under name of module Normal Leave.
Change buttonName to "Save".
Change Page Action to "INSERT".
Change Button Action to "actionFormSubmit('insertMany','Y')".
Click OK.
38. From Tools > Button drag Module Button to the white box under name of module Normal Leave.
Change buttonName to "Cancel".
Change Page Action to "UPDATE".
Change Button Action to "$('#many_[MODULE_ID]_dialog').dialog('close');".
Click OK.
39. From Tools > Button drag Module Button to the white box under name of module Normal Leave.
Change buttonName to "Cancel".
Change Page Action to "INSERT".
Change Button Action to "$('#many_[MODULE_ID]_dialog').dialog('close');".
Click OK.
40. From Normal Leave Module click icon pencil. The system will show Module Configuration.
Add module Key , Select Module Key = "REQUEST_ID" , Parent Key = "REQUEST_ID".
Click button plus(+).
Add module Key , Select Module Key = "LEAVE_ITEM_ID" , KeyLen = "10" , Sequence = "LEAVE_ITEM_ID_SEQ".
Click button plus(+).
Click OK.
41. From Tools > Tabs drag General Tab to behind tab Normal Leave (resemble step.28). The dialog of Add Tab data opens. Put "Replacementl Leave" to Title, select 1 column and then click Add. The Normal Leave tab show.
42. From Tools > Module drag 1-Many to the box under the Replacement Leave.
Click icon pencil. The dialog of Module Configuration opens.
Change Module Name to "Replacement Leave".
Change Table Name to "wf_leave_req_item(T)".
Click OK.
43. From Tools > Field drag Hidden to Module Replacement Leave. The hiddenLabel shows.
Click icon pencil. The dialog of Hidden Field Configuration opens.
Change FIELD_ID to "LEAVE_ITEM_ID".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Leave Item Id".
Click OK.
44. From Tools > Field drag Hidden to Module Replacement Leave. The hiddenLabel shows.
Click icon pencil. The dialog of Hidden Field Configuration opens.
Change FIELD_ID to "REQUEST_ID".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Request Id".
Click OK.
45. From Tools > Field drag Calendar to Module Replacement Leave. The calendar shows.
Click icon pencil. The dialog of Date Configuration opens.
Change FIELD_ID to "WORK_DATE".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Work Date".
Change FieldGroup to "1".
Change Seq to "1".
Switch ShowSearch to "Y".
Change showSearchSeq to "10".
Change Alignment to "center".
Click OK.
46From Tools > Field drag Text Box to Module Replacement Leave. The textLabel shows.
Click icon pencil. The dialog of Text Box Configuration opens.
Change FIELD_ID to "RW_NO".
Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "RW No".
Change FieldGroup to "2".
Change Seq to "1".
Switch ShowSearch to "Y".
Change showSearchSeq to "20".
Change Alignment to "center".
Click OK.
47. From Tools > Field drag Calendar to Module Replacement Leave. The calendar shows.
Click icon pencil. The dialog of Date Configuration opens.
Change FIELD_ID to "START_DATE".
Change ShowFieldName to "Leave Date".
Change FieldGroup to "3".
Change Seq to "1".
Switch ShowSearch to "Y".
Change showSearchSeq to "30".
Change Alignment to "center".
Click OK.
48. From Tools > Button drag Module Button to the white box under name of module Replacement Leave.
Change buttonName to "Delete".
Change Page Action to "SUB_SEARCH".
Change Button Action to "[MODULE_ID]Delete()".
Click OK.
49. From Tools > Button drag Module Button to the white box under name of module Replacement Leave.
Change buttonName to "Add".
Change Page Action to "SUB_SEARCH".
Change Button Action to "popupActionFlow('[MODULE_ID]')".
Click OK.
50. From Tools > Button drag Module Button to the white box under name of module Replacement Leave.
Change buttonName to "Add".
Change Page Action to "INSERT".
Change Button Action to "actionFormSubmit('insertMany','Y')".
Click OK.
51. From Tools > Button drag Module Button to the white box under name of module Replacement Leave.
Change buttonName to "Cancel".
Change Page Action to "INSERT". Change Button Action to "$('#many_[MODULE_ID]_dialog').dialog('close');
Click OK.
52. From Tools > Button drag Module Button to the white box under name of module Replacement Leave.
Change buttonName to "Add".
Change Page Action to "UPDATE".
Change Button Action to "actionFormSubmit('insertMany','Y')".
Click OK.
53. From Tools > Button drag Module Button to the white box under name of module Replacement Leave.
Change buttonName to "Cancel".
Change Page Action to "UPDATE".
Change Button Action to "$('#many_[MODULE_ID]_dialog').dialog('close');".
Click OK.
54. From Replacement Leave Module click icon pencil. The system will show Module Configuration.
Add module Key, Select Module Key = "LEAVE_ITEM_ID", KeyLen = "10", Sequence = "LEAVE_ITEM_ID_SEQ".
Click button plus(+).
Add module Key , Select Module Key = "REQUEST_ID" , Parent Key = "REQUEST_ID".
Click button plus(+).
Click OK.
55. From Tools > Button drag Entity Button to the white box under Leave Request Tab.
Change buttonName to "Add".
Change Page Action to "ENTITY_SEARCH".
Change Button Action to "addEntity()".
Click OK.
56. From Tools > Button drag Entity Button to the white box under Leave Request Tab.
Change buttonName to "Delete".
Change Page Action to "ENTITY_UPDATE".
Change Button Action to "deleteEntity()".
Click OK.
57. From Tools > Button drag Entity Button to the white box under Leave Request Tab.
Change buttonName to "Cancel".
Change Page Action to "ENTITY_UPDATE".
Change Button Action to "cancelEntity()".
Click OK.
58. From Tools > Button drag Entity Button to the white box under Leave Request Tab.
Change buttonName to "Cancel".
Change Page Action to "ENTITY_INSERT".
Change Button Action to "cancelEntity()".
Click OK.
59From Tools > Button drag Entity Button to the white box under Leave Request Tab.
Change buttonName to "Save".
Change Page Action to "ENTITY_UPDATE".
Change Button Action to "saveEntity()".
Click OK.
60. From Tools > Button drag Entity Button to the white box under Leave Request Tab.
Change buttonName to "Save".
Change Page Action to "ENTITY_INSERT".
Change Button Action to "saveEntity()".
Click OK.
61. From Tools > Button drag Entity Button to the white box under Leave Request Tab.
Change buttonName to "Search".
Change Page Action to "ENTITY_SEARCH".
Change Button Action to "searchResult()".
Click OK.