<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/em000510" xml:lang="en">
   <Header>
      <Title>Business processes in the Modeler</Title>
      <Keyword type="header" order="d1e1956007">
         <Level1>Business processes</Level1>
         <Level2>in the Modeler</Level2>
      </Keyword>
      <Keyword type="header" order="d1e1956012">
         <Level1>In the Modeler</Level1>
         <Level2>business processes</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <List>
         <ListIntro>To start the Modeler and edit the business processes based on
		  the Petri-net method:</ListIntro>
         <ListItem>On the <Link href="/baanerp/tc/glossary/glossary#specific" role="glossary">appropriate</Link> menu in the <GUIRef href="/baanerp/tg/brg/tgbrg5500m000" role="session">Business Processes (tgbrg5500m000)</GUIRef> session <List>
               <ListItem>Click the <GUIRef href="/baanerp/tg/messages/brgeditor" role="message">Editor</GUIRef> icon, or the <GUIRef href="/baanerp/tg/brg/tgbrg5500m000#exec.user.0" role="manual">Business Process Editor...</GUIRef>
               </ListItem>
               <ListItem>
                  <Paragraph>To graphically depict the business process, activities,
				  states, control activities, conditions, and relationships must be
				  defined.</Paragraph>
               </ListItem>
            </List>
         </ListItem>
      </List>
      <List>
         <ListIntro>The basic data of the business process components can be
		  modified by double-clicking a component; alternatively, right-click a component
		  and selecting <GUIRef href="/baanerp/tg/domains/brg.prdi#prop" role="option">Properties</GUIRef> from the shortcut menu. Depending on the type
		  of business process component, this will activate one of the following
		  sessions:</ListIntro>
         <ListItem>The <GUIRef href="/baanerp/tg/brg/tgbrg5122s000" role="session">Business Process Activities (tgbrg5122s000)</GUIRef> session.</ListItem>
         <ListItem>The <GUIRef href="/baanerp/tg/brg/tgbrg5130s000" role="session">Business Process States (tgbrg5130s000)</GUIRef> session.</ListItem>
         <ListItem>The <GUIRef href="/baanerp/tg/brg/tgbrg5145s000" role="session">Condition (tgbrg5145s000)</GUIRef> session</ListItem>
         <ListItem>The <GUIRef href="/baanerp/tg/brg/tgbrg5146s000" role="session">Dynamic Condition (tgbrg5146s000)</GUIRef> session</ListItem>
         <ListItem>The <GUIRef href="/baanerp/tg/brg/tgbrg5147s000" role="session">Static Condition (tgbrg5147s000)</GUIRef> session</ListItem>
      </List>
      <Paragraph>Before business process diagrams can be inserted into business
		process models that are part of a reference or project model, they must first
		be created in the repository.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Activity</SectionTitle>
      <Figure space-and-orientation="indented-estimated">
         <HTML:IMG xmlns:HTML="http://www.w3.org/TR/REC-html40" width="46" height="42"
                   SRC="../images/ic_graph_button_activity.png"
                   alt="[...]"/>
      </Figure>
      <Paragraph>An activity represents tasks that must be carried
		out.</Paragraph>
      <TABLE width="100%" border="1" space-and-orientation="indented-custom"
             borderstyle="default">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD colspan="2" width="1022" rowspan="1">Activity types</TD>
            </TR>
         </THEAD>
         <TBODY noTR="5">
            <TR no="1" isLast="false">
               <TH width="135" rowspan="1" colspan="1">Alternative</TH>
               <TH width="883" rowspan="1" colspan="1">Description</TH>
            </TR>
            <TR no="2" isLast="false">
               <TD width="135" rowspan="1" colspan="1">Business Process</TD>
               <TD width="883" rowspan="1" colspan="1">A sub-process to break down complex processes into
				smaller, more manageable sub processes.</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="135" rowspan="1" colspan="1">Manual Activity</TD>
               <TD width="883" rowspan="1" colspan="1">Defines that the user must perform a task that is not
				automated.</TD>
            </TR>
            <TR no="4" isLast="false">
               <TD width="135" rowspan="1" colspan="1">File based (client)</TD>
               <TD width="883" rowspan="1" colspan="1">Starts for a file the associated application on the
				client, based on the file extension.</TD>
            </TR>
            <TR no="5" isLast="true">
               <TD width="135" rowspan="1" colspan="1">Application</TD>
               <TD width="883" rowspan="1" colspan="1">Lets you select a defined Component Application,
				which can be a reference to an ERP session, such as an LN session.</TD>
            </TR>
         </TBODY>
      </TABLE>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Control</SectionTitle>
      <Figure space-and-orientation="indented-estimated">
         <HTML:IMG xmlns:HTML="http://www.w3.org/TR/REC-html40" width="44" height="40"
                   SRC="../images/ic_graph_button_control.png"
                   alt="[...]"/>
      </Figure>
      <Paragraph>The control is the graphical representation of a decision moment
		in the business process. By linking static conditions to the arrows leaving the
		control, the path through the business process can be determined. A control can
		represent an AND, OR, XOR, or JOIN.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>State</SectionTitle>
      <Figure space-and-orientation="indented-estimated">
         <HTML:IMG xmlns:HTML="http://www.w3.org/TR/REC-html40" width="41" height="43"
                   SRC="../images/ic_graph_button_state.png"
                   alt="[...]"/>
      </Figure>
      <Paragraph>Represents the internal conditions defining the status of an
		activity at a particular time.</Paragraph>
      <TABLE width="100%" border="1" space-and-orientation="indented-custom"
             borderstyle="default">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD colspan="2" width="1021" rowspan="1">State types</TD>
            </TR>
         </THEAD>
         <TBODY noTR="4">
            <TR no="1" isLast="false">
               <TH width="138" rowspan="1" colspan="1">Alternative</TH>
               <TH width="879" rowspan="1" colspan="1">Description</TH>
            </TR>
            <TR no="2" isLast="false">
               <TD width="138" rowspan="1" colspan="1">Begin</TD>
               <TD width="879" rowspan="1" colspan="1">Defines the beginning of a business process.</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="138" rowspan="1" colspan="1">End</TD>
               <TD width="879" rowspan="1" colspan="1">Defines the end of a business process.</TD>
            </TR>
            <TR no="4" isLast="true">
               <TD width="138" rowspan="1" colspan="1">Normal</TD>
               <TD width="879" rowspan="1" colspan="1">A state between two or more activities.</TD>
            </TR>
         </TBODY>
      </TABLE>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Relationship</SectionTitle>
      <Figure space-and-orientation="indented-estimated">
         <HTML:IMG xmlns:HTML="http://www.w3.org/TR/REC-html40" width="40" height="42"
                   SRC="../images/ic_graph_button_relationship.png"
                   alt="[...]"/>
      </Figure>
      <Paragraph>A relationship is used to sequence the states, controls, and
		activities.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Syntax Checker in the Modeler</SectionTitle>
      <List>
         <ListIntro>To check whether there are mistakes in the current business
		  process, select the <GUIRef href="/baanerp/tg/wms/tgwms1160s000#exec.user.1" role="manual">Check Query Syntax</GUIRef> option from the <GUIRef href="" role="menu">Options</GUIRef> menu</ListIntro>
         <ListItem>You can select a <Emphasis>Development</Emphasis> or <Emphasis>Run time</Emphasis> check. <List>
               <ListItem>Both options will start a check of the syntax according to
				the Petri-net method for the current business process only. The only checks
				that go beyond the level of the current business process are related to loops
				in lower sub processes.</ListItem>
            </List>
         </ListItem>
      </List>
      <Paragraph>A <Emphasis>Run time</Emphasis> check carries out a complete
		check of the business process; however, the <Emphasis>Development</Emphasis> check carries out a partial check.</Paragraph>
      <Paragraph>Because the syntax is only checked for the current business
		process, no checks are carried out for sub processes that might be included,
		except for loop detection or for possible higher-level processes.</Paragraph>
   </GeneralSection>
</ManualTopic>