<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tg/wfm/tgwfm1110m000" xml:lang="en">
   <Header>
      <Title>Workflow Trigger Conditions (tgwfm1110m000)</Title>
   </Header>
   <HelpTopic>
      <AimSection>
         <Paragraph>Use this session to define the Workflow
		  trigger conditions.</Paragraph>
      </AimSection>
      <GeneralSection>
         <Paragraph>It is not mandatory to define Workflow trigger conditions.
		  Each event that is defined in the <Link href="/baanerp/tg/wfm/tgwfm1100m000" role="session">Workflow Triggers (tgwfm1100m000)</Link> session already executes the trigger at run time.
		  However, you can use conditions to indicate that not all events are valid. For
		  example, notification of a change is only needed if a certain status is
		  reached.</Paragraph>
         <Paragraph>You can only start this session from the <GUIRef href="/baanerp/tg/wfm/tgwfm1100m000" role="session">Workflow Triggers (tgwfm1100m000)</GUIRef> session. In this session, you must enter the Table
		  Field field on which the trigger condition is based. You can only select a
		  field from the table that is specified in the <GUIRef href="/baanerp/tg/wfm/tgwfm1100m000" role="session">Workflow Triggers (tgwfm1100m000)</GUIRef> session. In the <Link href="/baanerp/tg/wfm/tgwfm1110m000#tgwfm110.oper" role="formfield">Operand</Link> field, you must define the comparison operator.</Paragraph>
         <Paragraph>In the <GUIRef href="/baanerp/tg/wfm/tgwfm1110m000#tgwfm110.valu" role="manual">Value</GUIRef> field, you must enter a static value for the
		  table field. The table field's contents are compared with the entered value at
		  run time.</Paragraph>
         <Paragraph>You must select the <GUIRef href="/baanerp/tg/wfm/tgwfm1110m000#tgwfm110.beco" role="manual">Becomes</GUIRef> check box if you only want the condition to
		  be valid the first time the entered table field receives the specified value.
		  For example, you only want to trigger a process when a status becomes Approved
		  for the first time and not when changes are made to a record with the Approved
		  status.</Paragraph>
         <List>
            <ListIntro>In the <GUIRef href="/baanerp/tg/wfm/tgwfm1110m000#tgwfm110.bope" role="manual">Line Operator</GUIRef> field, you must specify the relation
			 between two conditions. You can select the following values:</ListIntro>
            <ListItem>AND: the first and the second condition must both
			 apply.</ListItem>
            <ListItem>OR: either the first or the second condition must
			 apply.</ListItem>
            <ListItem>END: the condition is the last condition.</ListItem>
         </List>
      </GeneralSection>
   </HelpTopic>
   <Fields>
      <FieldHelp ID="tgwfm110.sequ">
         <Header>
            <Title>Condition Number</Title>
         </Header>
         <FuncDesc>The sequence number for the trigger condition, which starts
		  with 10 by default. This number indicates the evaluation sequence for the
		  conditions.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgwfm110.tabl">
         <Header>
            <Title>Table Field</Title>
         </Header>
         <FuncDesc>The table field on which the trigger condition is based. You
		  can only select a field from the table that is specified in the <Link href="/baanerp/tg/wfm/tgwfm1100m000" role="session">Workflow Triggers (tgwfm1100m000)</Link> session.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgwfm110.oper">
         <Header>
            <Title>Operand</Title>
         </Header>
         <FuncDesc>Use this field to define the comparison operator.</FuncDesc>
         <SimpleSection>
            <Paragraph>You can select the following operators:</Paragraph>
            <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
               <THEAD noTR="1">
                  <TR no="1" isLast="true">
                     <TD rowspan="1" colspan="1">Operator</TD>
                     <TD rowspan="1" colspan="1">Description</TD>
                  </TR>
               </THEAD>
               <TBODY noTR="6">
                  <TR no="1" isLast="false">
                     <TD rowspan="1" colspan="1">=</TD>
                     <TD rowspan="1" colspan="1">The
					 table field must be equal to the specified
					 value.</TD>
                  </TR>
                  <TR no="2" isLast="false">
                     <TD rowspan="1" colspan="1">&gt;</TD>
                     <TD rowspan="1" colspan="1">The table field, for example an amount,
					 must be greater than the specified value.</TD>
                  </TR>
                  <TR no="3" isLast="false">
                     <TD rowspan="1" colspan="1">&lt;</TD>
                     <TD rowspan="1" colspan="1">The
					 table field, for example an amount, must be smaller than the specified value.</TD>
                  </TR>
                  <TR no="4" isLast="false">
                     <TD rowspan="1" colspan="1">&gt;=</TD>
                     <TD rowspan="1" colspan="1">The table field must be greater than or equal
					 to the specified value.</TD>
                  </TR>
                  <TR no="5" isLast="false">
                     <TD rowspan="1" colspan="1">&lt;=</TD>
                     <TD rowspan="1" colspan="1">The table field must be
					 smaller than or equal to the specified
					 value.</TD>
                  </TR>
                  <TR no="6" isLast="true">
                     <TD rowspan="1" colspan="1">&lt;&gt;</TD>
                     <TD rowspan="1" colspan="1">The table field must not be equal to
					 the specified value.</TD>
                  </TR>
               </TBODY>
            </TABLE>
         </SimpleSection>
      </FieldHelp>
      <FieldHelp ID="tgwfm110.valu">
         <Header>
            <Title>Value</Title>
         </Header>
         <FuncDesc>Use this field to enter a static value for the table field. At
		  run time, the table field's contents are compared with the entered
		  value.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgwfm110.beco">
         <Header>
            <Title>Becomes</Title>
         </Header>
         <FuncDesc>Select this check box if you only want the condition to be
		  valid the first time the entered table field receives the specified value.</FuncDesc>
         <SimpleSection>
            <Paragraph>For example, you only want to trigger a process when a
			 status becomes Approved for the first time and not when changes are made to a
			 record with the Approved status.</Paragraph>
         </SimpleSection>
      </FieldHelp>
      <FieldHelp ID="tgwfm110.bope">
         <Header>
            <Title>Line Operator</Title>
         </Header>
         <FuncDesc>Use this field to specify the relation between two
		  conditions.</FuncDesc>
         <SimpleSection>
            <List>
               <ListIntro>You can select the following values:</ListIntro>
               <ListItem>AND: the first and the second condition must both
				apply.</ListItem>
               <ListItem>OR: either the first or the second condition must
				apply.</ListItem>
               <ListItem>END: the condition is the last condition.</ListItem>
            </List>
         </SimpleSection>
      </FieldHelp>
   </Fields>
</Session>