%%Package dfstest

%%KnowledgeBase 
  DiaFlux DFS Test
%


%%Question
  FB
  - Frage1 [oc]
  -- ja
  -- nein
  - Frage2 [oc]
  -- ja
  -- nein
  - Frage3 [oc]
  -- ja 
  -- nein
%

%%DiaFlux
<flowchart fcid="flow_2c75ea92" name="startFlow" icon="sanduhr.gif" width="550" height="396" autostart="true" idCounter="11">

	<!-- nodes of the flowchart -->
	<node fcid="#node_2">
		<position left="73" top="91"></position>
		<action markup="KnOffice">Frage1</action>
	</node>

	<node fcid="#node_3">
		<position left="83" top="27"></position>
		<start>Start</start>
	</node>

	<node fcid="#node_5">
		<position left="83" top="326"></position>
		<exit>Exit</exit>
	</node>

	<node fcid="#node_6">
		<position left="313" top="143"></position>
		<action markup="KnOffice">Frage2</action>
	</node>

	<node fcid="#node_9">
		<position left="73" top="209"></position>
		<action markup="KnOffice">CALL[subFlow1(Start)]</action>
	</node>


	<!-- rules of the flowchart -->
	<edge fcid="#rule_4">
		<origin>#node_3</origin>
		<target>#node_2</target>
	</edge>

	<edge fcid="#rule_7">
		<origin>#node_2</origin>
		<target>#node_6</target>
	</edge>

	<edge fcid="#rule_8">
		<origin>#node_6</origin>
		<target>#node_5</target>
		<routingPoint x="0" y="1" />
	</edge>

	<edge fcid="#rule_10">
		<origin>#node_2</origin>
		<target>#node_9</target>
	</edge>

	<edge fcid="#rule_11">
		<origin>#node_9</origin>
		<target>#node_5</target>
		<guard markup="KnOffice">PROCESSED[subFlow1]</guard>
	</edge>

</flowchart>



 
  
%

%%DiaFlux
<flowchart fcid="flow_218bea52" name="subFlow1" icon="sanduhr.gif" width="450" height="327" autostart="false" idCounter="9">

	<!-- nodes of the flowchart -->
	<node fcid="#node_2">
		<position left="233" top="44"></position>
		<start>Start</start>
	</node>

	<node fcid="#node_3">
		<position left="230" top="257"></position>
		<exit>Exit</exit>
	</node>

	<node fcid="#node_4">
		<position left="223" top="128"></position>
		<action markup="KnOffice">Frage1</action>
	</node>

	<node fcid="#node_7">
		<position left="64" top="128"></position>
		<action markup="KnOffice">CALL[subFlow2(Start)]</action>
	</node>


	<!-- rules of the flowchart -->
	<edge fcid="#rule_5">
		<origin>#node_2</origin>
		<target>#node_4</target>
	</edge>

	<edge fcid="#rule_6">
		<origin>#node_4</origin>
		<target>#node_3</target>
	</edge>

	<edge fcid="#rule_8">
		<origin>#node_2</origin>
		<target>#node_7</target>
	</edge>

	<edge fcid="#rule_9">
		<origin>#node_7</origin>
		<target>#node_4</target>
		<guard markup="KnOffice">PROCESSED[subFlow2]</guard>
	</edge>

</flowchart>


 
  
%

%%DiaFlux
<flowchart fcid="flow_2fa62381" name="subFlow2" icon="sanduhr.gif" width="550" height="400" autostart="false" idCounter="9">

	<!-- nodes of the flowchart -->
	<node fcid="#node_2">
		<position left="188" top="151"></position>
		<action markup="KnOffice">Frage1</action>
	</node>

	<node fcid="#node_3">
		<position left="200" top="52"></position>
		<start>Start</start>
	</node>

	<node fcid="#node_5">
		<position left="349" top="168"></position>
		<action markup="KnOffice">Frage3</action>
	</node>

	<node fcid="#node_7">
		<position left="271" top="307"></position>
		<exit>Exit</exit>
	</node>


	<!-- rules of the flowchart -->
	<edge fcid="#rule_4">
		<origin>#node_3</origin>
		<target>#node_2</target>
	</edge>

	<edge fcid="#rule_6">
		<origin>#node_3</origin>
		<target>#node_5</target>
	</edge>

	<edge fcid="#rule_8">
		<origin>#node_2</origin>
		<target>#node_7</target>
	</edge>

	<edge fcid="#rule_9">
		<origin>#node_5</origin>
		<target>#node_7</target>
	</edge>

</flowchart>
 
  
%