| # Workflow Triggers (tgwfm1100m000) use.session.to define the Workflow Triggers. The Workflow trigger that is defined in this session is used to start a process from the defined template. Main Trigger Data fields are: The Trigger Name that you enter must be a unique string. The Template Name that you enter must be the name of the template that is used in i-Flow. The Trigger Type can be one of the following: Table Invocation: The trigger is the result of an action on a table. For that table audit needs to be on. The session generates an exchange scheme, which is used on runtime for the creation of the XML file for the Workflow server. Application Invocation: The trigger is invoked from an application. It is called on by an API from a customized session. The Table Name that you enter is the table on which the trigger is based. If a table name is entered, you can link trigger conditions and trigger User Defined Attributes (UDAs) to the available table fields. Start the Workflow Trigger Conditions (tgwfm1110m000) session to link trigger conditions and start the Workflow Trigger UDA's (tgwfm1120m000) to link trigger UDAs. You must also define the type of table event that starts the trigger. At least one of the following events must be specified: Create event: The trigger results from a create action in a table. Delete event: The trigger results from a delete action in a table. Change event: The trigger results from a modify action in a table. Note You can only define conditions if the Trigger Type is Table Invocation. If the Trigger Type is set to Application Invocation, you must only link trigger UDAs. Change Data These fields show: the date and time of the latest modification to the Workflow Trigger Data the date and time the underlying generic trigger data and Exchange scheme were generated for the last time. This information helps you signaling when changes to triggering data in Workflow are not synchronized with the triggering data in the Triggering module of the Data Director (da) package. To synchronize this data, click Generate. Trigger Name Use this field to enter the name of the trigger, which must be a unique string. Trigger Description Use this field to enter a description for the trigger. Template Name Use this field to enter a template name, which must be the name of the template that is used in i-Flow. The Workflow trigger that is defined in this session is used to start the process. Trigger Type Use this field to enter a trigger type, which can be one of the following Application Invocation: The trigger is invoked from an application. It is called on by an API from a customized session. Table Invocation: The trigger is invoked from an audit table. As a result, an exchange scheme is generated from the Workflow trigger data and used at run time. Table Name Use this field to enter a table name, which is the table on which the trigger is based. You can link trigger conditions and trigger User Defined Attributes (UDAs) to the available table fields. Start the Workflow Trigger Conditions (tgwfm1110m000) session to link trigger conditions and start the Workflow Trigger UDA's (tgwfm1120m000) session to link trigger UDAs. Create Event Select this check box if the table event that must start the trigger is a create action. Delete Event Select this check box if the table event that must start the trigger is a delete action. Change Event Select this check box if the table event that must start the trigger is a modification. |