LogoLogo
EN
EN
  • Release Summary
  • What's new in 5.0.23.04
  • Deprecated and Removed features in 5.0.23.01
  • Get started with Avalant ONEWEB
    • Get started with Avalant ONEWEB
    • Traditional Development vs Low Code
    • ONEWEB Concepts
      • ONEWEB Apps
      • ONEWEB AppSpace
      • ONEWEB Runtimes
      • ONEWEB Designer Studios
  • Install & Configure ONEWEB Platform
    • Install & Configure ONEWEB Platform
    • Plan your ONEWEB Installation
      • Design ONEWEB Architecture
        • Standalone Architecture
        • High Availability Architecture
        • Cloud Architecture
          • Container structure
        • Production vs. Disaster Recovery vs. Testing Environment
        • ONEWEB Server Configuration
        • Monitoring in ONEWEB
      • Sizing Consideration
        • CPU Sizing
        • Memory Sizing
        • Storage Sizing
        • Network Sizing
      • Check Prerequisite for ONEWEB Installation
        • Hardware Requirements
        • Software Requirements
        • Database Requirements
        • Security Requirements
        • Network Requirements
        • Client Requirements
        • Third-party Tools
    • Install and Manage ONEWEB Components
      • User Privileges
      • Prepare Prerequisite Software
        • Prepare Database Server
          • PostgreSQL
        • Prepare Web Server
          • Apache Web Server
        • Prepare Application Server
          • Configuration ONEWEB on Wildfly
            • Step1: Prepare database user permission
            • Step2: Configure access to Wildfly Management Console
            • Step3: Create database driver
            • Step 4: Create datasource
            • Step 5: Deploy the application archives
            • Step 6: Single Sign-On
            • Step 7: Wildfly Encoding and Undertow
            • Step 8: Authentication with Wildfly
            • Step 9: Authentication with LDAP
          • Configure tuning threads
      • Install ONEWEB Application Components
        • Install ONEWEB Application Designer
        • Install ONEWEB Application Server
        • Install ONEWEB Page Designer
        • Install ONEWEB Page Server
      • Install ONEWEB Process Components
        • Install ONEWEB Process Designer
        • Install ONEWEB Process Server
      • Install ONEWEB Integration Components
        • Install ONEWEB Microflow Designer
        • Install ONEWEB Microflow Server
        • Install ONEWEB IAM
      • Verify ONEWEB Installation
        • Application Verification
        • Process Verification
        • Integration Verification
  • Design and Develop ONEWEB Apps
    • Design ONEWEB Apps
      • Choose Between a Web App and a Mobile App
      • Choose your ONEWEB Design Patterns
        • UI Apps: UX/UI only
        • Process Apps Business Process only
        • Interface Apps: Integration with other system only
        • Complex Apps: Combine UX/UI, Business Process and Interfaces
    • Design and Develop UX/UI
      • What is UX/UI?
      • Best Practice for UX/UI
        • Do
        • Don’t
        • How to choose between Smart Form and Page
      • UX/UI Components
        • Smart Forms
          • What is Entity?
          • Modules within an entity
          • Buttons & Actions
          • Entity Modes
          • Smart Form Patterns
            • Single Tab Forms
            • Multiple Tab Forms (General Tab)
            • Parent – Child Forms
          • Create your first Smart Form
            • Step by Step to create your first smart form
            • Deploy your smart form
          • Smart Form Features
            • Universal Search
        • Pages
          • What is page?
          • Page Navigation
          • Page Features
            • Header Footer
            • Dynamic Image
            • Switch Language
            • Custom Font
            • Custom Icon
            • Pass Parameter
            • Signature Pad
            • Theme Designer
            • Local Storage in Page
            • Sync Service in Page
            • Local Notification in Page
            • Push Notification in Page
            • Multi-language
            • Splash Screen
            • Plugin
            • App Icon
            • PGD Directives
            • Charts
            • UI Kits
            • Component Extension
            • Share Pages as Template
            • Page Expression Editor
            • Page Structure window
            • Popup Properties Editor
            • Box Model Editor
            • Environment Variables
            • Improved Drag & Drop
            • Microflow Version settings
            • Custom Dependencies
            • Navbar
            • Display Flex
            • Builder setting
            • Add New Screen
          • Create your first Web Page
            • Step by Step to create your first page
            • Preview Web Page
          • Create your first Mobile App
            • Step by step to create your first mobile page
            • Preview Mobile App
            • Mobile App CI/CD
            • Customizing mobile apps
            • Mobile Application Security
        • Dashboard
          • Widget Dashboard
            • Step to create widget dashboard
              • Create dashboard page
              • Create dashboard menu
              • Create chart widget
              • Add widget on Page
              • Configure chart widget
              • Configure chart series
              • Edit chart series
              • Change the chart to pie chart
              • Change pie color
              • Add another series to chart
              • Change the chart to column stacked chart
              • Change series color
            • Deploy your dashboard
          • Dashboard using Page Extension
            • Add chart to page
            • Create Microflow
            • Integrate chart with data
        • Report
          • Integration with reporting tool
        • Menu & Navigation
          • Menu & Navigation in ONEWEB
          • Link menu to a smart form
          • Link menu to a page
          • Link menu to external URL
      • Mobile UX/UI
        • Web Responsive
          • Smart Form Responsive
          • Web Page Responsive
        • Mobile hybrid
        • Build Mobile App
          • Add CI Server
          • AppStore & Playstore Details
      • UX/UI Customization
        • Smart Form Customization
          • Customize Look & Feel
          • Add Validation Logic
          • Add Calculation Logic
          • Add Custom SQL
          • Add external Java class
        • Page Customization
          • Custom CSS
          • Custom JS action
          • Third party resources
          • Custom extensions
        • Mobile App
      • UX/UI Integration with Process, Micro flow, External UI
        • Smart Form Integration with Process
        • Page Integration with Microflow
        • Page Integration with Process
        • Smart Form Integration with Microflow
      • Import/Export/Clone UX/UI
        • Export Import Clone Smart Forms
          • Export Entity
          • Import Entity
          • Clone Entity
        • Export Import Clone in Pages
          • Export Import App
          • Clone Pages
          • Import page from another App
      • UX/UI Test & Debug guideline
    • Design and Develop Process
      • What is Process?
      • Best practice for Process Design
      • Process Components
        • What is Business Process?
        • Process Template Diagram
        • Process Activity
          • Human Task
            • Task Allocation & Queuing for Human Task
          • Gateway Decision
          • Web Service Task
          • Sub Process
          • Java Task
          • Database Task
          • File Read Task
          • File Input Task
          • Timer
          • Error Handling
          • Event Trigger
          • Push Notification
        • Business Object & Data Mapping
        • Formula Editor
          • Formula Editor for Data Mapping
          • Formula Editor for Gateway Condition
        • Work Party
        • Upload File
        • Environment Configuration
        • Process Instance
      • Start with Business Process in ONEWEB
        • Create a Process in ONEWEB
        • Create your process diagram
        • Simulate your process
        • Deploy your process
      • Integration
        • Integrate Process with UX/UI
        • Integrate Process with Microflow
      • Monitoring
        • Process Monitor
        • Task Monitoring
        • SLA & OLA
        • Monitoring Dashboard
      • Process Validation
      • Import/Export Process
      • Process Deployment from development environment to other environment
      • To Do List
      • Process Test & Debug Guideline
      • Language Switch
      • Process Instance Migration
      • Sync User
      • Custom Extensions
        • Create workspace for Extension
        • Build extension in workspace
        • Install Extension in application
        • Manage the extension
        • Use Extension in workflow
    • Integration with other systems
      • What is ONEWEB Integration?
        • Integrate with other system from/to Microflow
        • Integrate with other system from to Process Flow
        • Integrate with App Runtime
      • Best practice for ONEWEB Integration
      • Microflow vs. Process Flow
      • Develop Integration with ONEWEB Microflow
        • Embedded Microflow vs. Runtime Microflow Server
        • Integration Node
        • Synchronous vs. Asynchronouse
        • Data Mapping
        • Custom Logic/Coding
        • Data Transformation
        • Activity Nodes
          • Exclusive Gateway Node
          • Web Service Task
          • Sub Flow
          • Java Task
          • Database Task
          • Timer
          • Error Handling
          • Push Notification
        • Start with Microflow in ONEWEB
          • Create a Microflow
          • Configure the Flow
          • Simulate your flow
          • Export your Microflow.
            • Embedded Microflow
            • Microflow Server
        • Integrate Microflow with UX/UI
          • Integrate Smart Form with other systems using Microflow
          • Integrate Page with other systems using Microflow
        • Import/Export Microflow
        • Upload File
        • Environment Configuration
        • Language Switch
        • Push Notification
        • Custom Extensions
        • JSON Path Mapping
        • Excel Reader
        • Excel Writer
        • Validation Node
        • JavaScript Node
      • App Runtime REST API
        • Sample use cases for APP Runtime API
        • Create a custom app to call APP Runtime REST API
      • Process Runtime REST API
        • Sample use cases for Process API
    • Design Data & Content Access Management
      • What is Data Access Management?
      • Best practice for Data Access Management
      • Database Access
        • Database Structure
        • Data Access from UX/UI
          • Access Database from Smart Forms
          • Access Database from Page
        • Data Access from Process
          • Database Activity
        • Database Access from Microflow
          • Database Node
      • Images, Files & Documents Access
        • Access from UX/UI
        • Access from Process/ Microflow
    • Design and Implement Security & Compliance
      • What is Security & Compliance?
      • Best practice for Security & Compliance
      • Authentication
        • LDAP Integration
        • Open ID protocol
      • Authorization and Access control
        • Roles, Permissions and Objects
        • Managing Access Control with IAM
          • Create User
          • Manage User Roles & Permissions
          • Manage Permission and Object
          • Manage Role
      • Token in ONEWEB
      • Logging and Audit logging
      • SSL support
    • Design & Develop Low code Apps using AppSpace
      • Create Application in AppSpace
      • Database Tools
        • Data Designer
          • How to create Data Designer app
          • Data Designer tools
          • Entity Properties
          • Compare schemas
        • SQL Builder
          • How to create SQL Builder app
          • SQL Builder tools
          • Connection
        • Data Viewer
          • How to use Data Viewer
          • Data Viewer Tools
      • Manage versions of App
      • Pipeline
        • Deploy Application in ONEWEB
        • Deploy Middleware
        • User Management
        • Distribute Application
      • Manage user access
        • Development Team Management
        • End User Access Management
      • Switch language in AppSpace
      • Link Application
      • Link Component
      • App Details
        • Fix applications with broken link
        • Rename Application
        • Export Application
      • Import Application
      • Cloud Native
  • Sample Apps
    • Sample Apps
    • Workforce App. (Mobile)
      • Database Preparation
      • Create and Test Microflow Service
      • Integrate Microflow with UI to produce dynamic App.
      • Create Mobile UI
    • Order Management App (Web)
      • Database Preparation
      • App Designer
        • Create Order Request Entity
        • Create Order Request Item Entity for Admin
        • Clone Order Request Entity for Admin
        • Link Parent Child Entity for Admin
        • Clone Order Request Entity for Back Office
        • Clone Order Request Item Entity for Back Office
        • Link Parent Child Entity for Back Office
        • Clone Order Request Entity for Authorize
        • Clone Order Request Item Entity for Authorize
        • Link Parent Child Entity for Authorize
        • Clone Order Request Entity for Admin PO
        • Link process button to Process Designer
        • Create menu for requester
      • App Designer Customize
        • Filter Requester search screen by login user
        • Default Requester with login user
        • Validate at least one Order Item when submit
        • Calculate remain order unit
        • Summary Price per order item
        • Summary Price per request
        • Validate order details when back office submits
        • Validate supplier details when admin submit
        • Validate Order Unit and calculate Total Price
      • Process Designer
        • Create Order Request Project
    • Leave Control App
      • Database preparation
      • App Designer
        • Create Leave Request Entity
        • Clone Leave Request Requester Entity
        • Clone Leave Request Supervisor PM Entity
        • Clone Leave Request One Down Head Entity
        • Clone Leave Request HR Entity
        • Clone Leave Request Authorize Entity
        • Link process button to Process Designer
      • Process Designer
        • Create Process Leave Request
  • Reference
    • Reference
    • Page Designer Reference
      • Create a New Application
        • New Mobile Page
        • New Web Page
      • Menu Controls on Pages
        • Web Pages
        • Mobile Pages
      • Page Designer Tools
        • Generic Tools
          • Page Designer Parameter
          • Add element
          • Placing of element
          • Removing element
          • Editing Text
          • Formatting Text
          • Creating Links
          • Uploading Images
          • Add an Image to page
          • Additional Settings
        • Tab
          • Adding Tab on Web
          • Adding Tab on Mobile
        • Menu
          • Adding Menu on Mobile
    • Process Designer Reference
      • Create New Proces
        • Create an Application in AppSpace
        • Create an Application in PD
        • Create Blank Project
        • Create Project Wizard
        • Process template Diagram and Guidelines
      • Process Designer Component
        • Activity Nodes
          • Human
          • Sub Process
          • File Read
          • Web Service
          • Java
          • Database
          • File Write
          • Push Notification
        • Event
          • Start
          • End
          • File Input
        • Gateway
          • Exclusive
          • Parallel
          • Inclusive
        • Boundary Events
          • Timer
          • Error
        • Pool/Lane
        • Work Party
        • Upload File
        • Environment Configuration
        • Custom Extensions
          • Create workspace for Extension
          • Build extension in workspace
          • Install Extension in application
          • Manage the extension
          • Use Extension in workflow
    • App Designer Reference
      • Entity
        • Create New Entity
          • Module
            • One to Many
            • One to Many
            • Reusing Module
          • Fields
            • Label
            • Hidden
            • Radio
            • Checkbox
            • Text area
            • Dynamic
            • List Box
            • Suggestion
            • Popup
            • Calendar
            • No Object
            • MultiSelect
            • Upload
            • Text Box
          • Buttons
          • Actions
          • Tabs
            • Normal Tab
            • 2 Layer Tab
        • Export Entity
        • Import Entity
        • Clone Entity
      • Search
      • Utilities
        • Menu Configuration
        • Parent Child Utility
        • Master data Import Export
        • Datasource Configuration
  • API Guide
    • API Guide
    • App Runtime API
      • List all methods of REST API and explain the API functionality
    • Process Runtime API
      • List all methods of REST API and explain the API functionality
    • Session Manipulation API
      • List all methods of Java API and explain the API functionality
    • Microflow Runtime API
      • List all methods of REST API and explain the API functionality
    • IAM2 API
      • List all methods of REST API and explain the API functionality
