| # Business process sessions in the Modeler Business process sessions in the Modeler The following LN sessions can only be started when you create or modify a business process diagram in the Process Modeler Workbench. 业务流程活动 (tgbrg5122s000) To define the basic data of activities and control activities, use the 业务流程活动 (tgbrg5122s000) session. An activity can be: Of the type manual activity A nested business process An application To start the session, double-click an activity or right-click an activity and click 属性. To create an activity, complete the following steps: Manual Activity: In the 活动类型 field, select 人工活动. In the 活动说明 field, specify a description for the activity. Click OK Business Process: In the 活动类型 field, select Business Process. In the 代码 field, select the business process that must be linked to the activity. To have the description of the selected business process, as stored in the 业务流程 (tgbrg5500m000) session, used in the activity, select the 链接说明 check box. If you do not select this check box, you can specify a description in the 活动说明 field. Click OK Application: In the 活动类型 field, select 应用程序. In the 组件 and 组件版次 field, select a combination of a component and component release to which the application belongs. In the 添加的应用程序 field, select the application that you want to link to the activity. To have the description of the selected application, as stored in the 按组件列出的应用程序 (tgbrg5155m000) session, used in the activity, select the 链接说明 check box. If you do not select this check box, you can specify a description in the 活动说明 field. On the 启动选项 tab, in the 应用程序权限 field, select one of these levels of authorization for the application: 所有权限 打印/显示 显示 打印报告 The authorization you select here applies to the employees that have the role that authorizes them to carry out that specific activity. You can also remove specific form commands. Therefore, users cannot start processes through the specific menu. Click OK.
Application specific options
Field | Description
--- | ---
变量 | You can specify a constant value or variable in this field. To use a variable in this field, a dollar sign ($) must be placed in front of the variable name.
启动选项 | Select the applications start option that must automatically be started when the application is started; this option is only applicable to Baan sessions.
特定选项 | If the 启动选项 field is set to 视图, 参考, 操作, you can select a form command of the selected application (LN session). When the application is started, the form command is started automatically.
首先查找 | If you select this check box, a Find Record action is performed at startup of the LN session. The 首先查找 check box can only be selected if you select 视图, 参考, 操作 as the Start Option. For all the other start options, a do find first action is automatically carried out.
可用选项 | In this group box, you can select one or more options that can be carried out at run time; this option is only available if the application is an LN session.
进程启动类型 | Select the way in which the LN session must be started. Select one of the following values: 单一事件进程 多个事件（单个记录） 多个事件（多个记录）
业务流程状态 (tgbrg5130s000) To define a description for the state and specify an external code, use the 业务流程状态 (tgbrg5130s000) session. This code indicates the position of that state relative to other states. |