%%Package dfstest

%%KnowledgeBase 
  DiaFlux DFS Test
%


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

%%DiaFlux
<flowchart fcid="flow_1c6946d2" name="StarterFlow" icon="sanduhr.gif" width="750" height="408" autostart="true" idCounter="18">

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

	<node fcid="#node_4">
		<position left="126" top="338"></position>
		<exit>Exit</exit>
	</node>

	<node fcid="#node_5">
		<position left="116" top="124"></position>
		<action markup="KnOffice">Frage1</action>
	</node>

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

	<node fcid="#node_9">
		<position left="113" top="198"></position>
		<action markup="KnOffice">CALL[StarterSubFlow(Start)]</action>
	</node>

	<node fcid="#node_12">
		<position left="331" top="129"></position>
		<action markup="KnOffice">ALWAYS[Frage2]</action>
	</node>


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

	<edge fcid="#rule_8">
		<origin>#node_6</origin>
		<target>#node_4</target>
		<guard markup="KnOffice">KNOWN["Frage2"]</guard>
	</edge>

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

	<edge fcid="#rule_15">
		<origin>#node_5</origin>
		<target>#node_9</target>
		<guard markup="KnOffice">KNOWN["Frage1"]</guard>
	</edge>

	<edge fcid="#rule_17">
		<origin>#node_12</origin>
		<target>#node_4</target>
		<guard markup="KnOffice">KNOWN["Frage2"]</guard>
	</edge>

	<edge fcid="#rule_18">
		<origin>#node_5</origin>
		<target>#node_12</target>
		<guard markup="KnOffice">KNOWN["Frage1"]</guard>
	</edge>

</flowchart> 
%

%%DiaFlux
<flowchart fcid="flow_e902e93c" name="StarterSubFlow" icon="sanduhr.gif" width="750" height="360" autostart="false" idCounter="8">

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

	<node fcid="#node_3">
		<position left="216" top="290"></position>
		<exit>Exit</exit>
	</node>

	<node fcid="#node_6">
		<position left="200" top="173"></position>
		<action markup="KnOffice">ALWAYS[Frage1]</action>
	</node>


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

	<edge fcid="#rule_8">
		<origin>#node_6</origin>
		<target>#node_3</target>
	</edge>

%