Powered by GitBook
On this page
Export as PDF
  1. Sample Apps
  2. Order Management App (Web)
  3. Process Designer

Create Order Request Project

Learn about step to create Process Designer project for Order Management Application. From ONEWEB Process Designer screen, click Create Project > Create Project Wizard. The Create Project Wizard screen opens.

  1. First step. (Project Name) 1.1 Put "DOC Order Request" at Project Name. 1.2 Click Next

  2. Second step. (Define Business Object) 2.1 Move cursor to "Process Parameter" and click. 4 icons show then click icon Add parameter. The popup dialog of Parameter Form opens. 2.2 Put "DOCOrderRequestBO" to Name Parameter. 2.3 Click Submit. 2.4 Move cursor to "DOCOrderRequestBO" and click. 4 icons show then click icon Add parameter. The popup dialog of Parameter Form opens. 2.5 Put "RequestId" to Name Parameter. 2.6 Click Submit. 2.7 Move cursor to "DOCOrderRequestBO" and click. 4 icons show then click icon Add parameter. The popup dialog of Parameter Form opens. 2.8 Put "Requester" to Name Parameter. 2.9 Click Submit. 2.10 Move cursor to "DOCOrderRequestBO" and click. 4 icons show then click icon Add parameter. The popup dialog of Parameter Form opens. 2.11 Put "TotalAmt" to Name Parameter. 2.12 Change Parameter type to "Decimal" 2.13 Click Submit. 2.14 Move cursor to "DOCOrderRequestBO" and click. 4 icons show then click icon Add parameter. The popup dialog of Parameter Form opens. 2.15 Put "Decision" to Name Parameter. 2.16 Click Submit. Move cursor to "DOCOrderRequestBO" and click. 4 icons show then click icon Add parameter. 2.17 The popup dialog of Parameter Form opens. 2.18 Put "Email" to Name Parameter. 2.19 Click Submit. 2.20 Move cursor to "DOCOrderRequestBO" and click. 4 icons show then click icon Clone Business Object. The same parameters will copy to the right side. 2.21 Click Next.

  3. Third step. (Create Work Party) 3.1 Put "ADMIN WP" to Work Party Name. 3.2 Click Add button. 3.3 Put "BACK OFFICE WP" to Work Party Name of the new record. 3.4 Click Add button. 3.5 Put "AUTHORIZE WP" to Work Party Name of the new record. 3.6 Click Next.

  4. Fourth step. (Create User) 4.1 Put user to Member Id. 4.2 Put user name to Member Name. 4.3 Select Work Party Name. 4.4 Click Add button. 4.5 We can lookup existing user by click button Lookup existing member. 4.6 Follow step 4.1 to 4.4 for all user (All work party must have at least 1 user). 4.7 Click Next.

  5. Last step. (Create Process) 5.1 Put "DOC Order Request" to Process Name. 5.2 Click radio Private. 5.3 Put "Add supplier" to What? 5.4 Put "ADMIN WP" to Who? 5.5 Click Finish.

  6. Project DOC Order Request with process name DOC Order Request created then click Save button.

  7. From Event, drag Start to lane ADMIN WP (in front of activity "Add supplier")

  8. Move cursor to activity "Start" until cursor pointer change to cursor hand (middle right) 8.1. Hold click and move cursor to activity "Add supplier". Link line will appear.

  9. Double click at activity "Add supplier". The property panel will appear. 9.1 At tab "BusinessObject" 9.1.2 Parameter name will default as "DOCOrderRequestBO". 9.1.2 Selected both of Input and Output checkbox. 9.1.3 Click button "Open Mapping Parameter". The screen will redirect to Mapping Parameter screen. 9.1.4 Click line between Input box and Mapping box. The mapping panel will appear. 9.1.5 Move cursor to "DOCOrderRequestBO" at the left side and click. The icon Add to Mapping box will appear then click it. 9.1.6 Move cursor to "DOCOrderRequestBO" at the right side and click. The icon Add to Mapping box 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. 9.1.7 Click Save. 9.1.8 Click line between Mapping box and Output box. The mapping panel will appear. 9.1.9 Move cursor to "DOCOrderRequestBO" at the left side and click. The icon Add to Mapping box will appear then click it. 9.1.10 Move cursor to "DOCOrderRequestBO" at the right side and click. The icon Add to Mapping box 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. 9.1.11 Click Save. 9.1.12 Click Close. 9.2. Double click at activity "Add supplier" again. 9.3. At tab "Assignment Policy" 9.3.1 Click Setting and change drop down to "Round Robin". 9.3.2 Click Work party name and change Work party name to "ADMIN WP". 9.4. At tab "Load Entity" 9.4.1 Change Entity to "Doc Order Request - Admin". 9.4.2 Change Key to "REQUEST_ID". 9.4.3 Change Value to "${DOCOrderRequestBO.RequestId}" 9.4.4 Click Save Panel.

  10. From Gateway, drag Exclusive to under the activity "Add supplier" 10.1 Double click at Exclusive. The property will appear then change Name to "Admin Decision". 10.2 Click Save Panel. Link line from activity "Add supplier" to gateway"Admin Decision". 10.3 Click button Save.

  11. Prepare Jar file for send email. 11.1 Create java project name "SendEmail". 11.2 Create class "com.email.SendEmail". 11.3 Put below coding to class SendEmail.

    package com.email;
    public class SendEmail {
            public void sendEmail(String requestId, String emailTo){ 
                System.out.println("#######################SendEmail#######################");
                System.out.println("requestId :" + requestId);
                System.out.println("emailTo :" + emailTo);
                System.out.println("Coding to send email here.");
                System.out.println("-----------------------Send Email-----------------------"); 
            } 
    } 

