XML to Import WF which Implements Custom Content Handler
- Last UpdatedJun 10, 2024
- 4 minute read
- <workflow name="" version="2">
- <diagramdatacollection>
- <diagramdata key="DesignerInstanceId">
- <![CDATA[
34eb47cb40164d33adcad5f358b6ded8
]]>
</diagramdata>
</diagramdatacollection>
- <action name="Approval1" type="Approval" displayname="Approval" description="" looponoutput="">
- <properties>
- <property name="Action Display Name">
- <![CDATA[
]]>
</property>
- <property name="Delivery Channels">
- <propertychannel selectedchannelscount="1">
- <channels>
- <channel name="WebWorkList">
<config url="" />
- <forms>
- <form name="Approval Form" type="NativeWebForm">
<actors grantaccess="True" />
<roles grantaccess="True" />
</form>
</forms>
</channel>
<removedchannels list="" />
</channels>
</propertychannel>
</property>
- <property name="Work Item Fields">
<Workitemfields />
</property>
- <property name="To">
- <resource>
- <globalfilter>
- <![CDATA[
]]>
</globalfilter>
- <dispglobalfilter>
- <![CDATA[
]]>
</dispglobalfilter>
- <filter>
- <![CDATA[
[UserDisplayName] = ["admin"]
]]>
</filter>
- <dispfilter>
- <![CDATA[
[Display Name] = ["admin"]
]]>
</dispfilter>
- <multipleproviderfilter>
- <![CDATA[
[UserDisplayName] = ["admin"]
]]>
</multipleproviderfilter>
- <multipleproviderdispfilter>
- <![CDATA[
[Display Name] = ["admin"]
]]>
</multipleproviderdispfilter>
</resource>
</property>
- <property name="Assign Queue">
- <queuevalue>
- <value>
- <![CDATA[
]]>
</value>
- <valueID>
- <![CDATA[
]]>
</valueID>
</queuevalue>
</property>
- <property name="Min. Acknowledgements [% or Number]">
- <![CDATA[
1
]]>
</property>
- <property name="Max. Acknowledgements [% or Number]">
- <![CDATA[
100%
]]>
</property>
- <property name="Enable TakeOwnership">
- <![CDATA[
Yes
]]>
</property>
- <property name="Forwarding Allowed?">
- <![CDATA[
No
]]>
</property>
- <property name="Ignore Unavailable Resources?">
- <![CDATA[
No
]]>
</property>
- <property name="Alternate Resource Allowed?">
- <![CDATA[
Yes
]]>
</property>
- <property name="Subject">
- <workflowmemovalue>
- <height>
- <![CDATA[
350
]]>
</height>
- <width>
- <![CDATA[
650
]]>
</width>
- <value>
- <![CDATA[
<%#Content.IContentHandler.fromdate%>
]]>
</value>
- <valueHTML>
- <![CDATA[
<%#Content.IContentHandler.fromdate%>
]]>
</valueHTML>
- <classname>
- <![CDATA[
cc0ce05b681841758dc082a82f633b9a
]]>
</classname>
</workflowmemovalue>
</property>
- <property name="Notes">
- <workflowmemovalue>
- <height>
- <![CDATA[
350
]]>
</height>
- <width>
- <![CDATA[
650
]]>
</width>
- <value>
- <![CDATA[
]]>
</value>
- <valueHTML>
- <![CDATA[
]]>
</valueHTML>
- <classname>
- <![CDATA[
a097a01f59f4495087759bf1b2308e08
]]>
</classname>
</workflowmemovalue>
</property>
- <property name="From Email Address">
- <![CDATA[
admin@domain.com
]]>
</property>
- <property name="Hide Responses?">
- <![CDATA[
0
]]>
</property>
- <property name="Show Custom Document View Window">
- <![CDATA[
Yes
]]>
</property>
- <property name="Priority">
- <![CDATA[
Medium
]]>
</property>
- <property name="Send Notification Email">
- <![CDATA[
No
]]>
</property>
- <property name="Notify if alternate considered">
- <![CDATA[
No
]]>
</property>
- <property name="Redirect URL">
- <workflowmemovalue>
- <height>
- <![CDATA[
350
]]>
</height>
- <width>
- <![CDATA[
650
]]>
</width>
- <value>
- <![CDATA[
]]>
</value>
- <valueHTML>
- <![CDATA[
]]>
</valueHTML>
- <classname>
- <![CDATA[
2c234c1402c24bdb8accd02ef50ff5ae
]]>
</classname>
</workflowmemovalue>
</property>
- <property name="Custom Document View URL">
- <workflowmemovalue>
- <height>
- <![CDATA[
350
]]>
</height>
- <width>
- <![CDATA[
650
]]>
</width>
- <value>
- <![CDATA[
]]>
</value>
- <valueHTML>
- <![CDATA[
]]>
</valueHTML>
- <classname>
- <![CDATA[
dfb9a8e55be84cd49f5536364accced4
]]>
</classname>
</workflowmemovalue>
</property>
- <property name="Use html template from property">
- <![CDATA[
No
]]>
</property>
- <property name="HTML template">
- <workflowmemovalue>
- <height>
- <![CDATA[
350
]]>
</height>
- <width>
- <![CDATA[
650
]]>
</width>
- <value>
- <![CDATA[
]]>
</value>
- <valueHTML>
- <![CDATA[
]]>
</valueHTML>
- <classname>
- <![CDATA[
b93a2d9730ca4f77af6d7b051b634afb
]]>
</classname>
</workflowmemovalue>
</property>
- <property name="Affirmative Answer for Approval [% or Number]">
- <![CDATA[
100%
]]>
</property>
- <property name="Action Limit[% or Number]">
- <![CDATA[
100%
]]>
</property>
- <property name="Wait For All The Participants To Act">
- <![CDATA[
No
]]>
</property>
- <property name="Set Calendar">
- <![CDATA[
]]>
</property>
- <property name="Minimum Time for Action">
- <![CDATA[
0
]]>
</property>
- <property name="Timeout warning for Acknowledgement">
- <![CDATA[
0
]]>
</property>
- <property name="Timeout for Acknowledgement">
- <![CDATA[
0
]]>
</property>
- <property name="Timeout warning for Action">
- <![CDATA[
0
]]>
</property>
- <property name="Timeout for Action">
- <![CDATA[
0
]]>
</property>
- <property name="Multiple TimeOut Warning">
- <![CDATA[
]]>
</property>
- <property name="Enable Redirection?">
- <![CDATA[
No
]]>
</property>
</properties>
- <visual-attributes>
<height>65</height>
<isloop>false</isloop>
<top>75</top>
<width>65</width>
<left>275</left>
</visual-attributes>
</action>
- <action name="Start" type="Start" displayname="" description="" looponoutput="">
- <properties>
- <property name="Variables">
- <![CDATA[
0001#00380002$0018LeaveApplicationID$0006number
]]>
</property>
- <property name="Contents">
- <![CDATA[
0001#00540004$0018LeaveApplicationID$0006number$0006//test$0000
]]>
</property>
- <property name="XmlVariables">
- <XmlVariables>
- <XmlVariable>
- <Name>
- <![CDATA[
SKEventData
]]>
</Name>
- <Description>
- <![CDATA[
]]>
</Description>
- <StorageType>
- <![CDATA[
XmlDocument
]]>
</StorageType>
- <Scope>
- <![CDATA[
global
]]>
</Scope>
- <Schema>
- <![CDATA[
<?xml version="1.0" encoding="utf-16"?>
<xsd:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:element name="SKEventData">
<xs:complexType>
<xs:sequence>
<xs:element name="EventProperties" />
<xs:element name="EventType" />
<xs:element name="EventProvider" />
<xs:element name="EventDateTimeUTC" type="xs:string" />
<xs:element name="EventDateTime" type="xs:string" />
<xs:element name="UserId" />
<xs:element name="UserName" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xsd:schema>
]]>
</Schema>
- <Xsl>
- <![CDATA[
]]>
</Xsl>
- <Storage>
- <InternalStorage>
- <![CDATA[
variables
]]>
</InternalStorage>
</Storage>
</XmlVariable>
</XmlVariables>
</property>
- <property name="ExecutionView">
- <![CDATA[
]]>
</property>
- <property name="SOAObjects">
<SOAObjects />
</property>
</properties>
- <visual-attributes>
<height>65</height>
<isloop>false</isloop>
<top>75</top>
<width>65</width>
<left>100</left>
</visual-attributes>
</action>
- <action name="Update Variable1" type="UpdateVariableValue" displayname="UpdateVariableValue" description="" looponoutput="">
- <properties>
- <property name="Set Variable">
- <contentupdationfields>
- <contentupdationfield name="Variable.LeaveApplicationID" operator="=" mode="ObjTree" methodName="c2c73d7d351242d29e8792000fdc5159">
- <![CDATA[
Content.LeaveApplicationID
]]>
</contentupdationfield>
- <classname>
- <![CDATA[
2f5c0ce2df16485cbd93022b5e6fd2bb
]]>
</classname>
- <jstring>
- <![CDATA[
[{"RHSMode":"ObjTree",
"LHSColumn":"Variable.LeaveApplicationID",
"RHSColumn":"Content.LeaveApplicationID",
"OPRColumn":"",
"ColumnExpression":{"DisplayExpressionString":"",
"ActualExprtessionString":"",
"MethodParameterList":"",
"HtmlVerexpString":"",
"ReferenceList":"",
"ReferencedFunctionList":"",
"NodeInfo":""}}]
]]>
</jstring>
</contentupdationfields>
</property>
- <property name="StopOnExceptions">
- <![CDATA[
Yes
]]>
</property>
</properties>
- <visual-attributes>
<height>65</height>
<isloop>false</isloop>
<top>225</top>
<width>65</width>
<left>125</left>
</visual-attributes>
</action>
- <link from="Update Variable1" to="Approval1" condition="Updated" description="" name="Link0">
- <visual-attributes>
<sourceport>r</sourceport>
<sourceportside>r</sourceportside>
<sourceportindex>0</sourceportindex>
<sourceportfinalside>r</sourceportfinalside>
<sourceportfinalindex>0</sourceportfinalindex>
<sourceportfinalx>190</sourceportfinalx>
<sourceportfinaly>258</sourceportfinaly>
<targetport>b</targetport>
<targetportside>dynamic</targetportside>
<targetportindex>0</targetportindex>
<targetportfinalside>b</targetportfinalside>
<targetportfinalindex>0</targetportfinalindex>
<targetportfinalx>308</targetportfinalx>
<targetportfinaly>140</targetportfinaly>
<serializedpath>Link0;false;3;308;258;Link0,right,0,213,258,190,258,false,false,NaN,NaN,!,,Link0_0,;Link0,,0,213,258,213,258,false,false,NaN,NaN,!,,Link0_1,;Link0,right,0,308,258,213,258,false,true,260,258,!,,Link0_2,;Link0,up,0,308,163,308,258,false,true,308,210,!,,Link0_3,;Link0,,0,308,163,308,163,false,false,NaN,NaN,!,,Link0_4,;Link0,up,0,308,140,308,163,true,false,NaN,NaN,!,,Link0_5,</serializedpath>
<thickness>1</thickness>
<color>#000000</color>
<linetype />
<islocked>false</islocked>
</visual-attributes>
</link>
- <link from="Start" to="Update Variable1" condition="" description="" name="Link1">
- <visual-attributes>
<sourceport>b</sourceport>
<sourceportside>dynamic</sourceportside>
<sourceportindex>0</sourceportindex>
<sourceportfinalside>b</sourceportfinalside>
<sourceportfinalindex>0</sourceportfinalindex>
<sourceportfinalx>133</sourceportfinalx>
<sourceportfinaly>140</sourceportfinaly>
<targetport>t</targetport>
<targetportside>dynamic</targetportside>
<targetportindex>0</targetportindex>
<targetportfinalside>t</targetportfinalside>
<targetportfinalindex>0</targetportfinalindex>
<targetportfinalx>158</targetportfinalx>
<targetportfinaly>225</targetportfinaly>
<serializedpath>Link1;false;2;133;195;Link1,down,0,133,154,133,140,false,false,NaN,NaN,!,,Link1_0,;Link1,,0,133,154,133,154,false,false,NaN,NaN,!,,Link1_1,;Link1,down,0,133,210,133,154,false,true,133,182,!,,Link1_2,;Link1,right,0,158,210,133,210,false,false,0,0,!,,Link1_3,;Link1,down,0,158,222,158,210,false,false,0,0,!,,Link1_4,;Link1,,0,158,222,158,222,false,false,NaN,NaN,!,,Link1_5,;Link1,down,0,158,225,158,222,true,false,NaN,NaN,!,,Link1_6,</serializedpath>
<thickness>1</thickness>
<color>#000000</color>
<linetype />
<islocked>false</islocked>
</visual-attributes>
</link>
</workflow>