<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/000008" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">example of scheduling</Title>
		<Keyword><Level1>scheduling</Level1>
			<Level2>example</Level2>
		</Keyword>
		<Keyword><Level1>Extended Scheduling</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>For an activity to arrive on the <Link href="/baanerp/tg/glossary/glossary#000014" role="glossary">work list</Link> of an <Link href="/baanerp/tg/glossary/glossary#000103" role="glossary">employee</Link> the following must happen:</Paragraph>
		<GeneralSection><SectionTitle>Initiating a business process</SectionTitle>
			<Paragraph>For an employee to be able to initiate a business process via the <Link href="/baanerp/tg/glossary/glossary#000196" role="glossary">Worklist Handler</Link> two conditions must be met, the employee must be linked to the <Link href="/baanerp/tg/glossary/glossary#000034" role="glossary">role</Link> that matches one linked to the business process and this role must be linked as a initiator role.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Scheduling of activities</SectionTitle>
			<Paragraph>If an employee initiates a business process in the Worklist Handler, the <Link href="/baanerp/tg/glossary/glossary#000023" role="glossary">activities</Link> of the business process will be scheduled to the employees that have a role that matches a role linked to the activity.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Starting an activity</SectionTitle>
			<Paragraph>An employee can start an activity (work item) via the Worklist Handler.</Paragraph>
		</GeneralSection>
		<Important><SectionTitle>Important</SectionTitle>
			<Paragraph>The activity that receives the ready answer of a triggered business process, must not have extended scheduling options modelled. If you do model extended scheduling options correct handling of the triggering business process can not be guaranteed.</Paragraph>
		</Important>
		<GeneralSection><Paragraph>Via the extended scheduling options of an activity you can define conditions based on which the activity instances are scheduled to the employees.</Paragraph>
			<List><ListIntro>How to get there:</ListIntro>
				<ListItem>Start the <Link href="/baanerp/tg/brg/tgbrg5500m000" role="session">Business Processes (tgbrg5500m000)</Link> session.</ListItem>
				<ListItem>Select a business process and start the Enterprise Modeler Editor.</ListItem>
				<ListItem>Double-click the activity of which you want to model the extended scheduling options.</ListItem>
			</List>
		</GeneralSection>
		<GeneralSection><SectionTitle>How the extended scheduling options work:</SectionTitle>
			<Paragraph></Paragraph>
			<List><ListIntro>The first three options on the Extended Scheduling tab exclude each other. These options are:</ListIntro>
				<ListItem><Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.stic" role="formfield">Process Instance Creator</Link>
				</ListItem>
				<ListItem><Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.stio" role="formfield">Process Instance Owner</Link>
				</ListItem>
				<ListItem><Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.sesa" role="formfield">Executor Specific Activity</Link>
				</ListItem>
			</List>
			<Paragraph>First of all, the employee that initiates the business process is automatically the process instance creator and the process instance owner.</Paragraph>
			<Paragraph>So if you check the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.stic" role="formfield">Process Instance Creator</Link> or <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.stio" role="formfield">Process Instance Owner</Link> check box the activity is scheduled to the employee that initiated the business process.</Paragraph>
			<Paragraph>The employee will remain the process instance creator until the process instance has finished.</Paragraph>
			<Paragraph>This means that if you check the Process Instance Creator check box the activity instance is always scheduled to the employee that initiated the process instance.</Paragraph>
			<Paragraph>An employee will remain the process instance owner until an activity instance is carried out by another employee and the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.aepo" role="formfield">Make Executor Instance Owner</Link> check box is selected. The employee that carries out the activity instance will become the new process instance owner.</Paragraph>
			<Paragraph>Another option is the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.sesa" role="formfield">Executor Specific Activity</Link> check box. This option is very handy if the activity may only be executed by an employee that executed a previous activity. A reason for this could be that the employee needs some information that was processed in this previous activity.</Paragraph>
			<List><ListIntro>Then there are two options left:</ListIntro>
				<ListItem>Schedule the activity instance to a specific employee group</ListItem>
				<ListItem>Schedule the activity instance to the employee with the least amount of work on his or her worklist.</ListItem>
			</List>
			<Paragraph>The first is set if you select the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.stsg" role="formfield">Specific Employee Group</Link> check box. All the employees in the selected employee group will receive the activity instance in his or her worklist. Of course only if they have the correct role!</Paragraph>
			<Paragraph>The second is set if you select the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.eulw" role="formfield">User with Least Workload</Link> check box. In this case the employee with the least amount of work on his or her worklist will receive the activity instance in his or her worklist. The amount of work is calculated based on the employment percentage and the number of activity instances on his or her worklist.</Paragraph>
			<Paragraph>Above two options work in combination with the first three, each other excluding, options.</Paragraph>
		</GeneralSection>
	</GeneralSection>
</ManualTopic>