11.4 Export project to SendEmail.jar

12. From Activity, drag Database to begin the gateway "Admin Decision". The new database activity name "Database" will appear then double click it. 12.1 At tab General, change Name to "Find Email". 12.2 At tab Business Object, follow by step 9.1 12.3 At tab Database Parameter. 12.3.1 Select JNDI at Connection Type. 12.3.2 Put "jdbc/application" to JNDI Name. 12.3.3 Select "Select" at Command Type. 12.3.4 Put "select email from wf_ms_employee where employee_id = ?" to Command. 12.3.5 Click button Open Mapping Parameter. The system will redirect to Mapping Parameter. 12.3.6 Click line between Input box and Mapping box. The mapping panel will appear. 12.3.7 Move cursor to "DatabaseDummyObject" and click. 2 icons will appear then click at icon Add parameter. The popup dialog of Parameter Form opens. 12.3.8 Put "employee_id" to Name Parameter. 12.3.9 Click Submit. The new parameter name "employee_id" will appear. 12.3.10 Move cursor to "Requester" at the left side and click. The icon Add to Mapping box will appear then click it. 12.3.11 Move cursor to "employee_id" at the right side and click. 3 icons will appear then click at icon Add to Mapping box. The Confirm Mapping dialog will appear then click Yes. The link line will appear. 12.3.12 Click Save. 12.3.13 Click line between Mapping box and Output box. The mapping panel will appear. 12.3.14 Move cursor to "DatabaseDummyObject" and click. 2 icons will appear then click at icon Add parameter. The popup dialog of Parameter Form opens. 12.3.15 Put "email" to Name Parameter. 12.3.16 Click Submit. The new parameter name "employee_id" will appear. 12.3.17 Move cursor to "email" at the left side and click. 3 icons will appear then click at icon Add to Mapping box. 12.3.18 Move cursor to "Email" at the right side and click. The icon Add to Mapping box will appear then click it. The Confirm Mapping dialog will appear then click Yes. The link line will appear. 12.3.19 Click Save. 12.3.20 Click Close. The screen will redirect back to the diagram 12.4 Link line from gateway "Admin Decision" to activity "Find Email" and duble click at that line. Gateway parameter will appear. 12.4.1 Put "Reject" to Label. 12.4.2 Click at button Condition. The dialog of Formular Editor will open. 12.4.3 Drag "DOCOrderRequestBO.Decision" to Formular Panel. 12.4.4 Drag "==" to behind "DOCOrderRequestBO.Decision". 12.4.5 Drag "N" to behind "==" and change value to '"02"'. 12.4.6 Click Save. The system will auto generate Condition value. 12.4.7 Click Save Panel.

