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 project model

Activate the Workflow modeling functionality

Start the Parâmetros do DEM (tgbrg0135s000) session and select the Only for Modeling option in the Workflow enabled field.

Business process level
  1. Start the Processos de negócios (tgbrg5500m000) session.
  2. 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.
  3. 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
  1. Select a business process and then on the Specific menu, click the Business Process Editor command.
  2. 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 Processos de negócios (tgbrg5500m000) session is automatically selected.

Business process level

For a business process that is part of a project model, you can define:

  1. Start the Modelos de projeto (tgbrg4500m000) session.
  2. Select the project model, and on the Specific menu click, the Business Process Model command. The Processos de negócios por modelo de projeto (tgbrg4560m000) session is started that lists all business processes used by the project model.
  3. Select a business process, and on the Specific menu, click Link Roles to set a role as the initiator or manager
  4. 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.
  1. Select a business process and start the Business Process Editor.
  2. In the Business Process Editor, double-click an activity.
Activate the Workflow modeling and run time functionality

Start the Parâmetros do DEM (tgbrg0135s000) session and select the Modeling and Runtime option in the Workflow enabled field.