<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/000036" xml:lang="de">
   <Header>
      <Title>To model a trigger to another business process</Title>
   </Header>
   <GeneralSection>
      <Paragraph>There are two methods of
		triggering, asynchrone and synchrone triggering.</Paragraph>
      <Paragraph>The asynchrone trigger
		is used when the business process that you want to trigger is independent of
		the triggering business process. In other words the activities further on in
		the triggering business process are not dependent on the outcome of the
		triggered business process.</Paragraph>
      <Paragraph>The synchrone trigger is
		used when the activities further on in the business process are dependent on
		the outcome of the triggered business process. For example the triggered
		business process takes care for the delivery of some goods you need further on
		in the triggering business process.</Paragraph>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>Be aware that a sub
		  process is a kind of synchrone trigger.</Paragraph>
      </Note>
      <List>
         <ListItem> 
            <Link href="#A" role="internal">Triggering a business process without receiving an answer</Link>
         </ListItem>
         <ListItem> 
            <Link href="#B" role="internal">Triggering a business process and receive an answer</Link>
         </ListItem>
      </List>
   </GeneralSection>
   <GeneralSection ID="A">
      <SectionTitle>Triggering a business process without receiving an
		answer</SectionTitle>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Asynchrone trigger</SectionTitle>
      <Paragraph/>
      <Paragraph> 
         <Emphasis>In the
		(triggering) business process (10) you must define an activity as
		follows:</Emphasis>
      </Paragraph>
      <Paragraph>1 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.actp" role="formfield">Activity Type</Link> field select
		Sending Trigger (1).</Paragraph>
      <Paragraph>2 Go to the Sending
		Trigger tab.</Paragraph>
      <Paragraph>3 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.prct" role="formfield">External Business Process Type</Link> field select Actual Business Process.</Paragraph>
      <Paragraph>4 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg.cact" role="formfield">Triggered Business Process</Link> field select the business process (20) that you want to trigger.</Paragraph>
      <Paragraph>5 Do not specify the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.rxst" role="formfield">Receiving External State</Link> field.</Paragraph>
   </GeneralSection>
   <GeneralSection ID="B">
      <SectionTitle>Triggering a business process and receive an
		answer</SectionTitle>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Synchrone trigger</SectionTitle>
      <Paragraph/>
      <Paragraph>References to an item in
		the figure look like (n), where n is the number of the item.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>In the (triggered) business process (20), you must define:</SectionTitle>
      <Paragraph/>
      <List>
         <ListIntro>An activity (5) of type Sending Trigger.</ListIntro>
         <ListItem>Go to the Sending Trigger tab.</ListItem>
         <ListItem>For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.prct" role="formfield">External Business Process Type</Link> field, select Answer. This is the activity that answers back to
		  business process (10) that it is ready.</ListItem>
      </List>
      <Paragraph> 
         <Emphasis>In the
		(triggering) business process (10) you must define an activity as
		follows:</Emphasis>
      </Paragraph>
      <Paragraph>1 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.actp" role="formfield">Activity Type</Link> field select
		Sending Trigger (1).</Paragraph>
      <Paragraph>2 Go to the Sending
		Trigger tab.</Paragraph>
      <Paragraph>3 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.prct" role="formfield">External Business Process Type</Link> field select Actual Business Process.</Paragraph>
      <Paragraph>4 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg.cact" role="formfield">Triggered Business Process</Link> field select the business process (20) that you want to trigger.</Paragraph>
      <Paragraph>5 Model an external
		state (7) in business process (10) where you want to receive the answer from
		business process (20). After you have saved the diagram you can select it in
		the next step. The location of the external state determines where you need the
		initiated business process to be finished.</Paragraph>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>The activity that
		  receives the answer of the triggered business process must not have extended
		  scheduling options modelled.</Paragraph>
      </Note>
      <Paragraph>6 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.rxst" role="formfield">Receiving External State</Link>,
		select the external state where you want to receive the answer that business
		process (20) is ready. By modeling it you can make it so that the business
		process waits for the answer of business process (20) before it continues with
		the next step.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Asynchrone trigger</SectionTitle>
      <Paragraph/>
      <Paragraph> 
         <Emphasis>In the
		(triggering) business process (10) you must define an activity as
		follows:</Emphasis>
      </Paragraph>
      <Paragraph>1 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.actp" role="formfield">Activity Type</Link> field select
		Sending Trigger (1).</Paragraph>
      <Paragraph>2 Go to the Sending
		Trigger tab.</Paragraph>
      <Paragraph>3 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.prct" role="formfield">External Business Process Type</Link> field select Actual Business Process.</Paragraph>
      <Paragraph>4 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg.cact" role="formfield">Triggered Business Process</Link> field select the business process (20) that you want to trigger.</Paragraph>
      <Paragraph>5 Do not specify the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.rxst" role="formfield">Receiving External State</Link> field.</Paragraph>
   </GeneralSection>
   <GeneralSection ID="C">
      <SectionTitle>Triggering a business process and receive an
		answer</SectionTitle>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Synchrone trigger</SectionTitle>
      <Paragraph/>
      <Paragraph>References to an item in
		the figure look like (n), where n is the number of the item.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>In the (triggered) business process (20), you must define:</SectionTitle>
      <Paragraph/>
      <List>
         <ListIntro>An activity (5) of type Sending Trigger.</ListIntro>
         <ListItem>Go to the Sending Trigger tab.</ListItem>
         <ListItem>For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.prct" role="formfield">External Business Process Type</Link> field, select Answer. This is the activity that answers back to
		  business process (10) that it is ready.</ListItem>
      </List>
      <Paragraph> 
         <Emphasis>In the
		(triggering) business process (10) you must define an activity as
		follows:</Emphasis>
      </Paragraph>
      <Paragraph>1 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.actp" role="formfield">Activity Type</Link> field select
		Sending Trigger (1).</Paragraph>
      <Paragraph>2 Go to the Sending
		Trigger tab.</Paragraph>
      <Paragraph>3 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.prct" role="formfield">External Business Process Type</Link> field select Actual Business Process.</Paragraph>
      <Paragraph>4 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg.cact" role="formfield">Triggered Business Process</Link> field select the business process (20) that you want to trigger.</Paragraph>
      <Paragraph>5 Model an external
		state (7) in business process (10) where you want to receive the answer from
		business process (20). After you have saved the diagram you can select it in
		the next step. The location of the external state determines where you need the
		initiated business process to be finished.</Paragraph>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>The activity that
		  receives the answer of the triggered business process must not have extended
		  scheduling options modelled.</Paragraph>
      </Note>
      <Paragraph>6 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.rxst" role="formfield">Receiving External State</Link>,
		select the external state where you want to receive the answer that business
		process (20) is ready. By modeling it you can make it so that the business
		process waits for the answer of business process (20) before it continues with
		the next step.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Synchrone trigger</SectionTitle>
      <Paragraph/>
      <Paragraph>References to an item in
		the figure look like (n), where n is the number of the item.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>In the (triggered) business process (20), you must define:</SectionTitle>
      <Paragraph/>
      <List>
         <ListIntro>An activity (5) of type Sending Trigger.</ListIntro>
         <ListItem>Go to the Sending Trigger tab.</ListItem>
         <ListItem>For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.prct" role="formfield">External Business Process Type</Link> field, select Answer. This is the activity that answers back to
		  business process (10) that it is ready.</ListItem>
      </List>
      <Paragraph> 
         <Emphasis>In the
		(triggering) business process (10) you must define an activity as
		follows:</Emphasis>
      </Paragraph>
      <Paragraph>1 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.actp" role="formfield">Activity Type</Link> field select
		Sending Trigger (1).</Paragraph>
      <Paragraph>2 Go to the Sending
		Trigger tab.</Paragraph>
      <Paragraph>3 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.prct" role="formfield">External Business Process Type</Link> field select Actual Business Process.</Paragraph>
      <Paragraph>4 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg.cact" role="formfield">Triggered Business Process</Link> field select the business process (20) that you want to trigger.</Paragraph>
      <Paragraph>5 Model an external
		state (7) in business process (10) where you want to receive the answer from
		business process (20). After you have saved the diagram you can select it in
		the next step. The location of the external state determines where you need the
		initiated business process to be finished.</Paragraph>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>The activity that
		  receives the answer of the triggered business process must not have extended
		  scheduling options modelled.</Paragraph>
      </Note>
      <Paragraph>6 For the <Link href="/baanerp/tg/brg/tgbrg5122s000#tgbrg520.rxst" role="formfield">Receiving External State</Link>,
		select the external state where you want to receive the answer that business
		process (20) is ready. By modeling it you can make it so that the business
		process waits for the answer of business process (20) before it continues with
		the next step.</Paragraph>
   </GeneralSection>
</ManualTopic>