<?xml version="1.0" encoding="UTF-8"?>
<sup:process monitor-access="false" transaction-timeout="-1" transaction-propagation="REQUIRES NEW" type="asynchronous" pof-object-type="" name="ImageInserterTest" id="P1188538413855" xmlns:jav="http://www.adobe.com/2006/JavaTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sup="http://adobe.com/workflow/template/support"><sup:description/><sup:variables><sup:variable visibleInUI="true" searchable="true" description="" title="" pof-attribute="create_time" type="xs:dateTime" required="true" in="false" out="false" name="create_time" id="V1189386034098"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:variable><sup:variable visibleInUI="true" searchable="true" description="" title="" pof-attribute="creator_id" type="xs:string" required="true" in="false" out="false" name="creator_id" id="V1189386034099"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:variable><sup:variable visibleInUI="false" searchable="false" description="" title="" pof-attribute="" type="jav:document" required="false" in="false" out="false" name="doc_var" id="V1189386034103"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:variable><sup:variable visibleInUI="true" searchable="true" description="" title="" pof-attribute="id" type="xs:long" required="true" in="false" out="false" name="id" id="V1189386034100"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:variable><sup:variable visibleInUI="true" searchable="true" description="" title="" pof-attribute="status" type="xs:string" required="true" in="false" out="false" name="status" id="V1189386034101"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:variable><sup:variable visibleInUI="true" searchable="true" description="" title="" pof-attribute="update_time" type="xs:dateTime" required="true" in="false" out="false" name="update_time" id="V1189386034102"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:variable><sup:variable visibleInUI="false" searchable="false" description="" title="" pof-attribute="" type="jav:com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance" required="false" in="false" out="false" name="xfaForm_var" id="V1189386034104"><sup:value><![CDATA[<com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance>
  <m__templateUrl>/test/kendy.xdp</m__templateUrl>
  <m__schemaData>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eGRwOnhkcCB4bWxuczp4ZHA9
Imh0dHA6Ly9ucy5hZG9iZS5jb20veGRwLyI+PHhmYTpkYXRhc2V0cyB4bWxuczp4ZmE9Imh0dHA6
Ly93d3cueGZhLm9yZy9zY2hlbWEveGZhLWRhdGEvMS4wLyI+PHhmYTpkYXRhPjxpbWFnZVR5cGU+
PGltYWdlLz48aW1hZ2U2NC8+PC9pbWFnZVR5cGU+PC94ZmE6ZGF0YT48L3hmYTpkYXRhc2V0cz48
L3hkcDp4ZHA+</m__schemaData>
  <m__renderServiceCall>
    <m__serviceId>Render PDF Form</m__serviceId>
    <m__operationName>invoke</m__operationName>
    <m__inputParameters>
      <entry>
        <string>userAgent</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>userAgent</m__parameterName>
          <m__dataType>java.lang.String</m__dataType>
          <m__mappingName>Custom Configuration</m__mappingName>
          <m__valueAsText>userAgent</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
      <entry>
        <string>targetURL</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>targetURL</m__parameterName>
          <m__dataType>java.lang.String</m__dataType>
          <m__mappingName>Custom Configuration</m__mappingName>
          <m__valueAsText>targetUrl</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
      <entry>
        <string>formUrl</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>formUrl</m__parameterName>
          <m__dataType>java.lang.String</m__dataType>
          <m__mappingName>task</m__mappingName>
          <m__valueAsText>task-form-url</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
      <entry>
        <string>inDocData</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>inDocData</m__parameterName>
          <m__dataType>com.adobe.idp.Document</m__dataType>
          <m__mappingName>task</m__mappingName>
          <m__valueAsText>task-document</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
    </m__inputParameters>
    <m__outputParameters>
      <entry>
        <string>outFormDoc</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>outFormDoc</m__parameterName>
          <m__dataType>com.adobe.idp.Document</m__dataType>
          <m__mappingName>task</m__mappingName>
          <m__valueAsText>task-document</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
    </m__outputParameters>
  </m__renderServiceCall>
  <m__submitServiceCall>
    <m__serviceId>Submit PDF Form</m__serviceId>
    <m__operationName>invoke</m__operationName>
    <m__inputParameters>
      <entry>
        <string>userAgent</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>userAgent</m__parameterName>
          <m__dataType>java.lang.String</m__dataType>
          <m__mappingName>Custom Configuration</m__mappingName>
          <m__valueAsText>userAgent</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
      <entry>
        <string>targetUrl</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>targetUrl</m__parameterName>
          <m__dataType>java.lang.String</m__dataType>
          <m__mappingName>Custom Configuration</m__mappingName>
          <m__valueAsText>targetUrl</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
      <entry>
        <string>environmentBuffer</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>environmentBuffer</m__parameterName>
          <m__dataType>java.lang.String</m__dataType>
          <m__mappingName>Custom Configuration</m__mappingName>
          <m__valueAsText>environmentBuffer</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
      <entry>
        <string>document</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>document</m__parameterName>
          <m__dataType>com.adobe.idp.Document</m__dataType>
          <m__mappingName>task</m__mappingName>
          <m__valueAsText>task-document</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
    </m__inputParameters>
    <m__outputParameters>
      <entry>
        <string>outputDocument</string>
        <com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
          <m__parameterName>outputDocument</m__parameterName>
          <m__dataType>com.adobe.idp.Document</m__dataType>
          <m__mappingName>task</m__mappingName>
          <m__valueAsText>task-document</m__valueAsText>
        </com.adobe.idp.workflow.dsc.type.ServiceCallParameterMapping>
      </entry>
    </m__outputParameters>
  </m__submitServiceCall>
  <m__templateSchema>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHM6c2NoZW1hIHhtbG5zOnhz
PSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgaWQ9IlhGQVNjaGVtYVhTRCI+DQog
ICA8eHM6ZWxlbWVudCBuYW1lPSJpbWFnZVR5cGUiPg0KICAgICAgPHhzOmNvbXBsZXhUeXBlPg0K
ICAgICAgICAgPHhzOnNlcXVlbmNlPg0KICAgICAgICAgICAgPHhzOmVsZW1lbnQgbmFtZT0iaW1h
Z2UiIHR5cGU9InhzOnN0cmluZyIvPg0KICAgICAgICAgICAgPHhzOmVsZW1lbnQgbmFtZT0iaW1h
Z2U2NCIgdHlwZT0ieHM6c3RyaW5nIi8+DQogICAgICAgICA8L3hzOnNlcXVlbmNlPg0KICAgICAg
PC94czpjb21wbGV4VHlwZT4NCiAgIDwveHM6ZWxlbWVudD4NCjwveHM6c2NoZW1hPg==</m__templateSchema>
  <m__renderOnce>false</m__renderOnce>
  <m__templateBaseFolder>D:\Adobe\LiveCycleESPreviewRelease2\Workbench ES\Workbench\workspace\my-machine</m__templateBaseFolder>
</com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance>]]></sup:value><sup:property-editor editor-id="com.adobe.idp.taskmanager.editor.xfa.XFARespositoryFormInstanceComponent" id="PE1189386034104"/></sup:variable><sup:variable visibleInUI="false" searchable="false" description="" title="" pof-attribute="" type="jav:xml" required="false" in="false" out="false" name="xml_var" id="V1189386034105"><sup:property readonly="false" dependent-property="" editor="" description="" name="xsd reference" id="VP1189386034059"><![CDATA[<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="imageType">
 <xs:complexType>
  <xs:sequence>
   <xs:element name="image" type="xs:string"/>
   <xs:element name="image64" type="xs:string"/>
  </xs:sequence>
 </xs:complexType>
</xs:element>
</xs:schema>
]]></sup:property><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:variable></sup:variables><sup:branch start-action="initialize xml" type="synchronous" y-position="0" x-position="0" name="main-branch" id="B1188538413887"><sup:description xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><sup:pools><sup:pool start-action="initialize xml" y-position="0" x-position="2" type="horizontal" name="POOL" id="PL1188538413902"><sup:description xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><sup:swimlanes><sup:swimlane type="horizontal" color="RGB{192, 192, 192}" width="2000" height="600" y-position="0" x-position="34" name="SWIMLANE0" id="S1188538413902"><sup:description xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><sup:actions><sup:invoke operation-name="execute" service-name="SetValue" isFireAndForget="false" isLongLived="false" color="" y-position="41" x-position="101" name="initialize xml" id="A1188538413935"><sup:description/><sup:routes><sup:route destination="insert image" to-port="LEFT_CENTER" from-port="RIGHT_CENTER" segment-distance="50" segment="3" y-offset="0" x-offset="0" link-type="normal" connective="" name="route0" id="R1188538413967"><sup:description xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:route></sup:routes><sup:input type="IMPLICIT" name="execution-context"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:input><sup:input type="LITERAL" name="mappings"><sup:value><![CDATA[<list>
  <com.adobe.idp.workflow.dsc.type.SetValueMapping>
    <m__locationExpr>/process_data/xml_var</m__locationExpr>
    <m__valueExpr>&apos;&lt;imageType&gt;&#x0D;
	&lt;image&gt;http://test-lces:8080/images/London.jpg&lt;/image&gt;&#x0D;
	&lt;image64/&gt;&#x0D;
&lt;/imageType&gt;&apos;</m__valueExpr>
  </com.adobe.idp.workflow.dsc.type.SetValueMapping>
</list>]]></sup:value></sup:input></sup:invoke><sup:invoke operation-name="insertImage" service-name="ImageInserter" isFireAndForget="false" isLongLived="false" color="" y-position="41" x-position="270" name="insert image" id="A1188538413936"><sup:description/><sup:routes><sup:route destination="merge xml data to form" to-port="LEFT_CENTER" from-port="RIGHT_CENTER" segment-distance="50" segment="3" y-offset="0" x-offset="0" link-type="normal" connective="" name="route0" id="R1188538413968"><sup:description/></sup:route></sup:routes><sup:input type="XPATH" name="imageLocation"><sup:value>/process_data/xml_var/imageType/image</sup:value></sup:input><sup:output type="XPATH" name="image"><sup:value>/process_data/xml_var/imageType/image64</sup:value></sup:output></sup:invoke><sup:invoke operation-name="log" service-name="VariableLoggerService" isFireAndForget="false" isLongLived="false" color="" y-position="41" x-position="572" name="log" id="A1188538413937"><sup:description/><sup:routes><sup:route destination="Assign Form to User" to-port="LEFT_CENTER" from-port="BOTTOM_CENTER" segment-distance="50" segment="3" y-offset="0" x-offset="0" link-type="normal" connective="" name="route0" id="R1189386034760"><sup:description/></sup:route></sup:routes><sup:event-catchs><sup:default-exception-catch position="bottom-right" event-category="Exception" event-type-name="DEFAULT EXCEPTION" operation-name="log" name="DEFAULT EXCEPTION" id="EC1188538413933"/></sup:event-catchs><sup:input type="LITERAL" name="logToSystemLogger"><sup:value>false</sup:value></sup:input><sup:input type="LITERAL" name="loggingLevel"><sup:value>Off</sup:value></sup:input><sup:input type="LITERAL" name="logToSysOut"><sup:value>true</sup:value></sup:input><sup:input type="LITERAL" name="logToDir"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:input><sup:input type="LITERAL" name="dirName"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:input><sup:input type="LITERAL" name="fileNamePrefix"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:input><sup:input type="LITERAL" name="loggingMode"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:input><sup:input type="IMPLICIT" name="PATExecutionContext"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:input></sup:invoke><sup:invoke operation-name="AssignTask" service-name="UserService" isFireAndForget="false" isLongLived="true" color="" y-position="154" x-position="664" name="Assign Form to User" id="A1189386034727"><sup:description/><sup:event-catchs><sup:default-exception-catch position="bottom-right" event-category="Exception" event-type-name="DEFAULT EXCEPTION" operation-name="AssignTask" name="DEFAULT EXCEPTION" id="EC1189386034742"/></sup:event-catchs><sup:input type="LITERAL" name="createInfo"><sup:value><![CDATA[<composite>
<mapping expr-type="XPATH" property="actionId"/>
<mapping expr-type="LITERAL" property="escalateTask"/>
<mapping expr-type="LITERAL" property="aclCollection"/>
<mapping expr-type="XPATH" property="description"/>
<mapping expr-type="LITERAL" property="designateInfo">&lt;com.adobe.idp.taskmanager.dsc.userservice.UserSelectionInfo&gt;
  &lt;selection&gt;1&lt;/selection&gt;
  &lt;isGroupAssign&gt;true&lt;/isGroupAssign&gt;
  &lt;isRandomUser&gt;false&lt;/isRandomUser&gt;
  &lt;m__id&gt;27E04858-A9D0-CD8A-6B48-F0D3D3792E03&lt;/m__id&gt;
  &lt;m__UID&gt;27E04858-A9D0-CD8A-6B48-F0D3D3792E03&lt;/m__UID&gt;
  &lt;m__domainCommonName&gt;Default Domain&lt;/m__domainCommonName&gt;
  &lt;m__domainId&gt;DefaultDom&lt;/m__domainId&gt;
  &lt;m__canonicalName&gt;SuperAdmin&lt;/m__canonicalName&gt;
  &lt;m__commonName&gt;Super Administrator&lt;/m__commonName&gt;
&lt;/com.adobe.idp.taskmanager.dsc.userservice.UserSelectionInfo&gt;</mapping>
<mapping expr-type="LITERAL" property="varMap">&lt;com.adobe.idp.taskmanager.dsc.userservice.MapInfo&gt;
  &lt;xpathFormIn&gt;/process_data/xfaForm_var&lt;/xpathFormIn&gt;
  &lt;m__formCompleteRequired&gt;false&lt;/m__formCompleteRequired&gt;
&lt;/com.adobe.idp.taskmanager.dsc.userservice.MapInfo&gt;</mapping>
<mapping expr-type="LITERAL" property="delConsul"/>
<mapping expr-type="LITERAL" property="attachNotes"/>
<mapping expr-type="LITERAL" property="escalationUserInfo"/>
<mapping expr-type="LITERAL" property="routesPriorities"/>
<mapping expr-type="LITERAL" property="escalationDate"/>
<mapping expr-type="LITERAL" property="deadlineInfo"/>
<mapping expr-type="LITERAL" property="reminderInfo"/>
<mapping expr-type="XPATH" property="forwardGroupId"/>
<mapping expr-type="Template" property="instructions">Test again4</mapping>
<mapping expr-type="XPATH" property="stepName"/>
</composite>
]]></sup:value></sup:input><sup:input type="IMPLICIT" name="patExecutionContext"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:input><sup:output type="XPATH" name="taskID"><sup:value/></sup:output><sup:output type="XPATH" name="formDataOut"><sup:value>/process_data/xfaForm_var</sup:value></sup:output><sup:output type="XPATH" name="attachmentListOut"><sup:value/></sup:output><sup:output type="XPATH" name="completeUserID"><sup:value/></sup:output><sup:output type="XPATH" name="PATServiceResult"><sup:value/></sup:output></sup:invoke><sup:invoke operation-name="execute" service-name="SetValue" isFireAndForget="false" isLongLived="false" color="" y-position="41" x-position="425" name="merge xml data to form" id="A1189386034728"><sup:description/><sup:routes><sup:route destination="log" to-port="LEFT_CENTER" from-port="RIGHT_CENTER" segment-distance="50" segment="3" y-offset="0" x-offset="0" link-type="normal" connective="" name="route0" id="R1189386034759"><sup:description/></sup:route></sup:routes><sup:input type="IMPLICIT" name="execution-context"><sup:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></sup:input><sup:input type="LITERAL" name="mappings"><sup:value><![CDATA[<list>
  <com.adobe.idp.workflow.dsc.type.SetValueMapping>
    <m__locationExpr>/process_data/xfaForm_var/object/data/xdp/datasets/data</m__locationExpr>
    <m__valueExpr>/process_data/xml_var//imageType</m__valueExpr>
  </com.adobe.idp.workflow.dsc.type.SetValueMapping>
</list>]]></sup:value></sup:input></sup:invoke></sup:actions></sup:swimlane></sup:swimlanes></sup:pool></sup:pools></sup:branch></sup:process>