| Workflow modeling procedure |  |
| In order for this procedure to work properly a complete business model must be in place and only the workflow-related information must be added to make it suitable for use by Workflow. Workflow modeling in the repository Activate the Workflow modeling functionality Business process level Business process activity level Workflow attributes Workflow modeling in the project model Business process level Business process activity level Export the project model Activate the Workflow modeling and run time functionality Export the project model to the Workflow Server Activate the Workflow modeling functionality Start the DEM Parameters (tgbrg0135s000) session and select the Only for Modeling option in the Workflow enabled field. Business process level Start the Business Processes (tgbrg5500m000) session. For all the business processes in the business model that are going to be used by Workflow, you must define the following on a business process level: The role that is the initiator of the business process. The employee that has the initiator role can initiate the business process through his or her Worklist Handler The role that is the manager of the business process. The employee that has the manager role can reroute the process instance or an individual work item from one employee to another and receive the rejected process instances and/or work items. On the Specific menu, click Link Roles. Note While modeling the business model roles must have been defined and linked to the business processes and their activities. Business process activity level Select a business process and then on the Specific menu, click the Business Process Editor command. For all the business process activities you can define the following: Extended startup options Through the extended startup options, you can specify: The available session menu commands The session authorization The session startup mode. Extended scheduling Through extended scheduling, you can specify to which employees the activity must be scheduled based on, for example, The process instance owner The process instance creator All the employees in an employee group Multiuser activity Through multiuser activity you can, for example, Perform an inquiry among a group of employees Set the number or percentage of employees that need to respond Set a certain time frame for the response Sending Trigger Workflow also provides a method to trigger another business process automatically without intervention of an employee. You can, for example, trigger a business process based on a dynamic condition that checks if the stock is still on a certain level. If the level is beneath a certain point you can trigger another business process to bring the stock back up to the correct level. Workflow attributes Via workflow attributes you can model the data flow in a business process. Workflow attributes When you have finished modeling the business processes for Workflow, perform a syntax/validity check. Both checks need to be OK for the business processes to be used by Workflow. The syntax/validity check is performed in the Enterprise Modeler Editor. In the Business Process Editor a topic "Syntax checker" is available that explains all errors that might occur. On the Options menu, click the Check Syntax/Validity command. Two options are displayed: Development and Run time. If both checks have been carried out and the result is OK, the Syntax Checked check box in the details session of the Business Processes (tgbrg5500m000) session is automatically selected. Business process level For a business process that is part of a project model, you can define: If the business process is to be used by Workflow If the business process can be initiated in the Worklist Handler The target date The estimated duration The priority An initiator and a manager, who can also be assigned in the repository via the Business Processes (tgbrg5500m000) session Start the Project Models (tgbrg4500m000) session. Select the project model, and on the Specific menu click, the Business Process Model command. The Business Processes by Project Model (tgbrg4560m000) session is started that lists all business processes used by the project model. Select a business process, and on the Specific menu, click Link Roles to set a role as the initiator or manager Double-click a business process to insert the workflow-related information. Business process activity level For a business process activity, workflow-related information can also be defined, such as: The target date The estimated duration The priority. Select a business process and start the Business Process Editor. In the Business Process Editor, double-click an activity. Activate the Workflow modeling and run time functionality Start the DEM Parameters (tgbrg0135s000) session and select the Modeling and Runtime option in the Workflow enabled field. Export the project model to the Workflow Server Before you can actually view the business processes of a project model in the Worklist Handler you need to export and translate the project model to the Workflow Server. A business process must have the workflow status Testing or Finished to be included in the XML export. Start the Export and Translate XML-files to Workflow (tgbrg1288m000) session. Select a project model and optimization phase. Click Export. Related topics example of scheduling To model a trigger to another business process formal to actual definitions |