13. From Activity, drag Java to upper the activity "Find Email". The new java activity name "Java" will appear then double click it. 13.1. At tab General, change Name to "Send Email". 13.2 At tab Business Object, follow by step 9.1. 13.3 At Java Parameter. 13.3.1 Click button Choose Jar then select jar file from stem 12. 13.3.2 Click button Get Class Name. The system will auto populate data from jar file. 13.3.3 Check that Class name is "com.email.SendEmail" and Method name is "public void sendEmail(java.lang.String,java.lang.String)" 13.3.4 Click button Open Mapping Parameter. The system will redirect to Mapping Parameter. 13.3.5 Click line between Input box and Mapping box. The mapping panel will appear. 13.3.6 Move cursor to "RequestId" at the left side and click. The icon Add to Mapping box will appear then click it. 13.3.7 Move cursor to "requestId" at the right side and click. The icon Add to Mapping box will appear then click it. The Confirm Mapping dialog will appear then click Yes. The link line will appear. 13.3.8 Move cursor to "Email" at the left side and click. The icon Add to Mapping box will appear then click it. 13.3.9 Move cursor to "emailTo" at the right side and click. The icon Add to Mapping box will appear then click it. The Confirm Mapping dialog will appear then click Yes. The link line will appear. 13.3.10 Click Save. 13.3.11 Click Close. The screen will redirect back to the diagram 13.4 Link line from activity "Find Email" to activity "Send Email"

