<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/000042" xml:lang="en">
   <Header>
      <Title>Workflow modeling procedure</Title>
   </Header>
   <GeneralSection>
      <Paragraph>In order for this procedure to work properly a complete <Link href="/baanerp/tg/glossary/glossary#000006" role="glossary">business model</Link> must be in
		place and only the workflow-related information must be added to make it
		suitable for use by <GUIRef href="/baanerp.workflow" role="package">Workflow</GUIRef>.</Paragraph>
      <List>
         <ListTitle>Workflow modeling in the repository</ListTitle>
         <ListItem>
            <Link href="#A" role="internal">Activate the <GUIRef href="/baanerp.workflow" role="package">Workflow</GUIRef> modeling functionality</Link>
         </ListItem>
         <ListItem>
            <Link href="#B" role="internal">Business process level</Link>
         </ListItem>
         <ListItem>
            <Link href="#C" role="internal">Business process activity level</Link>
         </ListItem>
         <ListItem>
            <Link href="#D" role="internal">Workflow attributes</Link>
         </ListItem>
      </List>
      <List>
         <ListTitle>Workflow modeling in the project model</ListTitle>
         <ListItem>
            <Link href="#B" role="internal">Business process level</Link>
         </ListItem>
         <ListItem>
            <Link href="#C" role="internal">Business process activity level</Link>
         </ListItem>
      </List>
      <List>
         <ListTitle>Export the project model</ListTitle>
         <ListItem>
            <Link href="#G" role="internal">Activate the <GUIRef href="/baanerp.workflow" role="package">Workflow</GUIRef> modeling and run time functionality</Link>
         </ListItem>
      </List>
      <GeneralSection ID="A">
         <SectionTitle>Activate the Workflow modeling
		  functionality</SectionTitle>
         <Paragraph>Start the <Link href="/baanerp/tg/brg/tgbrg0135s000" role="session">DEM Parameters (tgbrg0135s000)</Link> session and
		  select the Only for Modeling option in the Workflow enabled field.</Paragraph>
      </GeneralSection>
      <GeneralSection ID="B">
         <SectionTitle>Business process level</SectionTitle>
         <ProcedureList>
            <ListItem>Start the <Link href="/baanerp/tg/brg/tgbrg5500m000" role="session">Business Processes (tgbrg5500m000)</Link> session.</ListItem>
            <ListItem>For all the business processes in the business model that
			 are going to be used by <GUIRef href="/baanerp.workflow" role="package">Workflow</GUIRef>, you must define the following on a business
			 process level: <List>
                  <ListItem>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 <Link href="/baanerp/tg/glossary/glossary#000196" role="glossary">Worklist Handler</Link>
                  </ListItem>
                  <ListItem>The role that is the manager of the business process. The
				  employee that has the manager role can <Link href="/baanerp/tg/glossary/glossary#000268" role="glossary">reroute</Link> the <Link href="/baanerp/tg/glossary/glossary#000037" role="glossary">process instance</Link> or an
				  individual <Link href="/baanerp/tg/glossary/glossary#000096" role="glossary">work</Link> item from one employee
				  to another and receive the rejected process instances and/or work items.</ListItem>
               </List>
            </ListItem>
            <ListItem>On the Specific menu, click Link Roles.</ListItem>
         </ProcedureList>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <Paragraph>While modeling the business model <Link href="/baanerp/tg/glossary/glossary#000034" role="glossary">roles</Link> must have been defined
			 and linked to the business processes and their <Link href="/baanerp/tg/glossary/glossary#000023" role="glossary">activities</Link>.</Paragraph>
         </Note>
      </GeneralSection>
      <GeneralSection ID="C">
         <SectionTitle>Business process activity level</SectionTitle>
         <ProcedureList>
            <ListItem>Select a business process and then on the Specific menu,
			 click the Business Process Editor command.</ListItem>
            <ListItem>For all the business process activities you can define the
			 following:</ListItem>
         </ProcedureList>
      </GeneralSection>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Extended startup options</SectionTitle>
      <List>
         <ListIntro>Through the extended startup options, you can specify:</ListIntro>
         <ListItem>The available session menu commands</ListItem>
         <ListItem>The session authorization</ListItem>
         <ListItem>The session startup mode.</ListItem>
      </List>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Extended scheduling</SectionTitle>
      <List>
         <ListIntro>Through extended scheduling, you can specify to which
		  employees the activity must be scheduled based on, for example,</ListIntro>
         <ListItem>The process instance owner</ListItem>
         <ListItem>The process instance creator</ListItem>
         <ListItem>All the employees in an employee group</ListItem>
      </List>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Multiuser activity</SectionTitle>
      <List>
         <ListIntro>Through multiuser activity you can, for example,</ListIntro>
         <ListItem>Perform an inquiry among a group of employees</ListItem>
         <ListItem>Set the number or percentage of employees that need to respond</ListItem>
         <ListItem>Set a certain time frame for the response</ListItem>
      </List>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Sending Trigger</SectionTitle>
      <Paragraph>
         <GUIRef href="/baanerp.workflow" role="package">Workflow</GUIRef> 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.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Workflow attributes</SectionTitle>
      <Paragraph>Via workflow attributes you can model the data flow in a
		business process.</Paragraph>
   </GeneralSection>
   <GeneralSection ID="D">
      <SectionTitle>Workflow attributes</SectionTitle>
      <Paragraph>When you have finished modeling the business processes for <GUIRef href="/baanerp.workflow" role="package">Workflow</GUIRef>, perform a
		syntax/validity check. Both checks need to be OK for the business processes to
		be used by <GUIRef href="/baanerp.workflow" role="package">Workflow</GUIRef>.
		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.</Paragraph>
      <Paragraph>On the Options menu, click the Check Syntax/Validity command.
		Two options are displayed: Development and Run time.</Paragraph>
      <Paragraph>If both checks have been carried out and the result is OK, the
		Syntax Checked check box in the details session of the <Link href="/baanerp/tg/brg/tgbrg5500m000" role="session">Business Processes (tgbrg5500m000)</Link> session
		is automatically selected.</Paragraph>
   </GeneralSection>
   <GeneralSection ID="E">
      <SectionTitle>Business process level</SectionTitle>
      <List>
         <ListIntro>For a business process that is part of a project model, you
		  can define:</ListIntro>
         <ListItem>If the business process is to be used by <GUIRef href="/baanerp.workflow" role="package">Workflow</GUIRef>
         </ListItem>
         <ListItem>If the business process can be initiated in the Worklist
		  Handler</ListItem>
         <ListItem>The <Link href="/baanerp/tg/glossary/glossary#000282" role="glossary">target date</Link>
         </ListItem>
         <ListItem>The <Link href="/baanerp/tg/glossary/glossary#000095" role="glossary">estimated duration</Link>
         </ListItem>
         <ListItem>The <Link href="/baanerp/tg/glossary/glossary#000059" role="glossary">priority</Link>
         </ListItem>
         <ListItem>An initiator and a manager, who can also be assigned in the
		  repository via the <Link href="/baanerp/tg/brg/tgbrg5500m000" role="session">Business Processes (tgbrg5500m000)</Link> session</ListItem>
      </List>
      <ProcedureList>
         <ListItem>Start the <Link href="/baanerp/tg/brg/tgbrg4500m000" role="session">Project Models (tgbrg4500m000)</Link> session.</ListItem>
         <ListItem>Select the project model, and on the Specific menu click, the
		  Business Process Model command. The <Link href="/baanerp/tg/brg/tgbrg4560m000" role="session">Business Processes by Project Model (tgbrg4560m000)</Link> session is started that lists all business processes
		  used by the project model.</ListItem>
         <ListItem>Select a business process, and on the Specific menu, click
		  Link Roles to set a role as the initiator or manager</ListItem>
         <ListItem>Double-click a business process to insert the workflow-related
		  information.</ListItem>
      </ProcedureList>
   </GeneralSection>
   <GeneralSection ID="F">
      <SectionTitle>Business process activity level</SectionTitle>
      <List>
         <ListIntro>For a business process activity, workflow-related information
		  can also be defined, such as:</ListIntro>
         <ListItem>The target date</ListItem>
         <ListItem>The estimated duration</ListItem>
         <ListItem>The priority.</ListItem>
      </List>
      <ProcedureList>
         <ListItem>Select a business process and start the Business Process
		  Editor.</ListItem>
         <ListItem>In the Business Process Editor, double-click an activity.</ListItem>
      </ProcedureList>
   </GeneralSection>
   <GeneralSection ID="G">
      <SectionTitle>Activate the Workflow modeling and run time
		functionality</SectionTitle>
      <Paragraph>Start the <Link href="/baanerp/tg/brg/tgbrg0135s000" role="session">DEM Parameters (tgbrg0135s000)</Link> session and
		select the Modeling and Runtime option in the Workflow enabled field.</Paragraph>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/tg/onlinemanual/000008" role="manual">example of scheduling</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/tg/onlinemanual/000036" role="manual">To model a trigger to another business process</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/tg/onlinemanual/000012" role="manual">formal to actual definitions</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>