%%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="750" height="207" autostart="true" idCounter="14">

	<!-- nodes of the flowchart -->
	<node fcid="#node_2">
		<position left="225" top="16"></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="585" top="136"></position>
		<exit>Exit</exit>
	</node>

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

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

	<node fcid="#node_12">
		<position left="575" top="16"></position>
		<action markup="KnOffice">CALL[subFlow2(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_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>

	<edge fcid="#rule_13">
		<origin>#node_6</origin>
		<target>#node_12</target>
	</edge>

	<edge fcid="#rule_14">
		<origin>#node_12</origin>
		<target>#node_5</target>
		<guard markup="KnOffice">PROCESSED[subFlow2]</guard>
	</edge>

</flowchart>





 
  
%

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

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

	<node fcid="#node_3">
		<position left="438" top="51"></position>
		<exit>Exit</exit>
	</node>

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

	<node fcid="#node_7">
		<position left="168" top="73"></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="174" autostart="false" idCounter="9">

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

	<node fcid="#node_3">
		<position left="39" top="41"></position>
		<start>Start</start>
	</node>

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

	<node fcid="#node_7">
		<position left="429" top="84"></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>

 
  
%