14. From Event, drag End to behind activity "Send Email" 14.1 Link line from activity "Send Email" to event "End".

15. From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear. 15.1 Double click at new lane. The Lane property will appear then change Lane Name to "BACK OFFICE WP" 15.2 Click Save Panel.

16. From Activity, drag Human to new lane under Gateway "Admin Decision". The activity name "Human" will appear then double click it. The property panel will appear. 16.1 At tab "General" 16.1.1 Change Name to "Back Office Process" 16.2 At tab "Business Object" 16.2.1 Parameter name will default as "DOCOrderRequestBO". 16.2.2 Selected both of Input and Output checkbox. 16.2.3 Click button "Open Mapping Parameter". The screen will redirect to Mapping Parameter screen. 16.2.4 Click line between Input box and Mapping box. The mapping panel will appear. 16.2.5 Move cursor to "DOCOrderRequestBO" at the left side and click. The icon Add to Mapping box will appear then click it. 16.2.6 Move cursor to "DOCOrderRequestBO" at the right side and click. The icon Add to Mapping box 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. 16.2.7 Click Save. 16.2.8 Click line between Mapping box and Output box. The mapping panel will appear. 16.2.9 Move cursor to "DOCOrderRequestBO" at the left side and click. The icon Add to Mapping box will appear then click it. 16.2.10 Move cursor to "DOCOrderRequestBO" at the right side and click. The icon Add to Mapping box 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. 16.2.11 Click Save. 16.2.12 Click Close. 16.3. At tab "Assignment Policy" 16.3.1 Click Setting and change drop down to "Pull". 16.3.2 Click Work party name and change Work party name to "BACK OFFICE WP". 16.4 At tab "Load Entity" 16.4.1 Change Entity to "Doc Order Request - Back Office". 16.4.2 Change Key to "REQUEST_ID". 16.4.3 Change Value to "${DOCOrderRequestBO.RequestId}" 16.5 Click Save Panel. 16.6 Link line from Gateway "Admin Decision" to activity "Back Office Process" and double click at that line. Gateway parameter will appear. 16.6.1 Put "Approve" to Label. 16.6.2 Click at button Condition. The dialog of Formular Editor will open. 16.6.3 Drag "DOCOrderRequestBO.Decision" to Formular Panel. 16.6.4 Drag "==" to behind "DOCOrderRequestBO.Decision". 16.6.5 Drag "N" to behind "==" and change value to ""01"" 16.6.6 Click Save. The system will auto generate Condition value. 16.6.7 Click Save Panel.

