<?xml version="1.0"?>
<AdeptiaPE xmlns:version = "4.7" xmlns:j = "jelly:core" xmlns:abpm = "jelly:com.adeptia.indigo.jelly.IndigoTagLibrary" xmlns:pd = "jelly:com.adeptia.indigo.pd.ProcessDesignerTagLibrary" xmlns = "jelly:com.werken.blissed.jelly.BlissedTagLibrary" >
	<process name = "mainProcess" var = "mainProcess" start = "startState">
		<state name = "startState">
			<activity>
				<abpm:indigoGlobalVariables>
					<abpm:params>
					</abpm:params>
				</abpm:indigoGlobalVariables>
				<abpm:installGlobalExceptionHandlers>
					<abpm:exceptionHandlers>
					</abpm:exceptionHandlers>
				</abpm:installGlobalExceptionHandlers>
			</activity>
		</state>
		<state name = "state-BPMN:EVENT:START_EVENT-734386">
			<activity>
				<pd:event type = "start" subType = "none" />
				<pd:graphics x = "20.0" y = "158.0" width = "30.0" height = "30.0" owner = "FlowObject" textLabel = "Start Event"/>
				<pd:graphics linkType = "UNCONTROLLED_FLOW" source = "state-BPMN:EVENT:START_EVENT-734386" destination = "state-BPMN:TASK:BASIC_TASK-734388" xpoints = "60,127" ypoints = "173,173" hasManualPlacement = "false" arcData = "" arrowPoints = "129,137,129,129|169,173,177,169" order = "0" startPoint = "50,173" endPoint = "137,173" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:EVENT:END_EVENT-734387">
			<activity>
				<pd:event type = "end" subType = "none" />
				<pd:graphics x = "931.0" y = "164.0" width = "30.0" height = "30.0" owner = "FlowObject" textLabel = "End Event"/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:TASK:BASIC_TASK-734388">
			<activity>
				<abpm:activity type="FtpSource" id="192168001035120931174320400006" name="Template_FTP_source" async="false"  >
					<abpm:params>
						<abpm:param name="eventContextEnabled">true</abpm:param>
						<abpm:param name="streamNames">Source_stream</abpm:param>
					</abpm:params>
				</abpm:activity>
				<pd:graphics x = "137.0" y = "153.0" width = "75.0" height = "40.0" streamNames = "name=Source_stream,explicit=true,error=false,target=state-BPMN:TASK:BASIC_TASK-15494074#"  owner = "FlowObject" textLabel = "FTPSource"/>
				<pd:graphics linkType = "UNCONTROLLED_FLOW" source = "state-BPMN:TASK:BASIC_TASK-734388" destination = "state-BPMN:TASK:BASIC_TASK-734392" xpoints = "222,236,236,236,236,250" ypoints = "166,166,166,173,173,173" hasManualPlacement = "false" arcData = "236,163,7,7,180,-90|233,166,7,7,270,90" arrowPoints = "252,260,252,252|169,173,177,169" order = "0" startPoint = "212,166" endPoint = "260,173" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:graphics linkType = "DIRECTIONAL_ASSOCIATION_FLOW" source = "state-BPMN:TASK:BASIC_TASK-734388" destination = "state-BPMN:ARTIFACT:DATA_ARTIFACT-15494079" xpoints = "222,242,242,242,242,195,195,195,195,215" ypoints = "179,179,179,233,233,233,233,288,288,288" hasManualPlacement = "false" arcData = "242,174,10,10,180,-90|237,223,10,10,270,90|195,228,10,10,180,-90|190,278,10,10,270,90" arrowPoints = "217,225,217,217|284,288,292,284" startPoint = "212,179" endPoint = "225,288" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:TASK:BASIC_TASK-734389">
			<activity>
				<abpm:activity type="FtpTarget" id="192168001035120931329182900009" name="Template_FTP_target" async="false"  >
					<abpm:params>
						<abpm:param name="source">Template_map</abpm:param>
					</abpm:params>
				</abpm:activity>
				<pd:graphics x = "820.0" y = "159.0" width = "75.0" height = "40.0" owner = "FlowObject" textLabel = "TestFileTarget"/>
				<pd:graphics linkType = "UNCONTROLLED_FLOW" source = "state-BPMN:TASK:BASIC_TASK-734389" destination = "state-BPMN:EVENT:END_EVENT-734387" xpoints = "905,921" ypoints = "179,179" hasManualPlacement = "false" arcData = "" arrowPoints = "923,931,923,923|175,179,183,175" order = "0" startPoint = "895,179" endPoint = "931,179" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:TASK:BASIC_TASK-734392">
			<activity>
				<abpm:put-context-var name="PutContextVarTag1" key="fileName,sourceFilePath,sourceFileName" value="data%%hh-mm-ss%%.xml$$Service.Template_FTP_source.remoteFilePath$$$$Service.Template_FTP_source.fileName$$" activityName="Template_FTP_target, , " length="20,46,40"/>
				<pd:graphics x = "260.0" y = "153.0" width = "75.0" height = "40.0" owner = "FlowObject" textLabel = "PutContextVarTag1"/>
				<pd:graphics linkType = "UNCONTROLLED_FLOW" source = "state-BPMN:TASK:BASIC_TASK-734392" destination = "state-BPMN:TASK:BASIC_TASK-734403" xpoints = "345,374" ypoints = "173,173" hasManualPlacement = "false" arcData = "" arrowPoints = "376,384,376,376|169,173,177,169" order = "0" startPoint = "335,173" endPoint = "384,173" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:TASK:BASIC_TASK-734403">
			<activity>
				<abpm:activity type="CustomPlugin" id="192168001035120931257415700008" name="DynamicEntityIDFetch" async="false"  >
					<abpm:params>
						<abpm:param name="source">null</abpm:param>
					</abpm:params>
				</abpm:activity>
				<pd:graphics x = "384.0" y = "149.0" width = "92.0" height = "49.0" owner = "FlowObject" textLabel = "Get entity Id from reference table"/>
				<pd:graphics linkType = "UNCONTROLLED_FLOW" source = "state-BPMN:TASK:BASIC_TASK-734403" destination = "state-BPMN:TASK:BASIC_TASK-734410" xpoints = "486,497" ypoints = "173,173" hasManualPlacement = "false" arcData = "" arrowPoints = "499,507,499,499|169,173,177,169" order = "0" startPoint = "476,173" endPoint = "507,173" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:TASK:BASIC_TASK-734410">
			<activity>
				<abpm:put-context-var name="PutContextVarTag2" key="schemaTypedId,TypedId,remoteFilePath,fileName" value="$$sourceSchemaTypeId$$$$mappingTypeId$$$$targetPath$$$$targetFileName$$%%mm-dd-yyyy%%%%hh-mm-ss%%.xml" activityName="Template_Source_schema,Template_map,Template_FTP_target,Template_FTP_target" length="22,17,14,48"/>
				<pd:graphics x = "507.0" y = "152.0" width = "75.0" height = "40.0" owner = "FlowObject" textLabel = "Assign entity ID"/>
				<pd:graphics linkType = "UNCONTROLLED_FLOW" source = "state-BPMN:TASK:BASIC_TASK-734410" destination = "state-BPMN:TASK:BASIC_TASK-15494074" xpoints = "592,599" ypoints = "172,172" hasManualPlacement = "false" arcData = "" arrowPoints = "601,609,601,601|168,172,176,168" order = "0" startPoint = "582,172" endPoint = "609,172" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:TASK:BASIC_TASK-15494074">
			<activity>
				<abpm:activity type="Stream2XmlStreamTransformer" id="" name="Template_Source_schema" async="false"  >
					<abpm:params>
						<abpm:param name="errorRecordHandleType">File</abpm:param>
						<abpm:param name="characterSetEncoding">ISO-8859-1</abpm:param>
						<abpm:param name="schemaTypedId">ExcelSchema:192168001035120931529493800012</abpm:param>
						<abpm:param name="source">Template_FTP_source[Source_stream]</abpm:param>
						<abpm:param name="dataAction">No Action</abpm:param>
					</abpm:params>
				</abpm:activity>
				<pd:graphics x = "609.0" y = "159.0" width = "85.0" height = "40.0" streamNames = "name=Template_Source_schema,explicit=false,error=false,target=state-BPMN:TASK:BASIC_TASK-15494075#"  owner = "FlowObject" textLabel = "Template_Source_schema"/>
				<pd:graphics linkType = "UNCONTROLLED_FLOW" source = "state-BPMN:TASK:BASIC_TASK-15494074" destination = "state-BPMN:TASK:BASIC_TASK-15494075" xpoints = "704,704" ypoints = "179,179" hasManualPlacement = "false" arcData = "" arrowPoints = "706,714,706,706|175,179,183,175" order = "0" startPoint = "694,179" endPoint = "714,179" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:TASK:BASIC_TASK-15494075">
			<activity>
				<abpm:activity type="DataMapping" id="192168001035120931566846900013" name="Template_map" async="false"  >
					<abpm:params>
						<abpm:param name="transformerType">Xalan</abpm:param>
						<abpm:param name="source">Template_Source_schema</abpm:param>
					</abpm:params>
				</abpm:activity>
				<pd:graphics x = "714.0" y = "159.0" width = "75.0" height = "40.0" streamNames = "name=Template_map,explicit=false,error=false,target=state-BPMN:TASK:BASIC_TASK-734389#"  owner = "FlowObject" textLabel = "Template_map"/>
				<pd:graphics linkType = "UNCONTROLLED_FLOW" source = "state-BPMN:TASK:BASIC_TASK-15494075" destination = "state-BPMN:TASK:BASIC_TASK-734389" xpoints = "799,810" ypoints = "179,179" hasManualPlacement = "false" arcData = "" arrowPoints = "812,820,812,812|175,179,183,175" order = "0" startPoint = "789,179" endPoint = "820,179" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<state name = "state-BPMN:ARTIFACT:DATA_ARTIFACT-15494079">
			<activity>
				<pd:dataObject dataObjectName = "" representsStream = "true" streamName = "state-BPMN:TASK:BASIC_TASK-734388[Template_FTP_source[Source_stream]]" />
				<pd:graphics x = "225.0" y = "277.0" width = "16.0" height = "22.0" owner = "FlowObject" textLabel = "Source_stream"/>
				<pd:graphics linkType = "DIRECTIONAL_ASSOCIATION_FLOW" source = "state-BPMN:ARTIFACT:DATA_ARTIFACT-15494079" destination = "state-BPMN:TASK:BASIC_TASK-15494074" xpoints = "251,425,425,425,425,599" ypoints = "288,288,288,185,185,185" hasManualPlacement = "false" arcData = "425,283,10,10,180,-90|420,175,10,10,270,90" arrowPoints = "601,609,601,601|181,185,189,181" startPoint = "241,288" endPoint = "609,185" direction = "2,6" owner = "Transition" textLabel = ""/>
				<pd:comments/>
			</activity>
		</state>
		<transition from="startState" to="state-BPMN:EVENT:START_EVENT-734386"/>
		<transition from="state-BPMN:TASK:BASIC_TASK-734410" to="state-BPMN:TASK:BASIC_TASK-15494074"/>
		<transition from="state-BPMN:TASK:BASIC_TASK-734403" to="state-BPMN:TASK:BASIC_TASK-734410"/>
		<transition from="state-BPMN:TASK:BASIC_TASK-734392" to="state-BPMN:TASK:BASIC_TASK-734403"/>
		<transition from="state-BPMN:TASK:BASIC_TASK-734389" to="state-BPMN:EVENT:END_EVENT-734387"/>
		<transition from="state-BPMN:TASK:BASIC_TASK-734388" to="state-BPMN:TASK:BASIC_TASK-734392"/>
		<transition from="state-BPMN:TASK:BASIC_TASK-15494075" to="state-BPMN:TASK:BASIC_TASK-734389"/>
		<transition from="state-BPMN:TASK:BASIC_TASK-15494074" to="state-BPMN:TASK:BASIC_TASK-15494075"/>
		<transition from="state-BPMN:EVENT:START_EVENT-734386" to="state-BPMN:TASK:BASIC_TASK-734388"/>
	</process>
</AdeptiaPE>
