<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/000051" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Static conditions</Title>
		<Keyword><Level1>static condition</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>A <Link href="/baanerp/tg/glossary/glossary#000028" role="glossary">static condition</Link> is a parameter that can only have the value Yes or No and that determines which parts of a business process are active. A static condition is linked to an arrow that leaves a control activity (decision box) in a business process and activates or deactivates part of a <Link href="/baanerp/tg/glossary/glossary#000067" role="glossary">business process</Link>. Deactivated parts of a business process are displayed in a dimmed mode.</Paragraph>
		<Paragraph>During the implementation of ERP, the values of static conditions are set manually or by static condition setting rules. The latter option checks which <Link href="/baanerp/tg/glossary/glossary#000004" role="glossary">business functions</Link> and/or business processes are present in a business model. Depending on the presence or absence of business functions and business processes, the value of the static conditions is determined.</Paragraph>
		<Paragraph>Be sure, when you use static conditions, to set the <Link href="/baanerp/tg/brg/tgbrg0135s000#tgbrg035.scon" role="formfield">Evaluate Static Conditions</Link> check box in the <Link href="/baanerp/tg/brg/tgbrg0135s000" role="session">DEM Parameters (tgbrg0135s000)</Link> session.</Paragraph>
		<Paragraph>The function of static conditions:</Paragraph>
		<List><ListItem><Link href="#A" role="internal">Repository</Link>
			</ListItem>
		</List>
		<List><ListItem><Link href="#B" role="internal">Reference model</Link>
			</ListItem>
		</List>
		<List><ListItem><Link href="#C" role="internal">Project model</Link>
			</ListItem>
		</List>
		<Paragraph></Paragraph>
		<Paragraph></Paragraph>
		<GeneralSection ID="A"><SectionTitle>Repository</SectionTitle>
			<GeneralSection><SectionTitle>Creation of static conditions</SectionTitle>
				<Paragraph>In the repository, you can create static conditions together with a default value for use within the repository of business processes.</Paragraph>
				<Paragraph>See the <Link href="/baanerp/tg/brg/tgbrg5580m000" role="session">Static Conditions (tgbrg5580m000)</Link> session.</Paragraph>
			</GeneralSection>
			<GeneralSection><SectionTitle>Applying the static conditions</SectionTitle>
				<Paragraph>A static condition can be linked to an arrow leaving a <Link href="/baanerp/tg/glossary/glossary#000092" role="glossary">control activity</Link>. By linking a static condition, part of a business process is activated or deactivated from outside the business process itself.</Paragraph>
				<Note><SectionTitle>Note</SectionTitle>
					<Paragraph>The value of a static condition can be interpreted by its opposite value by selecting the Negation check box. If this check box is selected and the value of the static condition is Yes, the actual outcome is No. As a result, the part of the business process that follows the arrow is shown in a dimmed mode.</Paragraph>
					<Paragraph>In the <Link href="/baanerp/tg/glossary/glossary#000228" role="glossary">dynamic menu browser</Link> the dimmed activities are skipped from the menu.</Paragraph>
				</Note>
			</GeneralSection>
			<GeneralSection><SectionTitle>Viewing the result of the static conditions</SectionTitle>
				<Paragraph>You can view the result of the static condition on the business process by clicking the Display Business Process in User Mode... command on the Specific menu in the Business Processes by Project Model (tgbrg4560m000) session or the Business Processes by Reference Model (tgbrg3560m000) session. The parts of the business process that are shown in a dimmed mode are a result of the outcome of a static condition that evaluates to No. As a test, you can manually change the value of a static condition in a project or reference model and see the result as described above.</Paragraph>
			</GeneralSection>
			<GeneralSection><SectionTitle>Setting the static condition value automatically</SectionTitle>
				<Paragraph>In the repository, you can create static condition setting rules that automatically set the value of a static conditions based on the presence or absence of business processes and/or business functions within a business model. With this method you can deactivate or activate parts of business processes depending on business functions (or business processes) that are supported within the organization.</Paragraph>
				<List><ListItem><Link href="#A1" role="internal">Example of a static condition setting rule</Link>
					</ListItem>
				</List>
			</GeneralSection>
		</GeneralSection>
		<GeneralSection ID="B"><SectionTitle>Reference model</SectionTitle>
			<Paragraph>Use the following session to link and evaluate static conditions in a reference model: The <Link href="/baanerp/tg/brg/tgbrg5590m000" role="session">Static Condition Values by Reference Model (tgbrg5590m000)</Link> session</Paragraph>
			<List><ListIntro>Three methods exist to link the static conditions:</ListIntro>
				<ListItem>Click the Insert button and manually link the static condition.</ListItem>
				<ListItem>On the Specific menu, click the Set Static Condition Values with Rules command to evaluate a range of <Link href="/baanerp/tg/glossary/glossary#000032" role="glossary">static condition setting rules</Link>. If a static condition was not yet linked to the reference model, this action is performed automatically, and the value of the static condition is set based on the evaluation of the applicable static condition rule.</ListItem>
				<ListItem>On the Specific menu, click the Set Static Condition Values to Default command to import a range of static conditions from the repository. Static conditions that are already linked to the reference model are overwritten with their default value as defined in the repository.</ListItem>
			</List>
		</GeneralSection>
		<GeneralSection ID="C"><SectionTitle>Project model</SectionTitle>
			<Paragraph>Use the following to link and evaluate static conditions in a project model: The <Link href="/baanerp/tg/brg/tgbrg5595m000" role="session">Static Condition Values by Project Model (tgbrg5595m000)</Link> session</Paragraph>
			<List><ListIntro>Three methods exist to link the static conditions:</ListIntro>
				<ListItem>Click the Insert button and manually link the static condition.</ListItem>
				<ListItem>On the Specific menu, click the Set Static Condition Values with Rules command to evaluate a range of <Link href="/baanerp/tg/glossary/glossary#000032" role="glossary">static condition setting rules</Link> that were defined in the repository. If a static condition was not yet linked to the project model, this action is performed automatically, and the value of the static condition is set based on the evaluation of the applicable static condition setting rule.</ListItem>
				<ListItem>On the Specific menu, click the Set Static Condition Values to Default command to import a range of static conditions defined in the repository. Static conditions that are already linked to the project model are overwritten with their default value as defined in the repository.</ListItem>
			</List>
		</GeneralSection>
		<GeneralSection ID="A1"><SectionTitle>Example of a static condition setting rule</SectionTitle>
			<List><ListItem>If the business function Distribution is present, all paths within business processes that depend on this business function must be activated. For this reason, you need to create a static condition Distribution with the default value No.</ListItem>
			</List>
			<Paragraph>Create the static condition setting rule Distribution:</Paragraph>
			<Formula><Paragraph UserLevel="Novice" UserType="Taskuser">
IF  &lt;BF,001,Distribution&gt;
THEN value is Yes
</Paragraph>
			</Formula>
			<Paragraph>Link the business processes that make use of distribution applications to business function Distribution.</Paragraph>
			<Paragraph>Within the business processes, you link the static condition Distribution to the arrows (leaving control activities) that lead to distribution applications.</Paragraph>
			<Paragraph>Evaluate the static condition setting rule, and all paths leading to distribution applications will be activated.</Paragraph>
			<Paragraph>Through this method, you can create business processes that make use of distribution applications, but which can be activated or deactivated by simply setting the applicable static condition.</Paragraph>
		</GeneralSection>
	</GeneralSection>
</ManualTopic>