17. From Gateway, drag Exclusive to under the activity "Back Office Process" 17.1 Double click at Exclusive. The property will appear then change Name to "Back Office Decision". 17.2 Click Save Panel. 17.3 Link line from activity "Back Office Process" to gateway "Back Office Decision" 17.4 Click button Save. 17.5 Link line from gateway "Back Office Decision" to activity "Find Email" and double click at that line. Gateway parameter will appear. 17.5.1 Put "Reject" to Label. 17.5.2 Click at button Condition. The dialog of Formular Editor will open. 17.5.3 Drag "DOCOrderRequestBO.Decision" to Formular Panel. 17.5.4 Drag "==" to behind "DOCOrderRequestBO.Decision". 17.5.5 Drag "N" to behing "==" and change value to ""02"" 17.5.6 Click Save. The system will auto generate Condition value. 17.5.7 Click Save Panel.

18. From Gateway, drag Exclusive to under the Gateway "Back Office Decision" 18.1 Double click at Exclusive. The property will appear then change Name to "Validate Limit". 18.2 Click Save Panel. 18.3 Link line from gateway "Back Office Decision" to gateway "Validate Limit" and double click at that line. Gateway parameter will appear. 18.3.1 Put "Approve" to Label. 18.3.2 Click at button Condition. The dialog of Formular Editor will open. 18.3.3 Drag "DOCOrderRequestBO.Decision" to Formular Panel. 18.3.4 Drag "==" to behind "DOCOrderRequestBO.Decision". 18.3.5 Drag "N" to behind "==" and change value to ""01"" 18.3.6 Click Save. The system will auto generate Condition value. 18.3.7 Click Save Panel. 18.4 Click button Save.

19. From Activity, drag Human to lane "ADMIN WP" behind activity "Find Email". The activity name "Human" will appear then double click it. The property panel will appear. 19.1 At tab "General" 19.1.1 Change Name to "Purchase Order" 19.2. At tab "Business Object" 19.2.1 Parameter name will default as "DOCOrderRequestBO". 19.2.2 Selected both of Input and Output checkbox. 19.2.3 Click button "Open Mapping Parameter". The screen will redirect to Mapping Parameter screen. 19.2.4 Click line between Input box and Mapping box. The mapping panel will appear. 19.2.5 Move cursor to "DOCOrderRequestBO" at the left side and click. The icon Add to Mapping box will appear then click it. 19.2.6 Move cursor to "DOCOrderRequestBO" at the right side and click. The icon Add to Mapping box 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. 19.2.7 Click Save. 19.2.8 Click line between Mapping box and Output box. The mapping panel will appear. 19.2.9 Move cursor to "DOCOrderRequestBO" at the left side and click. The icon Add to Mapping box will appear then click it. 19.2.10 Move cursor to "DOCOrderRequestBO" at the right side and click. The icon Add to Mapping box 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. 19.2.11 Click Save. 19.2.12 Click Close. 19.3 At tab "Assignment Policy" Click Setting and change drop down to "Pull". Click Work party name and change Work party name to "ADMIN WP". 19.4 At tab "Load Entity" 19.3.1 Change Entity to "Doc Order Request - Admin PO". 19.3.2 Change Key to "REQUEST_ID". 19.3.3 Change Value to "${DOCOrderRequestBO.RequestId}" 19.5 Click Save Panel. 19.6 Link line from Gateway "Validate Limit" to activity "Purchase Order" and duble click at that line. Gateway parameter will appear. 19.6.1 Put "Normal Approve" to Label. 19.6.2 Click at button Condition. The dialog of Formular Editor will open. 19.6.3 Drag "DOCOrderRequestBO.TotalAmt" to Formular Panel. 19.6.4 Drag "<=" to behind "DOCOrderRequestBO.TotalAmt". 19.6.5 Drag "N" to behind "<=" and change value to "40000" 19.6.6 Click Save. The system will auto generate Condition value. 19.6.7 Click Save Panel. 19.7 Link line from activity "Purchase Order" to activity "Find Email"

20. From Pool/Lane, drag Horizontal to the diagram. The new lane name "Lane" will appear. 20.1 Double click at new lane. The Lane property will appear then change Lane Name to "AUTHORIZE WP". 20.2 Click Save Panel.

21. From Activity, drag Human to new lane. The activity name "Human" will appear then double click it. The property panel will appear. 21.1 At tab "General" 21.1.1 Change Name to "Authorize Process" 21.2 At tab "BusinessObject" 21.2.1 Parameter name will default as "DOCOrderRequestBO". 21.2.2 Selected both of Input and Output checkbox. 21.2.3 Click button "Open Mapping Parameter". The screen will redirect to Mapping Parameter screen. 21.2.4 Click line between Input box and Mapping box. The mapping panel will appear. 21.2.5 Move cursor to "DOCOrderRequestBO" at the left side and click. The icon Add to Mapping box will appear then click it. 21.2.6 Move cursor to "DOCOrderRequestBO" at the right side and click. The icon Add to Mapping box 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. 21.2.7 Click Save. 21.2.8 Click line between Mapping box and Output box. The mapping panel will appear. 21.2.9 Move cursor to "DOCOrderRequestBO" at the left side and click. The icon Add to Mapping box will appear then click it. 21.2.10 Move cursor to "DOCOrderRequestBO" at the right side and click. The icon Add to Mapping box 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. 21.2.11 Click Save. 21.2.12 Click Close. 21.3 At tab "Assignment Policy" 21.3.1 Click Setting and change drop down to "Load Balance". 21.3.2 Click Workparty name and change Workparty name to "AUTHORIZE WP". 21.4 At tab "Load Entity" 21.4.1 Change Entity to "Doc Order Request - Authorize". 21.4.2 Change Key to "REQUEST_ID". 21.4.3 Change Value to "${DOCOrderRequestBO.RequestId}" 21.5 Click Save Panel. 21.6 Link line from Gateway "Validate Limit" to activity "Authorize Process" and duble click at that line. Gateway parameter will appear. 21.6.1 Put "Exception Approve" to Label. 21.6.2 Click at button Condition. The dialog of Formular Editor will open. 21.6.3 Drag "DOCOrderRequestBO.TotalAmt" to Formular Panel. 21.6.4 Drag ">" to behind "DOCOrderRequestBO.TotalAmt". 21.6.5 Drag "N" to behind ">" and change value to "40000". 21.6.6 Click Save. The system will auto generate Condition value. 21.6.7 Click Save Panel.

22. From Gateway, drag Exclusive to behind the activity "Authorize Process" 22.1 Double click at Exclusive. The property will appear then change Name to "Authorize Decision". 22.2 Click Save Panel. 22.3 Link line from activity "Authorize Process" to gateway"Authorize Decision" 22.4 Click button Save. 22.5 Link line from gateway"Authorize Decision" to activity "Find Email" and double click at that line. Gateway parameter will appear. 22.5.1 Put "Reject" to Label. 22.5.2 Click at button Condition. The dialog of Formular Editor will open. 22.5.3 Drag "DOCOrderRequestBO.Decision" to Formular Panel. 22.5.4 Drag "==" to behind "DOCOrderRequestBO.Decision". 22.5.5 Drag "N" to behing "==" and change value to ""02"". 22.5.6 Click Save. The system will auto generate Condition value. 22.5.7 Click Save Panel. 22.6 Link line from gateway"Authorize Decision" to activity "Purchase Order" and double click at that line. Gateway parameter will appear. 22.6.1 Put "Approve" to Label. 22.6.2 Click at button Condition. The dialog of Formular Editor will open. 22.6.3 Drag "DOCOrderRequestBO.Decision" to Formular Panel. 22.6.4 Drag "==" to behind "DOCOrderRequestBO.Decision". 22.6.5 Drag "N" to behing "==" and change value to ""01"". 22.6.6 Click Save. The system will auto generate Condition value. 22.6.7 Click Save Panel.

23. Click button Save.

24. Click Choose Deploy > Only Validate, The system will validate basic configuration. 24.1. The system will show dialog with Save Status "Validation Success". 24.2 If miss some step, the system will show dialog with Save Status "Validation Error" and show warning orange icon. 24.2.1 Move cursor to warning icon to see error detail and try to fix it.

25. If validation success, click Choose Deploy > Quick Deploy. The system will show dialog with Save Status "Deploy Success" then click close.

The completed process should look as shown below

Last updated 3 years ago