﻿<?xml version="1.0" encoding="utf-8"?>
<bpr:release xmlns:bpr="http://www.blueprism.co.uk/product/release">
    <bpr:name>Enate Connector V9</bpr:name>
    <bpr:release-notes>Added new Defect Action</bpr:release-notes>
    <bpr:created>2020-09-24 11:24:33Z</bpr:created>
    <bpr:package-id>1</bpr:package-id>
    <bpr:package-name>Enate Connector</bpr:package-name>
    <bpr:user-created-by>admin</bpr:user-created-by>
    <bpr:contents count="9">
        <process id="f60e3b82-0f0a-4a85-ba53-f7980a2739dc" name="Test Enate - Basic GetWork to Update Action" published="true" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test Enate - Basic GetWork to Update Action" version="1.0" bpversion="6.4.2.10610" narrative="" byrefcollection="true"><view><camerax>0</camerax><cameray>12</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="684e851a-f7dc-4684-b071-9af58a2711f3" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><onsuccess>c69040c6-0793-4268-b9de-ee73672604a4</onsuccess></stage><stage stageid="7a2be221-c6df-4bc2-9321-5f1dd394a621" name="End" type="End"><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="b68abe1e-fea9-437a-8539-64880ca0195c" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="c69040c6-0793-4268-b9de-ee73672604a4" name="Authenticate" type="Action"><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Username" narrative="The username of the bot in the Enate Platform" expr="[Username]" /><input type="password" name="Password" narrative="The password of the bot in the Enate Platform " expr="[Password]" /><input type="flag" name="CloseExistingSession" narrative="if there is an existing active session for the User should it be ended. If false and an existing session exists then authentication will fail" expr="True" /></inputs><outputs><output type="text" name="Token" narrative="The Authentication Token to use in future calls to Enate" stage="Token" /></outputs><onsuccess>cb0ef49b-a661-4679-ac92-efc16f539707</onsuccess><resource object="Enate" action="Authenticate" /></stage><stage stageid="7c2103a1-fea6-4b25-8d36-4a51a1bfd794" name="Token" type="Data"><narrative></narrative><displayx>135</displayx><displayy>-45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a23fb36b-eadd-464c-8852-71f172ec2a68" name="URL" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">http://testsrv1201.enate.local/MCTest</initialvalue><private /><alwaysinit /></stage><stage stageid="28cf18ad-d5b9-474b-8842-0f59ff880cf0" name="Username" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Robot-ebbf2cf1-6d24-4ab8-9036-04c6acddc82d</initialvalue><private /><alwaysinit /></stage><stage stageid="ef53e75a-c173-43b9-9467-6b691e0da233" name="Password" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>36,27,21,68,8,5,70,86</initialvalueenc><private /><alwaysinit /></stage><stage stageid="cb0ef49b-a661-4679-ac92-efc16f539707" name="GetMoreWork" type="Action"><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /></inputs><outputs><output type="text" name="Packet" narrative="returns a Json object which represent a subset of the data. " stage="WorkPacket" /></outputs><onsuccess>b0f35943-5b8e-4b99-8f27-9af6597dc0e4</onsuccess><resource object="Enate" action="GetMoreWork" /></stage><stage stageid="36f725d4-7a7e-4cbc-ad2d-ef76fdbe718e" name="WorkPacket" type="Data"><narrative></narrative><displayx>135</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b0f35943-5b8e-4b99-8f27-9af6597dc0e4" name="Have Work" type="Decision"><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><decision expression="[WorkPacket]&lt;&gt;&quot;&quot;" /><ontrue>6c9ea551-f040-4970-8cfe-150a083b9551</ontrue><onfalse>7a2be221-c6df-4bc2-9321-5f1dd394a621</onfalse></stage><stage stageid="d90558c6-874f-4aba-9cf0-d057d650c39c" name="GetAction" type="Action"><narrative></narrative><displayx>105</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ActionGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Get More Work Logic would have returned this identifier in the Packet.GUID property" expr="[WorkPacketGUID]" /></inputs><outputs><output type="text" name="ActionPacket" narrative="Returns an ActionPacket Json String which represents an Action in the Enate Platform.  This Json can have its properties updated via Blue Prism Commands or Actions.  Files can also be added via the Enate Add File to Item Action.    *See ActionPacket DTO in Enate RPA Developers Guide for more information. " stage="ActionPacket" /></outputs><onsuccess>c17a4470-e673-40e8-8611-9e3fab4dabf0</onsuccess><resource object="Enate" action="GetAction" /></stage><stage stageid="3d7204cd-2cbf-4a06-aad3-e511f861d33d" name="ActionPacket" type="Data"><narrative></narrative><displayx>180</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ee899fc6-99b1-49ba-bc68-ada72c09f43c" name="End1" type="End"><narrative></narrative><displayx>-150</displayx><displayy>405</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="7db19fe9-fe4e-4018-914f-48ee412d4e77" name="Update Action" type="Action"><narrative></narrative><displayx>105</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ActionPacket" narrative="The ActionPacket Json String that represents the Action which you want to update in the Enate Platform.   *See ActionPacket DTO in Enate RPA Developers Guide for more information" expr="[ActionPacket]" /></inputs><outputs><output type="text" name="ActionPacket" narrative="Returns an ActionPacket Json String which represents an Action in the Enate Platform.  This Json can have its properties updated via Blue Prism Commands or Actions.  Files can also be added via the Enate Add File to Item Action.    *See ActionPacket DTO in Enate RPA Developers Guide for more information. " stage="ActionPacket" /></outputs><onsuccess>3478b51f-b38b-4a41-9eb0-bb6e887a6708</onsuccess><resource object="Enate" action="UpdateAction" /></stage><stage stageid="6c9ea551-f040-4970-8cfe-150a083b9551" name="GetWorkPacketGUID" type="Action"><narrative></narrative><displayx>105</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to get, ie GUID.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " expr="&quot;GUID&quot;" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to retrieve. " expr="[WorkPacket]" /></inputs><outputs><output type="text" name="Value" narrative="The value contained in the property specified. " stage="WorkPacketGUID" /></outputs><onsuccess>d90558c6-874f-4aba-9cf0-d057d650c39c</onsuccess><resource object="Enate" action="GetJSONProperty" /></stage><stage stageid="61454f29-9661-4928-ba2a-7629f356ec5b" name="WorkPacketGUID" type="Data"><narrative></narrative><displayx>195</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c17a4470-e673-40e8-8611-9e3fab4dabf0" name="Set Status to 3" type="Action"><narrative></narrative><displayx>105</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to Set, ie Status.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " expr="&quot;Status&quot;" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to set." expr="[ActionPacket]" /><input type="text" name="PropertyType" narrative=" This is the type of value this property contains must be String, WholeNumber, DecimalNumber, Date, DateTime, Boolean, jObject. " expr="&quot;WholeNumber&quot;" /><input type="text" name="Value" narrative="The value you want to set the property to." expr="3" /></inputs><outputs><output type="text" name="JSON" narrative="The updated JSON with the new value in property." stage="ActionPacket" /></outputs><onsuccess>7db19fe9-fe4e-4018-914f-48ee412d4e77</onsuccess><resource object="Enate" action="SetJSONProperty" /></stage><stage stageid="3478b51f-b38b-4a41-9eb0-bb6e887a6708" name="Is Work Available" type="Action"><narrative></narrative><displayx>105</displayx><displayy>315</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /></inputs><outputs><output type="flag" name="Result" narrative="returns a Json object which represent a subset of the data. " stage="WorkAvailable" /></outputs><onsuccess>8e426bce-55cc-47fc-80d6-2a98e76bde49</onsuccess><resource object="Enate" action="IsWorkAvailable" /></stage><stage stageid="aa9dd59d-367c-44fb-a521-4d37fafa96f1" name="WorkAvailable" type="Data"><narrative></narrative><displayx>180</displayx><displayy>315</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8e426bce-55cc-47fc-80d6-2a98e76bde49" name="Work Available" type="Decision"><narrative></narrative><displayx>-150</displayx><displayy>315</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><decision expression="[WorkAvailable]" /><ontrue>cb0ef49b-a661-4679-ac92-efc16f539707</ontrue><onfalse>ee899fc6-99b1-49ba-bc68-ada72c09f43c</onfalse></stage></process></process>
        <process id="ee81a4f2-5155-4420-94cc-5e883b59f63e" name="Test Enate - Cases" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test Enate - Cases" version="1.0" bpversion="6.4.2.10610" narrative="" byrefcollection="true"><view><camerax>0</camerax><cameray>42</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="4840cf5d-94ed-43f0-8dd9-da9b65ce8ac8" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="e765c773-9983-44ca-a89e-78a4b46eb9fb" name="End" type="End"><narrative></narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="cf952d32-a17f-4ef7-a9c8-43507bc78003" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><onsuccess>91e7ddb0-abd0-47c1-a84a-ba1b5b4fe44a</onsuccess></stage><stage stageid="91e7ddb0-abd0-47c1-a84a-ba1b5b4fe44a" name="Authenticate" type="Action"><narrative></narrative><displayx>15</displayx><displayy>-75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Username" narrative="The username of the bot in the Enate Platform" expr="[Username]" /><input type="password" name="Password" narrative="The password of the bot in the Enate Platform " expr="[Password]" /><input type="flag" name="CloseExistingSession" narrative="if there is an existing active session for the User should it be ended. If false and an existing session exists then authentication will fail" expr="True" /></inputs><outputs><output type="text" name="Token" narrative="The Authentication Token to use in future calls to Enate" stage="Token" /></outputs><onsuccess>f3ce6cfd-3569-4362-afca-33f33d81f633</onsuccess><resource object="Enate" action="Authenticate" /></stage><stage stageid="06b2d6a6-4a1f-42dd-a626-e4faa5be7466" name="Token" type="Data"><narrative></narrative><displayx>135</displayx><displayy>-75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d04c0a24-ffd1-45b8-8cbe-ebc80689c79c" name="URL" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">http://testsrv1201.enate.local/MCTest</initialvalue><private /><alwaysinit /></stage><stage stageid="7e83caf8-cdb2-4d35-99bd-057776e955d1" name="Username" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">mark</initialvalue><private /><alwaysinit /></stage><stage stageid="ccd6d046-3ec7-4a7e-af61-afff691c1e80" name="Password" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>49,20,7,67,26,91,6,1,115</initialvalueenc><private /><alwaysinit /></stage><stage stageid="f3ce6cfd-3569-4362-afca-33f33d81f633" name="Get Case Context" type="Action"><narrative></narrative><displayx>15</displayx><displayy>-15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="CustomerName" narrative="The Customer Name from the Enate Platform" expr="&quot;Marks Customer&quot;" /><input type="text" name="ContractName" narrative="The Contract Name from the Enate Platform " expr="&quot;Contract1&quot;" /><input type="text" name="ServiceName" narrative="The Service Name from the Enate Platfor" expr="&quot;Service1&quot;" /><input type="text" name="ProcessName" narrative="The Process Name from the Enate Platform" expr="&quot;BP Test Case&quot;" /></inputs><outputs><output type="text" name="CaseContextGUID" narrative="Guid which relates to a ProcessInstanceVersion to be used in the Create Case Action" stage="CaseContextGUID" /></outputs><onsuccess>e6db3cbf-4429-44ab-b1d5-135d89de1162</onsuccess><resource object="Enate" action="GetCaseProcess" /></stage><stage stageid="e6db3cbf-4429-44ab-b1d5-135d89de1162" name="Create Case" type="Action"><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProcessVersionInstanceGUID" narrative="The Guid returned by the Get Case/Ticket Process Action" expr="[CaseContextGUID]" /><input type="text" name="Title" narrative="The title to give to the newly created Case" expr="&quot;Test from BP&quot;" /><input type="text" name="ContactsSearch" narrative="A list of MultiContactSearch JSON to allow multiple contacts to be searched for and tagged for Case." expr="" /><input type="text" name="DataFields" narrative="Dictionary of items to update the Case Datafields which holds bespoke data as configured for the Case." expr="" /><input type="text" name="Attachments" narrative="a CSV delimited String of Files to attach.  ie C:\test\test.txt,C:\test\test2.txt" expr="" /><input type="text" name="NewPacketCommunication" narrative="A NewCommunication object containing information to add a packet communication to the Case.  Can use Prepare Communication Action to assist with building this Json" expr="" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /></inputs><outputs><output type="text" name="CaseGUID" narrative="Guid which relates to the unique identifier of the newly created Case" stage="NewCaseGUID" /></outputs><onsuccess>5eecef44-fdce-4507-a66e-b4de19d86e1c</onsuccess><resource object="Enate" action="CreateCase" /></stage><stage stageid="5eecef44-fdce-4507-a66e-b4de19d86e1c" name="Get Case" type="Action"><narrative></narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="CaseGUID" narrative="The unique identifier in Enate for the Case to retrieve, The Get More Work Action would have returned this identifier in the Packet.GUID property or the Create Case Action would return a Guid as it’s result type." expr="[NewCaseGUID]" /></inputs><outputs><output type="text" name="CasePacket" narrative="Returns a CasePacket Json String which represents a Case in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="CasePacket" /></outputs><onsuccess>d8678e3d-b5ba-4bb6-8abf-2ff25dd0bc45</onsuccess><breakpoint type="0"><condition></condition></breakpoint><resource object="Enate" action="GetCase" /></stage><stage stageid="d8678e3d-b5ba-4bb6-8abf-2ff25dd0bc45" name="Update Case" type="Action"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="CasePacket" narrative="The CasePacket Json String that represents the Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" expr="[CasePacket]" /></inputs><outputs><output type="text" name="CasePacket" narrative="Returns the updated CasePacket Json String which represents a Case in the Enate Platform." stage="CasePacket" /></outputs><onsuccess>ec0f8f7d-8ec8-436d-9622-edddc624db99</onsuccess><breakpoint type="0"><condition></condition></breakpoint><resource object="Enate" action="UpdateCase" /></stage><stage stageid="87eae680-4853-49eb-b27c-ffc62227304f" name="CaseContextGUID" type="Data"><narrative></narrative><displayx>105</displayx><displayy>-15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="495fce7e-1684-4ea3-8c8d-fdc6a508b74d" name="NewCaseGUID" type="Data"><narrative></narrative><displayx>90</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5fd844c0-3bce-4843-84d3-b92f611d4e99" name="CasePacket" type="Data"><narrative></narrative><displayx>90</displayx><displayy>105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ec0f8f7d-8ec8-436d-9622-edddc624db99" name="Get Case Context" type="Action"><narrative></narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="CustomerName" narrative="The Customer Name from the Enate Platform" expr="&quot;Marks Customer&quot;" /><input type="text" name="ContractName" narrative="The Contract Name from the Enate Platform " expr="&quot;Contract1&quot;" /><input type="text" name="ServiceName" narrative="The Service Name from the Enate Platfor" expr="&quot;Service1&quot;" /><input type="text" name="ProcessName" narrative="The Process Name from the Enate Platform" expr="&quot;BP Test Case&quot;" /></inputs><outputs><output type="text" name="CaseAttributeGUID" narrative="Guid which relates to a ProcessInstanceVersion to be used in the Create Sub Case Action." stage="CaseAttributeGUID" /></outputs><onsuccess>e8d18a98-f70b-4384-99ed-4711f52fdc75</onsuccess><resource object="Enate" action="GetCaseAttribute" /></stage><stage stageid="4113ea15-1c38-414f-bf80-4d0e39d67b5f" name="CaseAttributeGUID" type="Data"><narrative></narrative><displayx>90</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e8d18a98-f70b-4384-99ed-4711f52fdc75" name="Create Sub Case" type="Action"><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ExistingCaseGuid" narrative="A guid from a Case object" expr="[NewCaseGUID]" /><input type="text" name="CaseAttributeGUID" narrative="A guid returned from the Get Case Attribute Action" expr="[CaseAttributeGUID]" /><input type="text" name="Title" narrative="The title to give to the newly created Sub Case" expr="&quot;New Sub Case Test&quot;" /><input type="flag" name="Independent" narrative="is this an independent case. " expr="False" /></inputs><outputs><output type="text" name="SubCaseGUID" narrative="Guid which relates to the unique identifier of the newly created Sub Case" stage="SubCaseGUID" /></outputs><onsuccess>e765c773-9983-44ca-a89e-78a4b46eb9fb</onsuccess><resource object="Enate" action="CreateSubCase" /></stage><stage stageid="083f1e25-dcd1-4008-b669-79168c733858" name="SubCaseGUID" type="Data"><narrative></narrative><displayx>90</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage></process></process>
        <process id="0cfeab57-3669-4b48-96a5-2163b0e050ae" name="Test Enate - Comms" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test Enate - Comms" version="1.0" bpversion="6.4.2.10610" narrative="" byrefcollection="true"><view><camerax>0</camerax><cameray>99</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="b509a951-da9e-41d1-ba7c-c0856ed3ff4b" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="cfe6a040-939b-43b7-a89e-26f25d4882ee" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><onsuccess>2597943e-def4-483c-bcb6-5a95ee2b2f68</onsuccess></stage><stage stageid="acddf8a5-8508-4fa2-8abd-b3cebf8cf3bd" name="End" type="End"><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="2597943e-def4-483c-bcb6-5a95ee2b2f68" name="Authenticate" type="Action"><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Username" narrative="The username of the bot in the Enate Platform" expr="[Username]" /><input type="password" name="Password" narrative="The password of the bot in the Enate Platform " expr="[Password]" /><input type="flag" name="CloseExistingSession" narrative="if there is an existing active session for the User should it be ended. If false and an existing session exists then authentication will fail" expr="True" /></inputs><outputs><output type="text" name="Token" narrative="The Authentication Token to use in future calls to Enate" stage="Token" /></outputs><onsuccess>fd8d6dc5-74e3-4ab0-a75c-43089234e547</onsuccess><resource object="Enate" action="Authenticate" /></stage><stage stageid="04191140-9abb-4527-9772-1a32ec12b03a" name="Token" type="Data"><narrative></narrative><displayx>135</displayx><displayy>-45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9bb18276-eb83-4b2d-9501-4b634a320881" name="URL" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">https://hosting.enate.net/MyInstance</initialvalue><private /><alwaysinit /></stage><stage stageid="d65c3fbc-53b1-42ab-8545-66a3f2bac6c2" name="Username" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Robot1</initialvalue><private /><alwaysinit /></stage><stage stageid="d8ad0c77-7063-4c27-958a-8670bdcf665f" name="Password" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>36,27,21,68,8,5,70,86</initialvalueenc><private /><alwaysinit /></stage><stage stageid="fd8d6dc5-74e3-4ab0-a75c-43089234e547" name="GetMoreWork" type="Action"><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /></inputs><outputs><output type="text" name="Packet" narrative="returns a Json object which represent a subset of the data. " stage="WorkPacket" /></outputs><onsuccess>15fd8be9-a8c9-444e-ab4e-f4949c00a1ed</onsuccess><resource object="Enate" action="GetMoreWork" /></stage><stage stageid="b51f8f34-d86a-4813-a6ac-307f6cd14624" name="WorkPacket" type="Data"><narrative></narrative><displayx>135</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="15fd8be9-a8c9-444e-ab4e-f4949c00a1ed" name="Have Work" type="Decision"><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><decision expression="[WorkPacket]&lt;&gt;&quot;&quot;" /><ontrue>b942d336-218d-479d-8885-fed586f1075a</ontrue><onfalse>acddf8a5-8508-4fa2-8abd-b3cebf8cf3bd</onfalse></stage><stage stageid="9f8aa536-8d7a-4436-8343-6840979530a5" name="End1" type="End"><narrative></narrative><displayx>105</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="b942d336-218d-479d-8885-fed586f1075a" name="GetWorkPacketGUID" type="Action"><narrative></narrative><displayx>105</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to get, ie GUID.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " expr="&quot;GUID&quot;" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to retrieve. " expr="[WorkPacket]" /></inputs><outputs><output type="text" name="Value" narrative="The value contained in the property specified. " stage="WorkPacketGUID" /></outputs><onsuccess>a402b27d-b461-4d3a-ae12-130ce2bd1c1f</onsuccess><resource object="Enate" action="GetJSONProperty" /></stage><stage stageid="5d4c6314-c367-4fff-850c-5a1e71b77723" name="WorkPacketGUID" type="Data"><narrative></narrative><displayx>195</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a402b27d-b461-4d3a-ae12-130ce2bd1c1f" name="Add Packet Comms" type="Action"><narrative></narrative><displayx>105</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="PacketGUID" narrative="The unique identifier in Enate for the Work Item to add Communication to. The Get More Work Action would have returned this identifier in the GUID property of the JSON." expr="[WorkPacketGUID]" /><input type="number" name="CommunicationType" narrative="The type of communication to create as an integer:  PhoneIncoming =  1, ESSComment = 3, AuditNote = 4, PhoneOutgoing = 5, LetterIncoming = 6, LetterOutgoing = 7" expr="4" /><input type="text" name="Body" narrative="The message for the communication." expr="&quot;this is a test body&quot;" /><input type="flag" name="IsResolutionCommunication" narrative="Does this message Resolve the ticket" expr="False" /></inputs><outputs><output type="text" name="CommunicationJSON" stage="CommunicationJSON" /></outputs><onsuccess>1ad7bc72-1637-4bed-ab2f-4d1ae0a43876</onsuccess><resource object="Enate" action="AddPacketCommunication" /></stage><stage stageid="e7c04f82-f24d-4176-af0b-7ed6eae3d657" name="CommunicationJSON" type="Data"><narrative></narrative><displayx>180</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1ad7bc72-1637-4bed-ab2f-4d1ae0a43876" name="Send Email Comms" type="Action"><narrative></narrative><displayx>105</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="PacketGUID" narrative="The unique identifier in Enate for the Work Item to add Communication to. The Get More Work Action would have returned this identifier in the GUID property of the JSON." expr="[WorkPacketGUID]" /><input type="text" name="Body" narrative="The message for the communication." expr="&quot;this is a test body&quot;" /><input type="flag" name="IsResolutionCommunication" narrative="Does this message Resolve the ticket" expr="False" /><input type="flag" name="Important" narrative="flags the email as important" expr="False" /><input type="text" name="Subject" narrative="The Subject of the email" expr="&quot;Subject&quot;" /><input type="text" name="From" narrative="the email address which this email comes from" expr="&quot;Me@enate.net&quot;" /><input type="text" name="ToList" narrative="Comma Separated list of Email addresses ie Bob@Company.net,Harry@Company.net" expr="&quot;mark.compton@enate.net&quot;" /><input type="text" name="CCList" narrative="Comma Separated list of Email addresses ie Bob@Company.net,Harry@Company.net" expr="" /><input type="text" name="BCCList" narrative="Comma Separated list of Email addresses ie Bob@Company.net,Harry@Company.net" expr="" /><input type="text" name="Attachments" narrative="Comma Separated list of files to add ie C:\Test\Test.png,C:\Test\Other.txt" expr="" /></inputs><onsuccess>9f8aa536-8d7a-4436-8343-6840979530a5</onsuccess><resource object="Enate" action="SendEmailCommunication" /></stage></process></process>
        <process id="b49f5c13-4887-457c-be03-a36f892b1846" name="Test Enate - Files" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test Enate - Files" version="1.0" bpversion="6.4.2.10610" narrative="" byrefcollection="true"><view><camerax>0</camerax><cameray>399</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="bd2381ab-a88b-4f99-bb67-e0072e32b09f" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="1570c863-f832-471c-bfa0-2d4be536aea1" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><onsuccess>15294a2e-c869-45b5-a7a9-861a322a4121</onsuccess></stage><stage stageid="db3bdac0-fb95-4635-b33e-720d61cc222f" name="End" type="End"><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="15294a2e-c869-45b5-a7a9-861a322a4121" name="Authenticate" type="Action"><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Username" narrative="The username of the bot in the Enate Platform" expr="[Username]" /><input type="password" name="Password" narrative="The password of the bot in the Enate Platform " expr="[Password]" /><input type="flag" name="CloseExistingSession" narrative="if there is an existing active session for the User should it be ended. If false and an existing session exists then authentication will fail" expr="True" /></inputs><outputs><output type="text" name="Token" narrative="The Authentication Token to use in future calls to Enate" stage="Token" /></outputs><onsuccess>03513118-320f-4927-9e75-ef1557d9c0c2</onsuccess><resource object="Enate" action="Authenticate" /></stage><stage stageid="e4743a8f-beca-40b4-9fe0-82eca542450f" name="Token" type="Data"><narrative></narrative><displayx>135</displayx><displayy>-45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="38783056-f783-4ece-ad03-7c3e38554784" name="URL" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">http://testsrv1201.enate.local/MCTest</initialvalue><private /><alwaysinit /></stage><stage stageid="e554f30f-4a9b-4927-97f9-64355097fcf2" name="Username" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Robot-ebbf2cf1-6d24-4ab8-9036-04c6acddc82d</initialvalue><private /><alwaysinit /></stage><stage stageid="9a7008b1-70f5-4735-a085-c52bf6904263" name="Password" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>36,27,21,68,8,5,70,86</initialvalueenc><private /><alwaysinit /></stage><stage stageid="03513118-320f-4927-9e75-ef1557d9c0c2" name="GetMoreWork" type="Action"><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /></inputs><outputs><output type="text" name="Packet" narrative="returns a Json object which represent a subset of the data. " stage="WorkPacket" /></outputs><onsuccess>90bbfb43-46ad-4dd3-a1a8-b0f6858e63f2</onsuccess><resource object="Enate" action="GetMoreWork" /></stage><stage stageid="1b13023c-e066-44c9-b07f-8320e22d7f2c" name="WorkPacket" type="Data"><narrative></narrative><displayx>135</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="90bbfb43-46ad-4dd3-a1a8-b0f6858e63f2" name="Have Work" type="Decision"><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><decision expression="[WorkPacket]&lt;&gt;&quot;&quot;" /><ontrue>2a484386-a97d-48a9-bfd7-92002c5b510a</ontrue><onfalse>db3bdac0-fb95-4635-b33e-720d61cc222f</onfalse></stage><stage stageid="6931e2e0-82d5-4623-8d24-6c680b53e925" name="GetAction" type="Action"><narrative></narrative><displayx>105</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ActionGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Get More Work Logic would have returned this identifier in the Packet.GUID property" expr="[WorkPacketGUID]" /></inputs><outputs><output type="text" name="ActionPacket" narrative="Returns an ActionPacket Json String which represents an Action in the Enate Platform.  This Json can have its properties updated via Blue Prism Commands or Actions.  Files can also be added via the Enate Add File to Item Action.    *See ActionPacket DTO in Enate RPA Developers Guide for more information. " stage="ActionPacket" /></outputs><onsuccess>7ca78e43-0ec9-4458-9c45-e4c93816b0d8</onsuccess><resource object="Enate" action="GetAction" /></stage><stage stageid="df0ab5cc-14fd-47a4-a151-9353df6fe3d9" name="ActionPacket" type="Data"><narrative></narrative><displayx>180</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4786e660-9f81-4f4a-81bd-68c204df3846" name="End1" type="End"><narrative></narrative><displayx>105</displayx><displayy>555</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="1b22042c-232c-48f8-be0a-13a998ea2d7c" name="Update Action" type="Action"><narrative></narrative><displayx>105</displayx><displayy>315</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ActionPacket" narrative="The ActionPacket Json String that represents the Action which you want to update in the Enate Platform.   *See ActionPacket DTO in Enate RPA Developers Guide for more information" expr="[ActionPacket]" /></inputs><outputs><output type="text" name="ActionPacket" narrative="Returns an ActionPacket Json String which represents an Action in the Enate Platform.  This Json can have its properties updated via Blue Prism Commands or Actions.  Files can also be added via the Enate Add File to Item Action.    *See ActionPacket DTO in Enate RPA Developers Guide for more information. " stage="ActionPacket" /></outputs><onsuccess>6c4df089-ccee-4071-a6e2-65eca4c4ed30</onsuccess><resource object="Enate" action="UpdateAction" /></stage><stage stageid="2a484386-a97d-48a9-bfd7-92002c5b510a" name="GetWorkPacketGUID" type="Action"><narrative></narrative><displayx>105</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to get, ie GUID.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " expr="&quot;GUID&quot;" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to retrieve. " expr="[WorkPacket]" /></inputs><outputs><output type="text" name="Value" narrative="The value contained in the property specified. " stage="WorkPacketGUID" /></outputs><onsuccess>6931e2e0-82d5-4623-8d24-6c680b53e925</onsuccess><resource object="Enate" action="GetJSONProperty" /></stage><stage stageid="ed944afb-a8b6-419e-8585-bddfe2fe83e6" name="WorkPacketGUID" type="Data"><narrative></narrative><displayx>195</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d4312ba9-d0e4-42bb-b361-1625a8ed8721" name="Set Status to 3" type="Action"><narrative></narrative><displayx>105</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to Set, ie Status.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " expr="&quot;Status&quot;" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to set." expr="[ActionPacket]" /><input type="text" name="PropertyType" narrative=" This is the type of value this property contains must be String, WholeNumber, DecimalNumber, Date, DateTime, Boolean, jObject. " expr="&quot;WholeNumber&quot;" /><input type="text" name="Value" narrative="The value you want to set the property to." expr="3" /></inputs><outputs><output type="text" name="JSON" narrative="The updated JSON with the new value in property." stage="ActionPacket" /></outputs><onsuccess>1b22042c-232c-48f8-be0a-13a998ea2d7c</onsuccess><resource object="Enate" action="SetJSONProperty" /></stage><stage stageid="7ca78e43-0ec9-4458-9c45-e4c93816b0d8" name="Add File" type="Action"><narrative></narrative><displayx>105</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Packet" narrative="The TicketPacket, CasePacket or ActionPacket that you want to add the file to, this Json would have been returned from a Get Ticket, Get Case or Get Action." expr="[ActionPacket]" /><input type="text" name="TargetFileName" narrative="the filename of the file to add e.g. test.txt " expr="&quot;bot.png&quot;" /><input type="text" name="TargetPath" narrative="the local path of the file e.g. C:\Test Files " expr="&quot;C:\BluePrism&quot;" /><input type="text" name="Note" narrative="a note to add to the work item along with the file." expr="&quot;Test Note&quot;" /></inputs><outputs><output type="text" name="Packet" narrative="Returns the updated TicketPacket, CasePacket or ActionPacket Json String which will now contain an entry in the Files collection property" stage="ActionPacket" /></outputs><onsuccess>d4312ba9-d0e4-42bb-b361-1625a8ed8721</onsuccess><resource object="Enate" action="AddFileToItem" /></stage><stage stageid="6c4df089-ccee-4071-a6e2-65eca4c4ed30" name="GetAction" type="Action"><narrative></narrative><displayx>105</displayx><displayy>375</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ActionGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Get More Work Logic would have returned this identifier in the Packet.GUID property" expr="[WorkPacketGUID]" /></inputs><outputs><output type="text" name="ActionPacket" narrative="Returns an ActionPacket Json String which represents an Action in the Enate Platform.  This Json can have its properties updated via Blue Prism Commands or Actions.  Files can also be added via the Enate Add File to Item Action.    *See ActionPacket DTO in Enate RPA Developers Guide for more information. " stage="ActionPacket" /></outputs><onsuccess>86ffc07b-e1de-4adb-9252-eed208f264f0</onsuccess><breakpoint type="0"><condition></condition></breakpoint><resource object="Enate" action="GetAction" /></stage><stage stageid="86ffc07b-e1de-4adb-9252-eed208f264f0" name="GetFileJSON" type="Action"><narrative></narrative><displayx>105</displayx><displayy>435</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to get, ie GUID.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " expr="&quot;Files[0]&quot;" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to retrieve. " expr="[ActionPacket]" /></inputs><outputs><output type="text" name="Value" narrative="The value contained in the property specified. " stage="FileToDownload" /></outputs><onsuccess>6c5420fa-c866-47a3-b691-0fe546987b75</onsuccess><resource object="Enate" action="GetJSONProperty" /></stage><stage stageid="7e7871d6-841f-409f-a573-11aef5316928" name="FileToDownload" type="Data"><narrative></narrative><displayx>180</displayx><displayy>435</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6c5420fa-c866-47a3-b691-0fe546987b75" name="SaveFile" type="Action"><narrative></narrative><displayx>105</displayx><displayy>495</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="TargetPath" narrative="A local directory to save the file into from the Enate Platform" expr="&quot;C:\BluePrism\SaveFile&quot;" /><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="PacketGUID" narrative="The Guid Property from the work item from which you want to download a file, ie TicketPacket.Guid, CasePacket.Guid or ActionPacket.Guid" expr="[WorkPacketGUID]" /><input type="text" name="FileJSON" narrative=" A PacketFile from the Files collection property of either a TicketPacket, CasePacket or ActionPacket Json String" expr="[FileToDownload]" /><input type="flag" name="AllowOverwrite" narrative="A Boolean to indicate if the local file can be overwritten if it already exists" expr="True" /></inputs><onsuccess>4786e660-9f81-4f4a-81bd-68c204df3846</onsuccess><resource object="Enate" action="SaveFile" /></stage></process></process>
        <process id="b44d05e8-a00a-40c0-8fba-b10db2beb3b9" name="Test Enate - Reject Work" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test Enate - Reject Work" version="1.0" bpversion="6.4.2.10610" narrative="" byrefcollection="true"><view><camerax>0</camerax><cameray>105</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="3c86611a-cef2-41bf-9528-4abfc863f71c" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="c0c16760-5436-46eb-9801-ba897e9bc588" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><onsuccess>a4119ab6-e045-4567-b19e-20d01e578b73</onsuccess></stage><stage stageid="7c2239f9-6990-4088-9e14-6b1fe648898e" name="End" type="End"><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="a4119ab6-e045-4567-b19e-20d01e578b73" name="Authenticate" type="Action"><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Username" narrative="The username of the bot in the Enate Platform" expr="[Username]" /><input type="password" name="Password" narrative="The password of the bot in the Enate Platform " expr="[Password]" /><input type="flag" name="CloseExistingSession" narrative="if there is an existing active session for the User should it be ended. If false and an existing session exists then authentication will fail" expr="True" /></inputs><outputs><output type="text" name="Token" narrative="The Authentication Token to use in future calls to Enate" stage="Token" /></outputs><onsuccess>c65e7816-f689-4364-aaf6-30a5d82e856c</onsuccess><resource object="Enate" action="Authenticate" /></stage><stage stageid="c3112a4d-94da-405e-b835-989b7e44e7e0" name="Token" type="Data"><narrative></narrative><displayx>135</displayx><displayy>-45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="eff69495-9526-495b-ac62-b38bc51afcbc" name="URL" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">http://testsrv1201.enate.local/MCTest</initialvalue><private /><alwaysinit /></stage><stage stageid="20300a65-420d-465a-95fc-3e74d02ca2fe" name="Username" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Robot-ebbf2cf1-6d24-4ab8-9036-04c6acddc82d</initialvalue><private /><alwaysinit /></stage><stage stageid="20cfa011-d166-4e24-bcbd-73b824225e3c" name="Password" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>36,27,21,68,8,5,70,86</initialvalueenc><private /><alwaysinit /></stage><stage stageid="c65e7816-f689-4364-aaf6-30a5d82e856c" name="GetMoreWork" type="Action"><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /></inputs><outputs><output type="text" name="Packet" narrative="returns a Json object which represent a subset of the data. " stage="WorkPacket" /></outputs><onsuccess>4f27724f-3d58-4023-8c97-20bd7d6041ec</onsuccess><resource object="Enate" action="GetMoreWork" /></stage><stage stageid="1bff61b4-ec31-4137-9af6-7e3eebdd6b39" name="WorkPacket" type="Data"><narrative></narrative><displayx>135</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4f27724f-3d58-4023-8c97-20bd7d6041ec" name="Have Work" type="Decision"><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><decision expression="[WorkPacket]&lt;&gt;&quot;&quot;" /><ontrue>ab871e11-0656-4a51-91ce-1a0f196fdd38</ontrue><onfalse>7c2239f9-6990-4088-9e14-6b1fe648898e</onfalse></stage><stage stageid="0af09a0f-84e4-4a11-a827-b18f37255e40" name="End1" type="End"><narrative></narrative><displayx>105</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="ab871e11-0656-4a51-91ce-1a0f196fdd38" name="GetWorkPacketGUID" type="Action"><narrative></narrative><displayx>105</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to get, ie GUID.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " expr="&quot;GUID&quot;" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to retrieve. " expr="[WorkPacket]" /></inputs><outputs><output type="text" name="Value" narrative="The value contained in the property specified. " stage="WorkPacketGUID" /></outputs><onsuccess>0e8caad9-cdb7-4bd2-846a-d2319540943c</onsuccess><resource object="Enate" action="GetJSONProperty" /></stage><stage stageid="5042b645-1592-46b6-a2b5-bf552ff96249" name="WorkPacketGUID" type="Data"><narrative></narrative><displayx>195</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0e8caad9-cdb7-4bd2-846a-d2319540943c" name="Reject Work" type="Action"><narrative></narrative><displayx>105</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="PacketGUID" narrative="The unique identifier in Enate for the Work Item to reject, The Get More Work Action would have returned this identifier in the GUID property of the JSON" expr="[WorkPacketGUID]" /><input type="text" name="RejectReason" narrative="A reason the bot has rejected this work item, this will be displayed to the user in the Enate Platform so they are aware a robot has attempted and then rejected this work item." expr="&quot;Robot Cannot Complete&quot;" /></inputs><onsuccess>0af09a0f-84e4-4a11-a827-b18f37255e40</onsuccess><resource object="Enate" action="RejectWork" /></stage></process></process>
        <process id="03cc3d34-778c-408d-8442-2944ce549dd2" name="Test Enate - Tickets" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test Enate - Tickets" version="1.0" bpversion="6.4.2.10610" narrative="" byrefcollection="true"><view><camerax>0</camerax><cameray>84</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="b1499dff-4f7e-490c-b11e-b3e7cd3bd7de" name="End" type="End"><narrative></narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="062d5b20-9d49-4579-be19-76dedb86b7ee" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="f2046afb-dc74-42b6-89c1-e6fad1e4c911" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><onsuccess>16b5087e-f121-4744-9dc0-002ef3f3cc39</onsuccess></stage><stage stageid="16b5087e-f121-4744-9dc0-002ef3f3cc39" name="Authenticate" type="Action"><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Username" narrative="The username of the bot in the Enate Platform" expr="[Username]" /><input type="password" name="Password" narrative="The password of the bot in the Enate Platform " expr="[Password]" /><input type="flag" name="CloseExistingSession" narrative="if there is an existing active session for the User should it be ended. If false and an existing session exists then authentication will fail" expr="True" /></inputs><outputs><output type="text" name="Token" narrative="The Authentication Token to use in future calls to Enate" stage="Token" /></outputs><onsuccess>dd6396fa-6e36-4d07-9065-265886b45c36</onsuccess><resource object="Enate" action="Authenticate" /></stage><stage stageid="566e4e66-c96c-4a99-bdf1-3133af0add63" name="Token" type="Data"><narrative></narrative><displayx>135</displayx><displayy>-45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2a971692-f233-49fb-bd8f-4a710e8c7e5c" name="URL" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">http://testsrv1201.enate.local/MCTest</initialvalue><private /><alwaysinit /></stage><stage stageid="3affd6c5-d05f-47ac-8142-c7b5277ca936" name="Username" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Robot-ebbf2cf1-6d24-4ab8-9036-04c6acddc82d</initialvalue><private /><alwaysinit /></stage><stage stageid="3755f369-6482-444f-a4ad-a08ef73ec648" name="Password" type="Data"><narrative></narrative><displayx>-60</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>36,27,21,68,8,5,70,86</initialvalueenc><private /><alwaysinit /></stage><stage stageid="dd6396fa-6e36-4d07-9065-265886b45c36" name="Get Ticket Context" type="Action"><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="CustomerName" narrative="The Customer Name from the Enate Platform" expr="&quot;Marks Customer&quot;" /><input type="text" name="ContractName" narrative="The Contract Name from the Enate Platform " expr="&quot;Contract1&quot;" /><input type="text" name="ServiceName" narrative="The Service Name from the Enate Platfor" expr="&quot;Service1&quot;" /><input type="text" name="ProcessName" narrative="The Process Name from the Enate Platform" expr="&quot;Test Ticket&quot;" /></inputs><outputs><output type="text" name="TicketContextGUID" narrative="Guid which relates to a ProcessInstanceVersion to be used in the Create Ticket Action" stage="TicketContextGUID" /></outputs><onsuccess>7d82bec4-4a69-4c3a-a9e0-9383b614f6d9</onsuccess><resource object="Enate" action="GetTicketProcess" /></stage><stage stageid="95004ed3-f768-48f4-946f-2171aa8309da" name="TicketContextGUID" type="Data"><narrative></narrative><displayx>90</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7d82bec4-4a69-4c3a-a9e0-9383b614f6d9" name="Get Ticket Attribute" type="Action"><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProcessVersionInstanceGUID" narrative="the Guid returned by the Get Ticket Process Action" expr="[TicketContextGUID]" /><input type="text" name="CategoryLvl1" narrative="The Level 1 Category" expr="&quot;Cat1&quot;" /><input type="text" name="CategoryLvl2" narrative="The Level 2 Category" expr="&quot;Lvl2&quot;" /><input type="text" name="CategoryLvl3" narrative="The Level 3 Category" expr="&quot;lvl3&quot;" /></inputs><outputs><output type="text" name="TicketAttributeGUID" narrative="Guid which relates to the unique identifier of the Ticket Attribute" stage="TicketAttributeGUID" /></outputs><onsuccess>624ba0d2-721c-4c97-9281-9341ec0dd88c</onsuccess><resource object="Enate" action="GetTicketAttribute" /></stage><stage stageid="47fcaa82-0899-4a0d-b97e-92f82c5aeecf" name="TicketAttributeGUID" type="Data"><narrative></narrative><displayx>90</displayx><displayy>75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d640797c-8a3f-487b-b039-494a35ad4cf9" name="Create Ticket" type="Action"><narrative></narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProcessVersionInstanceGUID" narrative="The Guid returned by the Get Case/Ticket Process Action" expr="[TicketContextGUID]" /><input type="text" name="TicketAttributeGUID" narrative="the Guid returned by the Get Ticket Attribute Action" expr="[TicketAttributeGUID]" /><input type="text" name="Title" narrative="The title to give to the newly created Case" expr="&quot;Test from BP&quot;" /><input type="text" name="ContactsSearch" narrative="A list of MultiContactSearch JSON to allow multiple contacts to be searched for and tagged for Case." expr="&quot;[{&quot;&quot;Search&quot;&quot;: &quot;&quot;mark.compton@enate.net&quot;&quot;,   &quot;&quot;CCTag&quot;&quot;: true,&quot;&quot;OriginalRequesterTag&quot;&quot;: true, &quot;&quot;PrimaryContactTag&quot;&quot;: true, &quot;&quot;RequesterTag&quot;&quot;: true, &quot;&quot;SubjectTag&quot;&quot;: false  }]&quot;" /><input type="text" name="DataFields" narrative="Dictionary of items to update the Case Datafields which holds bespoke data as configured for the Case." expr="" /><input type="text" name="Attachments" narrative="a CSV delimited String of Files to attach.  ie C:\test\test.txt,C:\test\test2.txt" expr="&quot;C:\BluePrism\test.txt,C:\BluePrism\test.txt&quot;" /><input type="text" name="NewPacketCommunication" narrative="A NewCommunication object containing information to add a packet communication to the Case.  Can use Prepare Communication Action to assist with building this Json" expr="[CommunicationJSON]" /></inputs><outputs><output type="text" name="TicketGUID" narrative="Guid which relates to the unique identifier of the newly created Ticket" stage="NewTicketGUID" /></outputs><onsuccess>fad1b308-f9fe-4f84-8676-3d6733ad9e7e</onsuccess><resource object="Enate" action="CreateTicket" /></stage><stage stageid="18bb1acb-f810-4d38-827a-f4cd625c270f" name="NewTicketGUID" type="Data"><narrative></narrative><displayx>90</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fad1b308-f9fe-4f84-8676-3d6733ad9e7e" name="Get Ticket" type="Action"><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="TicketGUID" narrative="The unique identifier in Enate for the Ticket to retrieve, The Get More Work Action would have returned this identifier in the Packet.GUID property or the Create Ticket Action would return a Guid as it’s result type." expr="[NewTicketGUID]" /></inputs><outputs><output type="text" name="TicketPacket" narrative="Returns a TicketPacket Json String which represents a Ticket in the Enate Platform.   *See TicketPacket DTO in Enate RPA Developers Guide for more information" stage="TicketPacket" /></outputs><onsuccess>e05cc027-df58-4339-bb37-98b47a7373ec</onsuccess><breakpoint type="0"><condition></condition></breakpoint><resource object="Enate" action="GetTicket" /></stage><stage stageid="cc221f3e-f07b-4a1d-89ae-5f6da9c138ec" name="TicketPacket" type="Data"><narrative></narrative><displayx>90</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e05cc027-df58-4339-bb37-98b47a7373ec" name="Update Ticket" type="Action"><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " expr="[URL]" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="TicketPacket" narrative="The TicketPacket Json String that represents the Ticket which you want to update in the Enate Platform.   *See TicketPacket DTO in Enate RPA Developers Guide for more information" expr="[TicketPacket]" /></inputs><outputs><output type="text" name="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a Ticket in the Enate Platform." stage="TicketPacket" /></outputs><onsuccess>b1499dff-4f7e-490c-b11e-b3e7cd3bd7de</onsuccess><breakpoint type="0"><condition></condition></breakpoint><resource object="Enate" action="UpdateTicket" /></stage><stage stageid="624ba0d2-721c-4c97-9281-9341ec0dd88c" name="PreparePacketComms" type="Action"><narrative></narrative><displayx>-75</displayx><displayy>120</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="number" name="CommunicationType" narrative="The type of communication to create as an integer:  PhoneIncoming =  1, ESSComment = 3, AuditNote = 4, PhoneOutgoing = 5, LetterIncoming = 6, LetterOutgoing = 7" expr="4" /><input type="text" name="Body" narrative="The message for the communication." expr="&quot;This is a test Ticket Note&quot;" /><input type="flag" name="IsResolutionCommunication" narrative="Does this message Resolve the ticket" expr="False" /></inputs><outputs><output type="text" name="CommunicationJSON" narrative="returns the newly created PacketCommunication" stage="CommunicationJSON" /></outputs><onsuccess>d640797c-8a3f-487b-b039-494a35ad4cf9</onsuccess><resource object="Enate" action="PrepareCommunication" /></stage><stage stageid="ea49336d-ac1d-4da9-bb50-0548b80ed260" name="CommunicationJSON" type="Data"><narrative></narrative><displayx>-75</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage></process></process>
        <object id="3826edc6-7be2-4632-8269-801536bc7dd3" name="Enate" xmlns="http://www.blueprism.co.uk/product/process"><process name="Enate" version="1.0" bpversion="6.4.2.10610" narrative="Enate Connector" byrefcollection="true" type="object" runmode="Background"><appdef><element name="Application Root"><id>fdc6f386-5576-4a47-8887-d8e8769c4392</id><type>Application</type><basetype>Application</basetype><datatype>unknown</datatype><diagnose>False</diagnose></element></appdef><view><camerax>-282</camerax><cameray>21</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="3423175d-aaf8-4bda-abeb-7e9e581d35d9" type="CleanUp" published="True"><name>Clean Up</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="9a5ef59b-9e4b-45d3-a635-c81a70dfe48a" type="Normal" published="True"><name>GetJSONProperty</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="30bdc8cb-0d57-443c-98bb-a17cf35595a0" type="Normal" published="True"><name>SetJSONProperty</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5" type="Normal" published="True"><name>Authenticate</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="0356df47-1846-4caa-a691-4a529fa58826" type="Normal" published="True"><name>GetAction</name><view><camerax>0</camerax><cameray>2</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="515875c6-6856-4335-a735-73c8083ba5ee" type="Normal" published="True"><name>SwitchToLiveMode</name><view><camerax>0</camerax><cameray>2</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="6ca073e8-b98f-45b8-a9b3-5feb986e1a8e" type="Normal" published="True"><name>SwitchToTestMode</name><view><camerax>0</camerax><cameray>2</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508" type="Normal" published="True"><name>GetMoreWork</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="86abcfc7-a017-48e2-be2a-fad2b9400588" type="Normal" published="True"><name>UpdateAction</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="ddb041d8-11bc-43a6-b876-f3879e38aef4" type="Normal" published="True"><name>GetTicket</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="16108595-5c0c-4824-b236-3c9211be60cf" type="Normal" published="True"><name>SetAssignee</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52" type="Normal" published="True"><name>IsWorkAvailable</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="3ee5da91-12cf-4ecb-950c-4737b885266f" type="Normal" published="True"><name>UpdateTicket</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="73865ab2-9353-470d-8f6c-bf629d7613a2" type="Normal" published="True"><name>UpdateChecklist</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="d6f75f76-1c62-406e-a278-6cb4b96898fc" type="Normal" published="True"><name>RejectWork</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="0a1dc9b1-5ab2-453a-b45d-3661a1447fd7" type="Normal" published="True"><name>GetCase</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="a7137bea-c21a-46ba-ac23-49b9a806f65a" type="Normal" published="True"><name>UpdateCase</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="4a50c7ba-c65a-4c6f-8426-37d85c903c6c" type="Normal" published="True"><name>GetCaseProcess</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="6088797f-f1ae-4bc2-b286-334b707a57c0" type="Normal" published="True"><name>GetTicketProcess</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="7438e42a-cea3-48e3-8da7-59bf1fe86ca2" type="Normal" published="True"><name>GetTicketAttribute</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="fe1db7ce-599d-4960-a95d-22834bfcacc1" type="Normal" published="True"><name>GetCaseAttribute</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="3b859f6a-53f1-4c20-accb-71bee85a60bd" type="Normal" published="True"><name>AddPacketCommunication</name><view><camerax>0</camerax><cameray>24</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="0822b4be-9faf-4df2-91c1-555b7c6f4e57" type="Normal" published="True"><name>SendEmailCommunication</name><view><camerax>0</camerax><cameray>24</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="020ced73-7daf-46d9-bbea-cf0a5c5f7180" type="Normal" published="True"><name>PrepareCommunication</name><view><camerax>0</camerax><cameray>24</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="7ab1bda3-aa86-42db-bc58-eca32f72042c" type="Normal" published="True"><name>AddFileToItem</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="af94691a-91e7-4561-8e98-b153994ca234" type="Normal" published="True"><name>CreateCase</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="63442a89-dfc3-4e59-b26c-00cbc9a842df" type="Normal" published="True"><name>CreateTicket</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0" type="Normal" published="True"><name>SaveFile</name><view><camerax>132</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="1526c5e3-144a-45ae-8bf7-0356ae5a9145" type="Normal" published="True"><name>CreatePacket</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="58256db5-7b83-4e0a-bb54-b352265f8602" type="Normal" published="True"><name>SearchForContact</name><view><camerax>0</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="e0b0d165-5b3a-45db-8217-4e5144c2c210" type="Normal" published="True"><name>CreateSubCase</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="76bf0e83-b58d-4e87-8d35-baee32cf2eda" type="Normal" published="True"><name>AddDefect</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><stage stageid="96b622f8-9799-4fce-ae2e-4a04d82db1e8" name="Start" type="Start"><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><onsuccess>9f458305-3961-4e09-b2c2-094db2f2d759</onsuccess></stage><stage stageid="9f458305-3961-4e09-b2c2-094db2f2d759" name="End" type="End"><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="575cae8e-e9f4-4dba-ad0c-1eaac667107f" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><references><reference>System.dll</reference><reference>System.Data.dll</reference><reference>System.Xml.dll</reference><reference>System.Drawing.dll</reference><reference>System.Net.Http.dll</reference><reference>Newtonsoft.Json.dll</reference><reference>System.Core.dll</reference><reference>System.Windows.Forms.dll</reference><reference>System.Web.dll</reference></references><imports><import>System</import><import>System.Drawing</import><import>System.Data</import><import>System.Net.Http</import><import>System.Text</import><import>Newtonsoft.Json</import><import>System.Collections.Generic</import><import>Newtonsoft.Json.Linq</import><import>System.Collections</import><import>System.Linq</import><import>System.IO</import><import>System</import><import>System.Windows.Forms</import><import>System.Net</import><import>System.Web</import></imports><language>visualbasic</language><globalcode><![CDATA[]]></globalcode><code><![CDATA[    Public Const APIBaseURL As String = "/WebAPI/"
    Private Const TokenHeaderName As String = "apikey"

    Private CCTagGUID As Guid = New Guid("9D19DE03-A506-4715-A9CA-64AC21AB0285")
    Private OriginalRequesterTagGUID As Guid = New Guid("A91FC149-6DF1-4C08-AA8D-261FEC55FB0D")
    Private PrimaryContactTagGUID As Guid = New Guid("BE503445-95E0-4D08-AC1A-7BE063F20F8D")
    Private RequesterTagGUID As Guid = New Guid("E78C40CD-AF9E-4E36-964D-517AFD12CB25")
    Private SubjectTagGUID As Guid = New Guid("86AA8274-19E7-4B8A-98BB-81C81DE53693")

    Public Function CreateHTTPClient(platformURL As Uri,
                                 authenticationToken As String,
                                 proxyAddress As String,
                                 proxyUserName As String,
                                 proxyPassword As String) As HttpClient
        Dim result As HttpClient

        If Not String.IsNullOrEmpty(proxyAddress) Then
            Dim proxy = New WebProxy With {
           .Address = New Uri(proxyAddress),
           .BypassProxyOnLocal = False,
           .UseDefaultCredentials = False
       }
            proxy.Address = New Uri(proxyAddress)
            proxy.BypassProxyOnLocal = False
            proxy.UseDefaultCredentials = False
            If Not String.IsNullOrEmpty(proxyUserName) AndAlso Not String.IsNullOrEmpty(proxyPassword) Then
                proxy.Credentials = New NetworkCredential(proxyUserName, proxyPassword)
            End If

            Dim httpClientHandler = New HttpClientHandler With {.Proxy = proxy}
            result = New HttpClient(httpClientHandler, True)
        Else
            result = New HttpClient()
        End If

        Try

            result.BaseAddress = platformURL
            result.DefaultRequestHeaders.Accept.Clear()
            result.DefaultRequestHeaders.Accept.Add(New Headers.MediaTypeWithQualityHeaderValue("application/json"))

            If Not String.IsNullOrEmpty(authenticationToken) Then
                result.DefaultRequestHeaders.Add(TokenHeaderName, authenticationToken)
            End If

            Return result
        Catch ex As Exception
            result.Dispose()

            Throw
        End Try
    End Function

    Public Function RESTGETAsString(FullURL As String,
                                 authenticationToken As String,
                                 proxyAddress As String,
                                 proxyUserName As String,
                                 proxyPassword As String) As String
        Dim requestURI As Uri = New Uri(FullURL, UriKind.Absolute)
        Using client As HttpClient = CreateHTTPClient(requestURI, authenticationToken, proxyAddress, proxyUserName, proxyPassword)
            Dim messageResult As HttpResponseMessage = client.GetAsync(requestURI).Result
            If messageResult.IsSuccessStatusCode Then
                Return messageResult.Content.ReadAsStringAsync.Result
            Else
                Throw New Exception(messageResult.Content.ReadAsStringAsync.Result)
            End If
        End Using
    End Function

    Public Function RESTPOSTAsString(FullURL As String,
                                 authenticationToken As String,
                                 proxyAddress As String,
                                 proxyUserName As String,
                                 proxyPassword As String,
                                 data As String) As String
        Dim requestURI As Uri = New Uri(FullURL, UriKind.Absolute)
        Dim content_type As String = "application/json"
        Dim httpContent = New StringContent(data, Encoding.UTF8, content_type)

        Using client As HttpClient = CreateHTTPClient(requestURI, authenticationToken, proxyAddress, proxyUserName, proxyPassword)
            Dim messageResult As HttpResponseMessage = client.PostAsync(requestURI, httpContent).Result
            If messageResult.IsSuccessStatusCode Then
                Return messageResult.Content.ReadAsStringAsync.Result
            Else
                Throw New Exception(messageResult.Content.ReadAsStringAsync.Result)
            End If
        End Using
    End Function

    Public Function GetContextGUID(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           CustomerName As String,
                           ContractName As String,
                           ServiceName As String,
                           ProcessName As String,
                           CaseSearchType As Boolean,
                           ProcessGUIDType As Boolean) As String
        Dim SearchType = If(CaseSearchType, "Case", "Ticket")

        'GUIDType=Process/Attribute

        Dim requestURL As String = URL + APIBaseURL + "packet/GetContexts?processType=" + SearchType + "&forSelfService=false"
        Dim returnGUID As String = ""

        Dim json As String = RESTGETAsString(requestURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)

        Dim ContextObject As JArray = JArray.Parse(json)

        Try
            If ProcessGUIDType Then
                returnGUID = ContextObject.FirstOrDefault(Function(x) x("Name").Value(Of String) = CustomerName)("Contracts").FirstOrDefault(Function(x) x("Name").Value(Of String) = ContractName)("Services").FirstOrDefault(Function(x) x("Name").Value(Of String) = ServiceName)("Processes").FirstOrDefault(Function(x) x("Name").Value(Of String) = ProcessName)("GUID").Value(Of String)
            Else
                returnGUID = ContextObject.FirstOrDefault(Function(x) x("Name").Value(Of String) = CustomerName)("Contracts").FirstOrDefault(Function(x) x("Name").Value(Of String) = ContractName)("Services").FirstOrDefault(Function(x) x("Name").Value(Of String) = ServiceName)("Processes").FirstOrDefault(Function(x) x("Name").Value(Of String) = ProcessName)("AttributeGUID").Value(Of String)
            End If
        Catch ex As Exception
            Throw New Exception("GetContextGUID returned no results")
        End Try
        If returnGUID = "" Then
            Throw New Exception("GetContextGUID returned no results")
        End If
        Return returnGUID

    End Function

    Public Function GetTicketAttributeGUID(URL As String,
                                       AuthenticationToken As String,
                                       proxyAddress As String,
                                       proxyUserName As String,
                                       proxyPassword As String,
                                       ProcessVersionInstanceGUID As String,
                                       CategoryLvl1 As String,
                                       CategoryLvl2 As String,
                                       CategoryLvl3 As String) As String

        Dim requestURL As String = URL + APIBaseURL + "ticket/GetTicketCategories?ticketContextGUID=" + ProcessVersionInstanceGUID + "&forSelfService=false"
        Dim returnGUID As String = ""

        Dim json As String = RESTGETAsString(requestURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)

        Dim ContextObject As JArray = JArray.Parse(json)

        Try
            returnGUID = ContextObject.FirstOrDefault(Function(x) x("Name").Value(Of String) = CategoryLvl1)("Level2").FirstOrDefault(Function(x) x("Name").Value(Of String) = CategoryLvl2)("Level3").FirstOrDefault(Function(x) x("Name").Value(Of String) = CategoryLvl3)("GUID").Value(Of String)
        Catch ex As Exception
            Throw New Exception("GetTicketAttributeGUID returned no results")
        End Try
        If returnGUID = "" Then
            Throw New Exception("GetTicketAttributeGUID returned no results")
        End If
        Return returnGUID

    End Function

    Public Function PrepareCommunication(CommunicationType As Integer, Important As Boolean, Subject As String, Body As String, EmailFrom As String, EmailTo As String(), EmailCC As String(), EmailBCC As String(), isResolutionCommunication As Boolean, Attachments As String()) As String
        Dim bEmpty As Boolean = Attachments Is Nothing
        If Attachments IsNot Nothing Then
            For Each item As String In Attachments
                If String.IsNullOrEmpty(item) Then
                    bEmpty = True
                End If
            Next
        End If

        Return New JObject From {
        {"Important", Important},
        {"Subject", Subject},
        {"Body", Body},
        {"CommunicationType", CommunicationType},
        {"IsResolutionCommunication", isResolutionCommunication},
        {"IsSystemGenerated", False},
        {"From", New JObject From {{"EmailAddress", EmailFrom}}},
        {"To", If(EmailTo IsNot Nothing, New JArray From {EmailTo.Select(Function(address) New JObject() From {{"EmailAddress", address}})}, Nothing)},
        {"CC", If(EmailCC IsNot Nothing, New JArray From {EmailCC.Select(Function(address) New JObject() From {{"EmailAddress", address}})}, Nothing)},
        {"BCC", If(EmailBCC IsNot Nothing, New JArray From {EmailBCC.Select(Function(address) New JObject() From {{"EmailAddress", address}})}, Nothing)},
        {"Attachments", If(Not bEmpty, New JArray From {Attachments.Select(Function(FileName) GetNewFileJSON(FileName))}, Nothing)}
    }.ToString()

    End Function

    Public Function SendEmailCommunication(URL As String,
                                       AuthenticationToken As String,
                                       proxyAddress As String,
                                       proxyUserName As String,
                                       proxyPassword As String,
                                       PacketGUID As String,
                                       Important As Boolean,
                                       Subject As String,
                                       Body As String,
                                       EmailFrom As String,
                                       EmailTo As String(),
                                       EmailCC As String(),
                                       EmailBCC As String(),
                                       isResolutionCommunication As Boolean,
                                       Attachments As String()) As String
        Dim requestURL As String = URL + APIBaseURL + "PacketCommunication/SendEmailCommunication?packetGUID=" + PacketGUID

        Dim CommsJSON As String = PrepareCommunication(0, Important, Subject, Body, EmailFrom, EmailTo, EmailCC, EmailBCC, isResolutionCommunication, Attachments)

        Return RESTPOSTAsString(requestURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, CommsJSON)

    End Function

    Private Function GetBinaryFileData(filePath As String) As Byte()
        Dim fileData As Byte()

        Using fileStream = File.Open(filePath, FileMode.Open)
            fileData = New Byte(fileStream.Length - 1) {}
            fileStream.Read(fileData, 0, CType(fileStream.Length, Integer))
        End Using

        Return fileData
    End Function

    Public Function AddFileToFilesCollection(PacketJSON As String, TargetPath As String, TargetFileName As String, Note As String) As String
        Dim targetFilePath As String = IO.Path.Combine(TargetPath, TargetFileName)
        Dim PacketObject As JObject = JObject.Parse(PacketJSON)

        Dim Files As JArray = PacketObject("Files")
        Dim FileUpdate As JObject = New JObject From {
        {"Filename", TargetFileName},
        {"Note", Note},
        {"Data", GetBinaryFileData(targetFilePath)}
    }
        Files.Add(FileUpdate)
        Return PacketObject.ToString()
    End Function

    Friend Function GetNewFileJSON(TargetFileName As String) As JObject

        Return New JObject From {
        {"Filename", Path.GetFileName(TargetFileName)},
        {"Data", GetBinaryFileData(TargetFileName)}
    }
    End Function

    Public Function CleanJSONFromCollection(JSON As String) As String
        If JSON.Substring(0, 1) = "[" And JSON.Length > 1 Then
            JSON = JSON.Substring(1)
        End If
        If JSON.Substring(JSON.Length - 1, 1) = "]" And JSON.Length > 1 Then
            JSON = JSON.Substring(0, JSON.Length - 1)
        End If
        Return JSON
    End Function

    Public Function CreateSubCase(URL As String,
                              AuthenticationToken As String,
                              proxyAddress As String,
                              proxyUserName As String,
                              proxyPassword As String,
                              CaseGUID As String,
                              CaseAttributeGUID As String,
                              Title As String,
                              Independant As Boolean) As String

        Dim newCasePacket As String = "{""CaseAttributeGUID"":""" + CaseAttributeGUID + """,""Independant"":" + Independant.ToString().ToLower() + ",""ShortDescription"":""" + Title + """}"

        Dim createSubCaseURL As String = URL + APIBaseURL + "case/LaunchCaseFromCase?caseGUID=" + CaseGUID

        Return RESTPOSTAsString(createSubCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, newCasePacket)

    End Function

    Public Sub SaveFile(URL As String,
                    AuthenticationToken As String,
                    proxyAddress As String,
                    proxyUserName As String,
                    proxyPassword As String,
                    PacketGUID As String,
                    FileJSON As String,
                    TargetPath As String,
                    AllowOverwrite As Boolean)
        Dim response As HttpResponseMessage

        Directory.CreateDirectory(TargetPath)

        Dim File As JObject = JObject.Parse(FileJSON)
        Dim FileSource As String = File("Source").Value(Of String)
        Dim FileName As String = File("FileName").Value(Of String)
        Dim FileGUID As String = File("GUID").Value(Of String)

        Dim targetFilePath As String = Path.Combine(TargetPath, FileName)

        If Not AllowOverwrite AndAlso IO.File.Exists(targetFilePath) Then
            Throw New IOException("File '" + targetFilePath + "' already exists.")
        End If

        Dim requestURI As Uri = New Uri(URL + APIBaseURL + "packet/getpacketfile?packetGUID=" + PacketGUID + "&source=" + FileSource + "&fileGUID=" + FileGUID, UriKind.Absolute)
        Using client As HttpClient = CreateHTTPClient(New Uri(URL), AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
            response = client.GetAsync(requestURI).Result
        End Using

        If response.IsSuccessStatusCode Then

            Using streamReader = response.Content.ReadAsStreamAsync.Result
                Using outputFile = IO.File.Create(targetFilePath)
                    streamReader.Seek(0, IO.SeekOrigin.Begin)
                    streamReader.CopyTo(outputFile)
                End Using
            End Using
        Else
            Throw New Exception("Server returned status " + response.StatusCode + " and message " + response.Content.ReadAsStringAsync.Result + " while calling " + requestURI.ToString())
        End If
    End Sub

    Public Function CreateCase(PlatformURL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           ProcessVersionInstanceGUID As String,
                           Title As String,
                           ContactsSearch As String,
                           Attachments As String(),
                           NewPacketCommunication As String,
                           DataFields As String) As String

        'Create new packet
        Dim NewPacketRequest As String = "{""ProcessVersionInstanceGUID"":""" + ProcessVersionInstanceGUID + """,""StartMethod"":""Integration"",""TestingPacket"":false}"
        Dim createPacketURL As String = PlatformURL + APIBaseURL + "packet/createpacket"
        Dim newPacketJSON As String = RESTPOSTAsString(createPacketURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, NewPacketRequest)

        'parse the Json and grab the GUID
        Dim newPacketObject As JObject = JObject.Parse(newPacketJSON)
        Dim newPacketGUID As String = newPacketObject("GUID").Value(Of String)

        'Get and update the created Case with details
        Dim getCaseURL As String = PlatformURL + APIBaseURL + "case/getcase?caseGUID=" + newPacketGUID
        Dim caseJSON As String = RESTGETAsString(getCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        Dim caseObject As JObject = JObject.Parse(caseJSON)

        'Get contacts from search for each in list and add those to case.
        If Not String.IsNullOrEmpty(ContactsSearch) Then
            Dim ContactsSearchArray As JArray = JArray.Parse(ContactsSearch)

            For Each SearchItem As JObject In ContactsSearchArray
                Try
                    Dim searchRequestJSON As String = "{""Search"":""" + SearchItem("Search").Value(Of String) + """,""MaximumResults"":1}"
                    Dim getContactURL As String = PlatformURL + APIBaseURL + "contact/searchforcontact?packetGUID=" + newPacketGUID
                    Dim contactsResultJSON As String = RESTPOSTAsString(getContactURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, searchRequestJSON)

                    Dim contactsResultArray As JArray = JArray.Parse(contactsResultJSON)

                    'add the tags as requested.
                    If contactsResultArray.Count > 0 Then
                        Dim ContactTags As JArray = New JArray

                        If SearchItem("OriginalRequesterTag").Value(Of Boolean) Then
                            ContactTags.Add(New JObject From {{"Guid", OriginalRequesterTagGUID}, {"Name", "Original Requester"}})
                        End If
                        If SearchItem("PrimaryContactTag").Value(Of Boolean) Then
                            ContactTags.Add(New JObject From {{"Guid", PrimaryContactTagGUID}, {"Name", "Primary Contact"}})
                        End If
                        If SearchItem("RequesterTag").Value(Of Boolean) Then
                            ContactTags.Add(New JObject From {{"Guid", RequesterTagGUID}, {"Name", "Requester"}})
                        End If
                        If SearchItem("SubjectTag").Value(Of Boolean) Then
                            ContactTags.Add(New JObject From {{"Guid", SubjectTagGUID}, {"Name", "Subject"}})
                        End If
                        If SearchItem("CCTag").Value(Of Boolean) Then
                            ContactTags.Add(New JObject From {{"Guid", CCTagGUID}, {"Name", "CC"}})
                        End If
                        contactsResultArray(0)("Tags") = ContactTags
                        Dim Contacts As JArray = caseObject("Contacts")
                        Contacts.Add(contactsResultArray(0))
                        caseObject("Contacts") = Contacts
                    End If
                Catch ex As Exception
                    'ignore, might be old version API that doesn't have permission to search contacts
                End Try
            Next
        End If
        caseObject("Title") = Title
        caseObject("ShortDescription") = Title
        caseObject("State") = 13

        If Attachments IsNot Nothing AndAlso Attachments.Count(Function(x) x.Trim <> "") > 0 Then caseObject("Files") = New JArray From {Attachments.Select(Function(FileName) GetNewFileJSON(FileName))}
        If NewPacketCommunication <> "" Then caseObject("NewCommunication") = JObject.Parse(NewPacketCommunication)
        If DataFields <> "" Then caseObject("DataFields") = JObject.Parse(DataFields)

        'Update the case on server
        Dim updateCaseURL As String = PlatformURL + APIBaseURL + "case/updatecase"
        RESTPOSTAsString(updateCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, caseObject.ToString())

        Return newPacketGUID
    End Function

    Public Function CreateTicket(PlatformURL As String,
                             AuthenticationToken As String,
                             proxyAddress As String,
                             proxyUserName As String,
                             proxyPassword As String,
                             ProcessVersionInstanceGUID As String,
                             TicketAttributeGUID As String,
                             Title As String,
                             ContactsSearch As String,
                             Attachments As String(),
                             NewPacketCommunication As String,
                             DataFields As String) As String

        Dim tAttributeJSON As String = ""

        Dim GetTicketAttributeURL As String = PlatformURL + APIBaseURL + "ticket/GetTicketAttribute?attributeGUID=" + TicketAttributeGUID
        tAttributeJSON = RESTGETAsString(GetTicketAttributeURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)

        If tAttributeJSON = "" Then
            Throw New Exception("Create Ticket cannot continue without Ticket Attribute")
        End If

        'Create the ticket.
        Dim NewPacketRequest As String = "{""ProcessVersionInstanceGUID"":""" + ProcessVersionInstanceGUID + """,""StartMethod"":""Integration"",""TestingPacket"":false}"
        Dim createPacketURL As String = PlatformURL + APIBaseURL + "packet/createpacket"
        Dim newPacketJSON As String = RESTPOSTAsString(createPacketURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, NewPacketRequest)

        'parse and grab the GUID
        Dim newPacketObject As JObject = JObject.Parse(newPacketJSON)
        Dim newPacketGUID As String = newPacketObject("GUID").Value(Of String)

        'Get and update the created ticket with details
        Dim getTicketURL As String = PlatformURL + APIBaseURL + "ticket/getticket?ticketGUID=" + newPacketGUID
        Dim ticketJSON As String = RESTGETAsString(getTicketURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        Dim ticketObject As JObject = JObject.Parse(ticketJSON)

        'Get contacts from search for each in list and add those to case.
        Dim ContactsSearchArray As JArray = JArray.Parse(ContactsSearch)

        For Each SearchItem As JObject In ContactsSearchArray
            Try
                Dim searchRequestJSON As String = "{""Search"":""" + SearchItem("Search").Value(Of String) + """,""MaximumResults"":1}"
                Dim getContactURL As String = PlatformURL + APIBaseURL + "contact/searchforcontact?packetGUID=" + newPacketGUID
                Dim contactsResultJSON As String = RESTPOSTAsString(getContactURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, searchRequestJSON)

                Dim contactsResultArray As JArray = JArray.Parse(contactsResultJSON)

                'add the tags as requested.
                If contactsResultArray.Count > 0 Then
                    Dim ContactTags As JArray = New JArray

                    If SearchItem("OriginalRequesterTag").Value(Of Boolean) Then
                        ContactTags.Add(New JObject From {{"Guid", OriginalRequesterTagGUID}, {"Name", "Original Requester"}})
                    End If
                    If SearchItem("PrimaryContactTag").Value(Of Boolean) Then
                        ContactTags.Add(New JObject From {{"Guid", PrimaryContactTagGUID}, {"Name", "Primary Contact"}})
                    End If
                    If SearchItem("RequesterTag").Value(Of Boolean) Then
                        ContactTags.Add(New JObject From {{"Guid", RequesterTagGUID}, {"Name", "Requester"}})
                    End If
                    If SearchItem("SubjectTag").Value(Of Boolean) Then
                        ContactTags.Add(New JObject From {{"Guid", SubjectTagGUID}, {"Name", "Subject"}})
                    End If
                    If SearchItem("CCTag").Value(Of Boolean) Then
                        ContactTags.Add(New JObject From {{"Guid", CCTagGUID}, {"Name", "CC"}})
                    End If
                    contactsResultArray(0)("Tags") = ContactTags
                    Dim Contacts As JArray = ticketObject("Contacts")
                    Contacts.Add(contactsResultArray(0))
                    ticketObject("Contacts") = Contacts
                End If
            Catch ex As Exception
                'ignore, might be old version that doesn't have permission to search contacts
            End Try
        Next

        ticketObject("Title") = Title
        ticketObject("ShortDescription") = Title
        ticketObject("State") = 13
        ticketObject("TicketAttribute") = JObject.Parse(tAttributeJSON)
        If Attachments IsNot Nothing AndAlso Attachments.Count(Function(x) x.Trim <> "") > 0 Then ticketObject("Files") = New JArray From {Attachments.Select(Function(FileName) GetNewFileJSON(FileName))}
        If NewPacketCommunication <> "" Then ticketObject("NewCommunication") = JObject.Parse(NewPacketCommunication)
        If DataFields <> "" Then ticketObject("DataFields") = JObject.Parse(DataFields)

        'Update the ticket on server
        Dim updateCaseURL As String = PlatformURL + APIBaseURL + "ticket/updateticket"
        RESTPOSTAsString(updateCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, ticketObject.ToString())

        Return newPacketGUID
    End Function

    Public Function GetPropertyValue(JSON As String, PropertyName As String) As String
        Dim jO As JObject = JObject.Parse(JSON)
        Return jO.SelectToken(PropertyName).ToString
    End Function

    Public Function SetPropertyValue(JSON As String, PropertyName As String, PropertyType As String, Value As String) As String
        Dim jsonToSet As JObject = JObject.Parse(JSON)
        Dim tokToSet = jsonToSet.SelectToken(PropertyName)
        Select Case PropertyType.ToLower()
            Case "string"
                tokToSet.Replace(New JValue(Value))
            Case "wholenumber"
                tokToSet.Replace(New JValue(Long.Parse(Value)))
            Case "decimalnumber"
                tokToSet.Replace(New JValue(Decimal.Parse(Value)))
            Case "date", "datetime"
                tokToSet.Replace(New JValue(Date.Parse(Value)))
            Case "boolean"
                tokToSet.Replace(New JValue(Boolean.Parse(Value)))
            Case "jobject"
                tokToSet.Replace(New JValue(JObject.Parse(Value)))
            Case Else
                Throw New Exception("Property type must be one of the following: String, WholeNumber, DecimalNumber, Date, DateTime, Boolean, jObject")
        End Select
        Return jsonToSet.ToString()
    End Function


    Public Sub AddDefectToPacket(PlatformURL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           packetGUID As String,
                           defectCategory1 As String,
                           defectCategory2 As String,
                           defectCategory3 As String,
                           partyAtFault As String,
                           affectedRecordCount As Long,
                           resolved As Boolean,
                           description As String)

        'Throw Errors if provided values are null 
        If String.IsNullOrEmpty(defectCategory1) Then Throw New ArgumentNullException("DefectCategory1")
        If String.IsNullOrEmpty(description) Then Throw New ArgumentNullException("Description")
        If String.IsNullOrEmpty(partyAtFault) Then Throw New ArgumentNullException("PartyAtFault")


        'API - Get Packet
        Dim getCaseflowPacketURL As String = PlatformURL + APIBaseURL + "Packet/GetCaseflowPacket?caseflowPacketGUID=" + packetGUID
        Dim packetJSON As String = RESTGETAsString(getCaseflowPacketURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        If packetJSON Is Nothing Then Throw New Exception("Packet not found " + packetGUID)
        Dim packetObject As JObject = JObject.Parse(packetJSON)

        'API - Get Defect Categories list
        Dim getCategoriesURL As String = PlatformURL + APIBaseURL + "Defect/GetDefectCategories?serviceTemplateGUID=" + packetObject("ServiceTemplateGUID").Value(Of String)
        Dim categoriesJSON As String = RESTGETAsString(getCategoriesURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        If categoriesJSON Is Nothing Then Throw New Exception("Error While loading Defect categories")
        Dim categoriesArray As JArray = JArray.Parse(categoriesJSON)
        If categoriesArray.Count = 0 Then Throw New Exception("Defect categories are Not configured. Zero categories found")

        'API - Get Party At Fault list from API

        Dim getDefectPartiesAtFaultURL As String = PlatformURL + APIBaseURL + "Defect/GetDefectPartiesAtFault"
        Dim defectPartiesJSON As String = RESTGETAsString(getDefectPartiesAtFaultURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        If defectPartiesJSON Is Nothing Then Throw New Exception("Error While loading Parties at fault")
        Dim defectPartiesArray As JArray = JArray.Parse(defectPartiesJSON)
        If defectPartiesArray.Count = 0 Then Throw New Exception("Parties at fault are Not configured. Zero Parties found")

        'Search Selected Party at fault from List
        Dim selectedParty As JObject = Nothing
        For Each searchItem As JObject In defectPartiesArray
            If searchItem("Name") = partyAtFault Then
                selectedParty = searchItem
                Exit For
            End If
        Next

        If Not String.IsNullOrEmpty(partyAtFault) AndAlso selectedParty Is Nothing Then
            Throw New Exception("Parties at fault '" + partyAtFault + "' not found")
        End If
        'Search Selected Category values from List
        Dim selectedCatGUID As Guid = Guid.Empty
        For Each cat1 As JObject In categoriesArray
            If cat1("Name") = defectCategory1 Then
                Dim level2Array As JArray = cat1("Level2")
                If Not String.IsNullOrEmpty(defectCategory2) Then

                    If level2Array.Count > 0 Then
                        For Each cat2 As JObject In level2Array
                            If cat2("Name") = defectCategory2 Then
                                Dim level3Array As JArray = cat2("Level3")
                                If Not String.IsNullOrEmpty(defectCategory3) Then
                                    If level3Array.Count > 0 Then
                                        For Each cat3 As JObject In level3Array
                                            If cat3("Name") = defectCategory3 Then
                                                selectedCatGUID = cat3("GUID")
                                            End If
                                        Next
                                        If selectedCatGUID = Guid.Empty Then
                                            Throw New Exception("Category 3 not found in the list")
                                        End If
                                    Else
                                        Throw New Exception("Level 3 list for " + cat2("Name").Value(Of String) + " is Empty. " + defectCategory3 + " is not available")
                                    End If
                                Else
                                    If level3Array.Count > 0 Then
                                        Throw New Exception("Level 2 list for " + cat2("Name").Value(Of String) + "is available. Please select Category 3.")
                                    Else
                                        selectedCatGUID = cat2("GUID")
                                    End If
                                End If
                            End If
                        Next
                        If selectedCatGUID = Guid.Empty Then
                            Throw New Exception("Category 2 not found in the list")
                        End If
                    Else
                        Throw New Exception("Level 2 list for " + cat1("Name").Value(Of String) + " is Empty. " + defectCategory2 + " is not available")
                    End If
                Else
                    If level2Array.Count > 0 Then
                        Throw New Exception("Level 2 list for " + cat1("Name").Value(Of String) + " is available. Please select Category 2.")
                    Else
                        selectedCatGUID = cat1("GUID")
                    End If
                End If
            End If
        Next
        If selectedCatGUID = Guid.Empty Then
            Throw New Exception("Category 1 not found in the list")
        End If

        'Check ProcessType of the Packet (Case, Action Or Ticket) And Update
        Dim updateURL As String = ""
        Select Case packetObject("ProcessType")
            Case "1" 'Case
                updateURL = PlatformURL + APIBaseURL + "Case/UpdateCase"
            Case "2" 'Ticket
                updateURL = PlatformURL + APIBaseURL + "Ticket/UpdateTicket"
            Case "3" 'Action
                updateURL = PlatformURL + APIBaseURL + "Action/UpdateAction"
        End Select

        Dim newDefect As New JObject From {
        {"DefectPartyAtFaultOptionGUID", selectedParty("GUID")},
         {"DefectPartyAtFaultOption", selectedParty("Name")},
         {"Description", description},
         {"DefectCategoryGUID", selectedCatGUID},
         {"affectedRecordCount", affectedRecordCount},
         {"resolved", resolved},
         {"Retired", False}
        }

        DirectCast(packetObject("Defects"), JArray).Add(newDefect)

        RESTPOSTAsString(updateURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, packetObject.ToString())
    End Sub
]]></code></stage><stage stageid="f71ac2ba-90a5-41aa-8bae-b6ff654c0859" name="Clean Up" type="SubSheetInfo"><subsheetid>3423175d-aaf8-4bda-abeb-7e9e581d35d9</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="dd759fbe-5a2a-4093-b5cf-2a61c65bdc95" name="Start" type="Start"><subsheetid>3423175d-aaf8-4bda-abeb-7e9e581d35d9</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><onsuccess>2a0cc1a6-7407-4ce7-a396-12097f6b2117</onsuccess></stage><stage stageid="2a0cc1a6-7407-4ce7-a396-12097f6b2117" name="End" type="End"><subsheetid>3423175d-aaf8-4bda-abeb-7e9e581d35d9</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="4dac12a9-99b8-4a48-aac3-2e442ba8903b" name="Authenticate" type="SubSheetInfo"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative>Validates credentials and returns an Authentication Token to use in other Enate Actions</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="59aa4883-4b1b-46a2-8c14-059e816b049c" name="Start" type="Start"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Username" narrative="The username of the bot in the Enate Platform" stage="Username" /><input type="password" name="Password" narrative="The password of the bot in the Enate Platform " stage="Password" /><input type="flag" name="CloseExistingSession" narrative="if there is an existing active session for the User should it be ended. If false and an existing session exists then authentication will fail" stage="CloseExistingSession" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>8209175a-e42d-4a24-8b83-97fb42f96751</onsuccess></stage><stage stageid="6d052893-02d9-4dc9-952c-c16d7e23be8f" name="End" type="End"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="Token" narrative="The Authentication Token to use in future calls to Enate" stage="Token" /></outputs></stage><stage stageid="2ed6d834-99ae-44de-830c-9ede6ff3668e" name="Note1" type="Note"><subsheetid>3423175d-aaf8-4bda-abeb-7e9e581d35d9</subsheetid><narrative>Clean Up Page

This is an optional page where you might choose to perform some finalisation (or "cleanup") tasks as your business object is closed down.

The cleanup action will be called automatically immediately after closing your business object at the end of a business process.

You will not be able to call this action from a business process, nor will it be called at any other time than before the disposal of the business object.</narrative><displayx>-180</displayx><displayy>60</displayy><displaywidth>180</displaywidth><displayheight>230</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="84a0775d-d50d-4b85-9b8c-8a394c17a6be" name="Note2" type="Note"><narrative>Initialise Page

This is an optional page where you might choose to perform some initialisation tasks after your business object is loaded.

The initialise action will be called automatically immediately after loading your business object.

You will not be able to call this action from a business process, nor will it be called at any other time than after the creation of the object.</narrative><displayx>-180</displayx><displayy>60</displayy><displaywidth>180</displaywidth><displayheight>230</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="8209175a-e42d-4a24-8b83-97fb42f96751" name="Authenticate" type="Code"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Username" expr="[Username]" /><input type="text" name="Password" expr="[Password]" /><input type="text" name="URL" expr="[URL]" /><input type="flag" name="CloseExistingSession" expr="[CloseExistingSession]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="Token" stage="Token" /></outputs><onsuccess>6d052893-02d9-4dc9-952c-c16d7e23be8f</onsuccess><code><![CDATA[Dim body As String = "{""Username"": """ + Username + """,  ""Password"": """ + Password + """}"
        
Token = RESTPOSTAsString(URL + APIBaseURL + "Authentication/Login?useCookie=false&closeExistingSession=" + CloseExistingSession.ToString(), "", ProxyAddress, ProxyUsername, ProxyPassword, body).Replace("""", "")
]]></code></stage><stage stageid="afcb8b50-8e8c-48fb-a57f-2813e76bb417" name="Token" type="Data"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d82e7c87-453b-47d4-bf0b-6f009e431536" name="URL" type="Data"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cf9a0206-e301-4741-b872-f92ee7b59ff5" name="Username" type="Data"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4eecfe34-7f87-4d60-ab04-3fd3845c0e8f" name="Password" type="Data"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">enate123</initialvalue><private /><alwaysinit /></stage><stage stageid="211f6d66-e02c-49a7-8a57-64150680bf8e" name="GetMoreWork" type="SubSheetInfo"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><narrative>The Get more Work Action is the entry point for most Enate workflows as this returns the next piece of work the bot should be working on.  The output Packet is a subset of the object which contains enough information to determine next steps, which may include getting the full Case/Ticket/Action details with the appropriate Enate Action.  
If there is no work for the bot to do then this API returns no content.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="3a924be8-ea86-4710-b199-1dff60fb018b" name="Start" type="Start"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>f1c86172-46f6-42e5-94e4-8543460c4816</onsuccess></stage><stage stageid="8c750a9e-bfcc-475d-98fc-272f1fe65ca4" name="End" type="End"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="Packet" narrative="returns a Json object which represent a subset of the data. " stage="Result" /></outputs></stage><stage stageid="f1c86172-46f6-42e5-94e4-8543460c4816" name="GetMoreWork" type="Code"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="WorkJSON" stage="Result" /></outputs><onsuccess>8c750a9e-bfcc-475d-98fc-272f1fe65ca4</onsuccess><code><![CDATA[WorkJSON = RESTGETAsString(URL + APIBaseURL + "Work/GetMoreWork", Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="819b2f01-7a79-4d47-a0de-c333ae733e9b" name="URL" type="Data"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9ac54e4d-f0b5-438d-803c-b1cd64bb41c0" name="Token" type="Data"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="28caf82a-9a7b-448d-857a-8f7f30417a51" name="Result" type="Data"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="959e5133-52f0-4e88-9cdc-7e0142e2f9f8" name="CloseExistingSession" type="Data"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>True</initialvalue><private /><alwaysinit /></stage><stage stageid="57c4472a-1abc-4822-88d2-eac70b0b6634" name="IsWorkAvailable" type="SubSheetInfo"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><narrative>Indicates if there is more work for the Robot to work on.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="fa29ae96-f63e-4a6b-80ac-4e6fc54c427f" name="Start" type="Start"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>7525e530-f5a9-4465-878c-f78857002712</onsuccess></stage><stage stageid="4a13eb37-a5e4-4c2d-9fbe-626955f972eb" name="End" type="End"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Result" narrative="returns a Json object which represent a subset of the data. " stage="Result" /></outputs></stage><stage stageid="7525e530-f5a9-4465-878c-f78857002712" name="Is Work Available" type="Code"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="flag" name="WorkAvailable" stage="Result" /></outputs><onsuccess>4a13eb37-a5e4-4c2d-9fbe-626955f972eb</onsuccess><code><![CDATA[WorkAvailable = RESTGETAsString(URL + APIBaseURL + "Work/isworkavailable", Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="1460629d-e41d-4f73-a588-045440673417" name="URL" type="Data"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5d6d629d-89c5-4ac0-b2b5-6570a76ef2d9" name="Token" type="Data"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b2e5d68a-bb08-498f-afad-245e75501814" name="Result" type="Data"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="30801470-0a1c-49fd-8872-a05529b3879d" name="RejectWork" type="SubSheetInfo"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><narrative>The Reject Work Action is used to tell the Enate Platform that the bot cannot work on this item and has rejected it.  This will ensure that this item is picked up by a human and not given back to a bot</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="a1bb00d6-fea8-4544-a02c-b62b9bd01bf4" name="Start" type="Start"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="PacketGUID" narrative="The unique identifier in Enate for the Work Item to reject, The Get More Work Action would have returned this identifier in the GUID property of the JSON" stage="PacketGUID" /><input type="text" name="RejectReason" narrative="A reason the bot has rejected this work item, this will be displayed to the user in the Enate Platform so they are aware a robot has attempted and then rejected this work item." stage="RejectReason" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>de68d8ba-d5b4-409e-81d2-0cdde2e278c9</onsuccess></stage><stage stageid="ec44b6d2-adc4-4614-a5df-e65d43e28f67" name="End" type="End"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="de68d8ba-d5b4-409e-81d2-0cdde2e278c9" name="Reject work" type="Code"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="PacketGuid" expr="[PacketGUID]" /><input type="text" name="Reason" expr="[RejectReason]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><onsuccess>ec44b6d2-adc4-4614-a5df-e65d43e28f67</onsuccess><code><![CDATA[Dim Body as String ="{""RejectReason"":""" + Reason + """}"
RESTPOSTAsString(URL + APIBaseURL + "Work/RejectWork?packetGUID=" + PacketGuid, Token, ProxyAddress, ProxyUsername, ProxyPassword, Body)
]]></code></stage><stage stageid="93c6cdb0-eed2-4079-90b9-bc1d99086cbc" name="URL" type="Data"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6128ebf6-7b38-46ce-b95b-ac4a84131561" name="Token" type="Data"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3f76cd0f-2dd0-4519-a573-e89f551b1ddc" name="PacketGUID" type="Data"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="16b69a0b-866b-4841-8b98-bc78bd3c7e80" name="RejectReason" type="Data"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2e0be674-5d2f-4693-9650-e8ab4e3ece19" name="GetAction" type="SubSheetInfo"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><narrative>The "Get Action" Action returns an Enate ActionPacket Json String which represents an Action on a Case within Enate.  This Json can then be updated using Blue Prism commands or other actions.  You can also add files to the Action Packet using the Enate Add File To Item Action. This Json is then passed back to Enate via the 'Update Action' Action to update the values in the Enate Platform.
 </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="e0fc1c11-f697-4462-beca-c6c365ef897e" name="Start" type="Start"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ActionGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Get More Work Logic would have returned this identifier in the Packet.GUID property" stage="ActionGUID" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>8bec2b9f-50bc-4c77-a103-dac6385d0b05</onsuccess></stage><stage stageid="cb317d59-1d2a-4fc1-a04b-819678a079a0" name="End" type="End"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="ActionPacket" narrative="Returns an ActionPacket Json String which represents an Action in the Enate Platform.  This Json can have its properties updated via Blue Prism Commands or Actions.  Files can also be added via the Enate Add File to Item Action.    *See ActionPacket DTO in Enate RPA Developers Guide for more information. " stage="Result" /></outputs></stage><stage stageid="8bec2b9f-50bc-4c77-a103-dac6385d0b05" name="GetAction" type="Code"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ActionGUID" expr="[ActionGUID]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="ActionPacket" stage="Result" /></outputs><onsuccess>cb317d59-1d2a-4fc1-a04b-819678a079a0</onsuccess><code><![CDATA[ActionPacket = RESTGETAsString(URL + APIBaseURL + "action/getaction?actionGUID=" + ActionGUID, Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="4ad159c4-55c0-4c18-b34b-5db9328f5fb8" name="URL" type="Data"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="72685ef6-7479-4ea2-9db5-c36d959f7e7b" name="ActionGUID" type="Data"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="63a074e7-3aad-4884-9d96-9da731ec0f1f" name="Token" type="Data"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0bd5ce56-d3b1-470d-ac88-102a6efd397f" name="Result" type="Data"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="90c2555b-2102-4e42-94e9-d3f9d1865108" name="UpdateAction" type="SubSheetInfo"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><narrative>The "Update Action" Action allows you to send the updated ActionPacket as returned by the "Get Action" Action back to Enate to update the Action in the Enate Platform.  ActionPacket properties can be updated with Blue Prism commands or Actions before using the "Update Action" Action</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="ad23b9f7-2259-4710-9eca-49d78308c319" name="Start" type="Start"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ActionPacket" narrative="The ActionPacket Json String that represents the Action which you want to update in the Enate Platform.   *See ActionPacket DTO in Enate RPA Developers Guide for more information" stage="ActionPacket" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>8a68fe46-b55f-48a6-8180-ade0ec17e3df</onsuccess></stage><stage stageid="239bbd7f-c21c-44ee-bed4-8785d4bed4a9" name="End" type="End"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="ActionPacket" narrative="Returns an ActionPacket Json String which represents an Action in the Enate Platform.  This Json can have its properties updated via Blue Prism Commands or Actions.  Files can also be added via the Enate Add File to Item Action.    *See ActionPacket DTO in Enate RPA Developers Guide for more information. " stage="Result" /></outputs></stage><stage stageid="83d1a8c4-eabf-409a-acc9-71fd125b0b2c" name="UpdateAction" type="Code"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ActionPacket" expr="[ActionPacket]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="ActionPacketResult" stage="Result" /></outputs><onsuccess>239bbd7f-c21c-44ee-bed4-8785d4bed4a9</onsuccess><code><![CDATA[ActionPacketResult = RESTPOSTAsString(URL + APIBaseURL + "action/updateAction?returnUpdatedAction=true", Token, ProxyAddress, ProxyUsername, ProxyPassword, ActionPacket)
]]></code></stage><stage stageid="dbbf8373-7a11-4af2-84e2-51e9749365d4" name="URL" type="Data"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="65a7916c-1deb-41b6-9331-80ce503a5f3a" name="ActionPacket" type="Data"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="85756d2b-95be-469c-aae5-f8047e35757b" name="Token" type="Data"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2c0f4d15-f44e-4d91-bfd2-cc0f928c42ce" name="Result" type="Data"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8a68fe46-b55f-48a6-8180-ade0ec17e3df" name="CleanActionJSON" type="Code"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="JSON" expr="[ActionPacket]" /></inputs><outputs><output type="text" name="Result" stage="ActionPacket" /></outputs><onsuccess>83d1a8c4-eabf-409a-acc9-71fd125b0b2c</onsuccess><code><![CDATA[Result=CleanJSONFromCollection(JSON)]]></code></stage><stage stageid="67a87824-aa08-48c4-bd98-c47bbbfd36f5" name="UpdateAction" type="SubSheetInfo"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><narrative>The Update Checklist Action allows you to update specific Action Checklist Items that are part of an Enate Action.  The Checklist item can be updated using Blue Prism commands before passing to the Update Checklist Logic. This can be used during a long running Action to show progress in the Enate Platform.  You can also update all checklist items as part of updating the ActionPacket returned from the "Get Action" Action, then passed back with the "Update Action" Action.
 </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="7755bf86-6a74-4619-8b67-0e4bd72b4683" name="Start" type="Start"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="CheckListItem" narrative="The ActionCheckListItem from the ActionPacket.Checklist Collection that you want to update in the Enate Platform. " stage="CheckListItem" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>6a654ad9-5ba1-4807-885d-7ce4ddc250d9</onsuccess></stage><stage stageid="d871a277-56f3-4304-9d87-ef12ff51e300" name="End" type="End"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="393333ab-49aa-48fd-ad60-91a19735e7ad" name="Update Checklist" type="Code"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="Checklist" expr="[CheckListItem]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><onsuccess>d871a277-56f3-4304-9d87-ef12ff51e300</onsuccess><code><![CDATA[RESTPOSTAsString(URL + APIBaseURL + "action/updatechecklist", Token, ProxyAddress, ProxyUsername, ProxyPassword, Checklist)
]]></code></stage><stage stageid="19be3666-40e5-433c-a739-b5cd00447b94" name="URL" type="Data"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0a6b9f4f-2861-46a6-8922-fe81baaf2aa1" name="Token" type="Data"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6a654ad9-5ba1-4807-885d-7ce4ddc250d9" name="CleanChecklistJSON" type="Code"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="JSON" expr="[CheckListItem]" /></inputs><outputs><output type="text" name="Result" stage="CheckListItem" /></outputs><onsuccess>393333ab-49aa-48fd-ad60-91a19735e7ad</onsuccess><code><![CDATA[Result=CleanJSONFromCollection(JSON)]]></code></stage><stage stageid="d518326e-05b2-4b1f-b7ea-47fe90654f92" name="CheckListItem" type="Data"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4a854657-95a5-42ce-8808-b76042186bdd" name="GetCase" type="SubSheetInfo"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><narrative>The Get Case Action returns an Enate CasePacket Json String which represents a Case within Enate.  This Json can then be updated using Blue Prism commands or other Actions. You can also add files to the Case using the Enate Add File To Item Action. This Json is then passed back to Enate via the Update Case Action to update the values in the Enate Platform. </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="2b74ca3f-0885-498a-83a3-251dc669019b" name="Start" type="Start"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="CaseGUID" narrative="The unique identifier in Enate for the Case to retrieve, The Get More Work Action would have returned this identifier in the Packet.GUID property or the Create Case Action would return a Guid as it’s result type." stage="CaseGUID" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>06e8176e-4adb-44e8-b19c-79f1859170c3</onsuccess></stage><stage stageid="77b244c3-e8cd-4dbf-9786-39d940822ad8" name="End" type="End"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="CasePacket" narrative="Returns a CasePacket Json String which represents a Case in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="Result" /></outputs></stage><stage stageid="06e8176e-4adb-44e8-b19c-79f1859170c3" name="Get Case" type="Code"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CaseGUID" expr="[CaseGUID]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="CasePacket" stage="Result" /></outputs><onsuccess>77b244c3-e8cd-4dbf-9786-39d940822ad8</onsuccess><code><![CDATA[CasePacket = RESTGETAsString(URL + APIBaseURL + "case/getcase?caseGUID=" + CaseGUID, Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="95d750a4-141f-42dd-9d0f-c0d54d4df625" name="URL" type="Data"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6ff773cd-fe80-4128-9aae-aaba367f788d" name="CaseGUID" type="Data"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d363c023-079c-4997-aeb6-9405fcde728f" name="Token" type="Data"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="051128c5-5c50-4c4d-bbb3-fcb2eff6561e" name="Result" type="Data"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2f9e8451-f967-464d-ae67-b991a304960c" name="UpdateCase" type="SubSheetInfo"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><narrative>The Update Case Action allows you to send the updated CasePacket as returned by the Get Case Action back to Enate to update the Case in the Enate Platform. 
CasePacket properties can be updated with Blue Prism commands or Actions before using the Update Case Action.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="c67083b5-4e72-4b70-bb6e-53020ddb4697" name="Start" type="Start"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><loginhibit /><narrative></narrative><displayx>0</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="CasePacket" narrative="The CasePacket Json String that represents the Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="CasePacket" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>2dc64c91-bdf9-40c8-846a-c7d73f480880</onsuccess></stage><stage stageid="8486d18e-75ee-4865-81cb-680dd51c61f8" name="End" type="End"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><loginhibit /><narrative></narrative><displayx>0</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="CasePacket" narrative="Returns the updated CasePacket Json String which represents a Case in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="90c700b6-6bf7-4c4b-aac1-2310c39be996" name="UpdateCase" type="Code"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><loginhibit /><narrative></narrative><displayx>0</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CasePacket" expr="[CasePacket]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="CasePacketResult" stage="Result" /></outputs><onsuccess>8486d18e-75ee-4865-81cb-680dd51c61f8</onsuccess><code><![CDATA[CasePacketResult = RESTPOSTAsString(URL + APIBaseURL + "case/updateCase?returnUpdatedCase=true", Token, ProxyAddress, ProxyUsername, ProxyPassword, CasePacket)
]]></code></stage><stage stageid="4a751b9d-5ab7-427b-ab7e-922cfe8faad7" name="URL" type="Data"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><narrative></narrative><displayx>75</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cc56592c-0f75-4acc-94fd-2f21d6124b63" name="CasePacket" type="Data"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0115dae4-55ee-4778-8ac1-58cdb7b42bff" name="Token" type="Data"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><narrative></narrative><displayx>0</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1c189b98-3f88-445e-a36c-993eff81c0ec" name="Result" type="Data"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><narrative></narrative><displayx>75</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2dc64c91-bdf9-40c8-846a-c7d73f480880" name="CleanCaseJSON" type="Code"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><loginhibit /><narrative></narrative><displayx>0</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="JSON" expr="[CasePacket]" /></inputs><outputs><output type="text" name="Result" stage="CasePacket" /></outputs><onsuccess>90c700b6-6bf7-4c4b-aac1-2310c39be996</onsuccess><code><![CDATA[Result=CleanJSONFromCollection(JSON)]]></code></stage><stage stageid="74642852-ddba-424b-9aa2-225805eaf7e9" name="GetCaseProcess" type="SubSheetInfo"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative>The Get Case Process Action returns a Guid which relates to a ProcessInstanceVersion from the matching customer, contract, service and process to be used by the Create Case Action to create a new Case on the Enate Platform. 
 </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="a1464b6d-b425-45f2-9920-aa2eb6a7edd1" name="Start" type="Start"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="CustomerName" narrative="The Customer Name from the Enate Platform" stage="CustomerName" /><input type="text" name="ContractName" narrative="The Contract Name from the Enate Platform " stage="ContractName" /><input type="text" name="ServiceName" narrative="The Service Name from the Enate Platfor" stage="ServiceName" /><input type="text" name="ProcessName" narrative="The Process Name from the Enate Platform" stage="ProcessName" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>3e647948-58bb-46d3-a2b3-925e3bde512b</onsuccess></stage><stage stageid="c3921c63-e2e3-43f4-8255-fc7dda1c26ee" name="End" type="End"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="CaseContextGUID" narrative="Guid which relates to a ProcessInstanceVersion to be used in the Create Case Action" stage="Result" /></outputs></stage><stage stageid="3e647948-58bb-46d3-a2b3-925e3bde512b" name="Get Case Context" type="Code"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CustomerName" expr="[CustomerName]" /><input type="text" name="ContractName" expr="[ContractName]" /><input type="text" name="ServiceName" expr="[ServiceName]" /><input type="text" name="ProcessName" expr="[ProcessName]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="CaseContextGUID" stage="Result" /></outputs><onsuccess>c3921c63-e2e3-43f4-8255-fc7dda1c26ee</onsuccess><code><![CDATA[CaseContextGUID = GetContextGUID(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CustomerName, ContractName, ServiceName, ProcessName, True, True)]]></code></stage><stage stageid="6b799778-1a22-402e-8c72-522387db7e4e" name="URL" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8d4d9c52-c203-4cc5-a062-b379c8a9ea76" name="Token" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c0b52665-83f6-4611-b865-cb47c732e0d6" name="Result" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="22523120-aad4-402d-9328-c3713894e599" name="CustomerName" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bb776e02-80e7-407d-b23f-fe7622a3031f" name="ContractName" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="461bf5c3-f9e8-4896-8789-6db8a742aa8b" name="ServiceName" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3db44d58-bd03-4c17-b292-75613c3539f8" name="ProcessName" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>270</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="97a67f3b-1228-4527-8ea5-e82da0aa68dc" name="AddPacketCommunication" type="SubSheetInfo"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative>The Add Packet Communication Action is used to add a communication to a packet </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="65646e65-85b8-417e-bf8f-f97c7be3fdb4" name="Start" type="Start"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="PacketGUID" narrative="The unique identifier in Enate for the Work Item to add Communication to. The Get More Work Action would have returned this identifier in the GUID property of the JSON." stage="PacketGUID" /><input type="number" name="CommunicationType" narrative="The type of communication to create as an integer:  PhoneIncoming =  1, ESSComment = 3, AuditNote = 4, PhoneOutgoing = 5, LetterIncoming = 6, LetterOutgoing = 7" stage="CommunicationType" /><input type="text" name="Body" narrative="The message for the communication." stage="Body" /><input type="flag" name="IsResolutionCommunication" narrative="Does this message Resolve the ticket" stage="IsResolutionCommunication" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>fb4a14c2-512c-4e4c-afac-521e845db398</onsuccess></stage><stage stageid="b4accc9a-9141-416c-b039-b4882bd68542" name="End" type="End"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="CommunicationJSON" narrative="returns the newly created PacketCommunication" stage="Communication" /></outputs></stage><stage stageid="fb4a14c2-512c-4e4c-afac-521e845db398" name="Add Packet Comm" type="Code"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="PacketGuid" expr="[PacketGUID]" /><input type="text" name="Body" expr="[Body]" /><input type="number" name="CommsType" expr="[CommunicationType]" /><input type="flag" name="IsResolutionCommunication" expr="[IsResolutionCommunication]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="Communication" stage="Communication" /></outputs><onsuccess>b4accc9a-9141-416c-b039-b4882bd68542</onsuccess><code><![CDATA[Dim requestURL As String =URL + APIBaseURL + "/PacketCommunication/AddPacketCommunication?packetGUID=" + PacketGuid
Dim CommsJSON As String = PrepareCommunication(CommsType, False, "", Body, "", Nothing, Nothing, Nothing, isResolutionCommunication, Nothing)

Communication = RESTPOSTAsString(requestURL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CommsJSON)
]]></code></stage><stage stageid="d06bb20c-d2a7-489d-8a2c-7c83a37d12e7" name="URL" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="884303c0-abe9-4aef-a6d7-a5e40388f392" name="Token" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="852671fc-e01f-48e7-821c-3ca6cc31c18b" name="PacketGUID" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a8903182-a995-4d2c-a74d-f32471b1119f" name="CommunicationType" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d344f868-a7ad-4ae1-9981-b8df3b57ffc4" name="Body" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="36346158-77d6-47c3-80ba-bf6adcd6c0be" name="IsResolutionCommunication" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="01de9eba-b613-45d8-a60d-cedbdce82e93" name="Communication" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bab4f0ca-d977-4373-98f4-340e1f2f37ea" name="SendEmailCommunication" type="SubSheetInfo"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative>The Send Email Communication Action is used to add a communication to a packet and send an outgoing email</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="7ebe063e-60cd-4413-9750-e35cfecaaa1f" name="Start" type="Start"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="PacketGUID" narrative="The unique identifier in Enate for the Work Item to add Communication to. The Get More Work Action would have returned this identifier in the GUID property of the JSON." stage="PacketGUID" /><input type="text" name="Body" narrative="The message for the communication." stage="Body" /><input type="flag" name="IsResolutionCommunication" narrative="Does this message Resolve the ticket" stage="IsResolutionCommunication" /><input type="flag" name="Important" narrative="flags the email as important" stage="Important" /><input type="text" name="Subject" narrative="The Subject of the email" stage="Subject" /><input type="text" name="From" narrative="the email address which this email comes from" stage="From" /><input type="text" name="ToList" narrative="Comma Separated list of Email addresses ie Bob@Company.net,Harry@Company.net" stage="ToList" /><input type="text" name="CCList" narrative="Comma Separated list of Email addresses ie Bob@Company.net,Harry@Company.net" stage="CCList" /><input type="text" name="BCCList" narrative="Comma Separated list of Email addresses ie Bob@Company.net,Harry@Company.net" stage="BCCList" /><input type="text" name="Attachments" narrative="Comma Separated list of files to add ie C:\Test\Test.png,C:\Test\Other.txt" stage="Attachments" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>b1ab4eed-bc30-41bc-8041-4ccd44d0f505</onsuccess></stage><stage stageid="42b8cb50-3af9-4a82-9960-2556863a1562" name="End" type="End"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="b1ab4eed-bc30-41bc-8041-4ccd44d0f505" name="Send Email Comms" type="Code"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="PacketGuid" expr="[PacketGUID]" /><input type="text" name="Body" expr="[Body]" /><input type="flag" name="IsResolutionCommunication" expr="[IsResolutionCommunication]" /><input type="text" name="Subject" expr="[Subject]" /><input type="flag" name="Important" expr="[Important]" /><input type="text" name="From" expr="[From]" /><input type="text" name="ToList" expr="[ToList]" /><input type="text" name="CCList" expr="[CCList]" /><input type="text" name="BCCList" expr="[BCCList]" /><input type="text" name="Attachments" expr="[Attachments]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><onsuccess>42b8cb50-3af9-4a82-9960-2556863a1562</onsuccess><code><![CDATA[Dim AttachmentsArray As String()=Attachments.Split(",")
Dim EmailToArray As String()=ToList.Split(",")
Dim EmailCCArray As String()=CCList.Split(",")
Dim EmailBCCArray As String()=BCCList.Split(",")
SendEmailCommunication(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, PacketGUID, Important, Subject, Body, From, EmailToArray, EmailCCArray, EmailBCCArray, isResolutionCommunication, AttachmentsArray)]]></code></stage><stage stageid="caec87e0-304e-4e7f-8127-5f73b4608237" name="URL" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e01e6282-c650-4b94-a59e-7af3060dead6" name="Token" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c95fb809-3807-4385-a9bf-50fb322f4646" name="PacketGUID" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="135586ff-e88a-4c2d-b69a-90b8a325094f" name="Body" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b8c121cb-1c3c-490d-9e74-b2c9122661c1" name="IsResolutionCommunication" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d8ea0d20-e9bb-4019-a404-ce629b0b6296" name="Communication" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d3e5868e-cc2e-4014-a14f-1e6a7c5bb2ed" name="PrepareCommunication" type="SubSheetInfo"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><narrative>The Prepare Communication Action is used to create a communication Json String for use on Create Case or Create Ticket Action</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="1b2fd9b3-5444-40b8-afcf-87e0e4e73c7a" name="Start" type="Start"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="number" name="CommunicationType" narrative="The type of communication to create as an integer:  PhoneIncoming =  1, ESSComment = 3, AuditNote = 4, PhoneOutgoing = 5, LetterIncoming = 6, LetterOutgoing = 7" stage="CommunicationType" /><input type="text" name="Body" narrative="The message for the communication." stage="Body" /><input type="flag" name="IsResolutionCommunication" narrative="Does this message Resolve the ticket" stage="IsResolutionCommunication" /></inputs><onsuccess>45603b60-b097-4575-afa3-648f2fcb7ac1</onsuccess></stage><stage stageid="c2a79954-c08a-4a85-822d-e73f2e033c2e" name="End" type="End"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="CommunicationJSON" narrative="returns the newly created PacketCommunication" stage="Communication" /></outputs></stage><stage stageid="45603b60-b097-4575-afa3-648f2fcb7ac1" name="Prepare Packet Comms" type="Code"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Body" expr="[Body]" /><input type="number" name="CommsType" expr="[CommunicationType]" /><input type="flag" name="IsResolutionCommunication" expr="[IsResolutionCommunication]" /></inputs><outputs><output type="text" name="Communication" stage="Communication" /></outputs><onsuccess>c2a79954-c08a-4a85-822d-e73f2e033c2e</onsuccess><code><![CDATA[Communication = PrepareCommunication(CommsType, False, "", Body, "", Nothing, Nothing, Nothing, isResolutionCommunication, Nothing)
]]></code></stage><stage stageid="a6a5204f-5c98-4f00-86fd-5145a0026324" name="CommunicationType" type="Data"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3c9391c1-458f-4284-9c60-1bd7b001d139" name="Body" type="Data"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ee34cbcd-9204-4b15-acc0-c4ea211b6c0b" name="IsResolutionCommunication" type="Data"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4995ec92-6f3b-43d5-b363-53e6d7001953" name="Communication" type="Data"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9166f9f2-a474-4790-a0a2-235ccb8f14e9" name="GetTicket" type="SubSheetInfo"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><narrative>The Get Ticket Action returns an Enate TicketPacket Json String which represents a Ticket within Enate.  This Json can then be updated using Blue Prism commands or other Actions. You can also add files to the Ticket using the Enate Add File To Item Action. This Json is then passed back to Enate via the Update Ticket Action to update the values in the Enate Platform. </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="e4152f5b-b6ea-4c22-9a59-f363c37513c9" name="Start" type="Start"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="TicketGUID" narrative="The unique identifier in Enate for the Ticket to retrieve, The Get More Work Action would have returned this identifier in the Packet.GUID property or the Create Ticket Action would return a Guid as it’s result type." stage="TicketGUID" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>f3490d7c-b963-4bb4-875e-90206e3dfbf9</onsuccess></stage><stage stageid="3fe7a1b9-3db9-4785-9772-381b3bfdced4" name="End" type="End"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="TicketPacket" narrative="Returns a TicketPacket Json String which represents a Ticket in the Enate Platform.   *See TicketPacket DTO in Enate RPA Developers Guide for more information" stage="Result" /></outputs></stage><stage stageid="f3490d7c-b963-4bb4-875e-90206e3dfbf9" name="Get Ticket" type="Code"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="TicketGUID" expr="[TicketGUID]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="TicketPacket" stage="Result" /></outputs><onsuccess>3fe7a1b9-3db9-4785-9772-381b3bfdced4</onsuccess><code><![CDATA[TicketPacket = RESTGETAsString(URL + APIBaseURL + "ticket/getTicket?TicketGUID=" + TicketGUID, Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="ed938170-6296-4de7-98fb-5b0b8f44cc99" name="URL" type="Data"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d1b91834-27f2-4b32-a394-8b1fa136c29b" name="TicketGUID" type="Data"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cf821ec9-7e66-4370-9057-130273a75bca" name="Token" type="Data"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="decfcaa4-eabe-44d2-b145-5a393c274545" name="Result" type="Data"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1fc89018-2e8e-4b7e-a31c-7e3073c63486" name="UpdateTicket" type="SubSheetInfo"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><narrative>The Update Ticket Action allows you to send the updated TicketPacket as returned by the Get Ticket Action back to Enate to update the Ticket in the Enate Platform.  TicketPacket properties can be updated with blue prism commands or actoins before using the Update Ticket Action.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="b21aa06a-937b-472e-b525-a7db49567530" name="Start" type="Start"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><loginhibit /><narrative></narrative><displayx>0</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="TicketPacket" narrative="The TicketPacket Json String that represents the Ticket which you want to update in the Enate Platform.   *See TicketPacket DTO in Enate RPA Developers Guide for more information" stage="TicketPacket" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>92fcd388-74a5-4d77-8bb9-d7f657a445e2</onsuccess></stage><stage stageid="67156d74-a8f0-4aca-bd8d-ff296fb16905" name="End" type="End"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><loginhibit /><narrative></narrative><displayx>0</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a Ticket in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="66e4b280-68c6-4b6e-a757-75c4fcfc7f5c" name="Update Ticket" type="Code"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><loginhibit /><narrative></narrative><displayx>0</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="TicketPacket" expr="[TicketPacket]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="TicketPacketResult" stage="Result" /></outputs><onsuccess>67156d74-a8f0-4aca-bd8d-ff296fb16905</onsuccess><code><![CDATA[TicketPacketResult = RESTPOSTAsString(URL + APIBaseURL + "ticket/updateticket?returnUpdatedTicket=true", Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket)
]]></code></stage><stage stageid="b6a164b6-5a9b-448b-9a13-c376c6d7da09" name="URL" type="Data"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><narrative></narrative><displayx>75</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4c843547-02da-4973-9268-bc447ff4241a" name="TicketPacket" type="Data"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a0417b29-5648-4db2-9fd0-d2d078dba963" name="Token" type="Data"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><narrative></narrative><displayx>0</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ca78138f-a1a0-40ec-ae6c-4c86cf76cc5c" name="Result" type="Data"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><narrative></narrative><displayx>75</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="92fcd388-74a5-4d77-8bb9-d7f657a445e2" name="CleanTicketJSON" type="Code"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><loginhibit /><narrative></narrative><displayx>0</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="JSON" expr="[TicketPacket]" /></inputs><outputs><output type="text" name="Result" stage="TicketPacket" /></outputs><onsuccess>66e4b280-68c6-4b6e-a757-75c4fcfc7f5c</onsuccess><code><![CDATA[Result=CleanJSONFromCollection(JSON)]]></code></stage><stage stageid="3c7f1c76-7b2b-4e95-8b90-6bf5830c9e0f" name="GetCaseAttribute" type="SubSheetInfo"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative>The Get Case Attribute Action returns a CaseAttribute GUID for use in the Create Sub Case Action </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="b1d3c4e8-29ae-45f0-b388-e774c863304c" name="Start" type="Start"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="CustomerName" narrative="The Customer Name from the Enate Platform" stage="CustomerName" /><input type="text" name="ContractName" narrative="The Contract Name from the Enate Platform " stage="ContractName" /><input type="text" name="ServiceName" narrative="The Service Name from the Enate Platfor" stage="ServiceName" /><input type="text" name="ProcessName" narrative="The Process Name from the Enate Platform" stage="ProcessName" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>fa09b813-8f54-49bf-a11a-ef062f26958d</onsuccess></stage><stage stageid="7184d158-7f40-4752-af7d-a5b8bf129788" name="End" type="End"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="CaseAttributeGUID" narrative="Guid which relates to a ProcessInstanceVersion to be used in the Create Sub Case Action." stage="Result" /></outputs></stage><stage stageid="fa09b813-8f54-49bf-a11a-ef062f26958d" name="Get Case Attribute" type="Code"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CustomerName" expr="[CustomerName]" /><input type="text" name="ContractName" expr="[ContractName]" /><input type="text" name="ServiceName" expr="[ServiceName]" /><input type="text" name="ProcessName" expr="[ProcessName]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="CaseContextGUID" stage="Result" /></outputs><onsuccess>7184d158-7f40-4752-af7d-a5b8bf129788</onsuccess><code><![CDATA[CaseContextGUID = GetContextGUID(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CustomerName, ContractName, ServiceName, ProcessName, True, False)]]></code></stage><stage stageid="2dd7c826-6782-49da-b5fc-df59ba0a4f0f" name="URL" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="507c8664-8970-4ace-8573-5f7f31f3236a" name="Token" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2511fe81-c1e1-4985-86b2-2d0a1f6d01bb" name="Result" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c7517102-cd7d-4168-8f8a-af7b52a6d1aa" name="CustomerName" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7a54b7b4-f79e-4c8e-b28f-4645fc450b77" name="ContractName" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5ad0996d-754d-4268-b614-b11db9fac125" name="ServiceName" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1965c881-1047-47e4-8f74-f6db4ae91881" name="ProcessName" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>270</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f5f18784-da4b-430e-b3dd-aaaee407cc27" name="GetTicketProcess" type="SubSheetInfo"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative>The Get Ticket Process Action returns a Guid which relates to a ProcessInstanceVersion from the matching customer, contract, service and process to be used by the Create Ticket Action to create a new Ticket on the Enate Platform. </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="c743f38c-096c-4985-b7da-633fc8a2674e" name="Start" type="Start"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="CustomerName" narrative="The Customer Name from the Enate Platform" stage="CustomerName" /><input type="text" name="ContractName" narrative="The Contract Name from the Enate Platform " stage="ContractName" /><input type="text" name="ServiceName" narrative="The Service Name from the Enate Platfor" stage="ServiceName" /><input type="text" name="ProcessName" narrative="The Process Name from the Enate Platform" stage="ProcessName" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>68110c2c-7dc9-4ed3-9635-0b36b94fe39e</onsuccess></stage><stage stageid="4d1425cc-b9c6-4b94-a976-3ed789b39a47" name="End" type="End"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="TicketContextGUID" narrative="Guid which relates to a ProcessInstanceVersion to be used in the Create Ticket Action" stage="Result" /></outputs></stage><stage stageid="68110c2c-7dc9-4ed3-9635-0b36b94fe39e" name="Get Ticket Context" type="Code"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CustomerName" expr="[CustomerName]" /><input type="text" name="ContractName" expr="[ContractName]" /><input type="text" name="ServiceName" expr="[ServiceName]" /><input type="text" name="ProcessName" expr="[ProcessName]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="CaseContextGUID" stage="Result" /></outputs><onsuccess>4d1425cc-b9c6-4b94-a976-3ed789b39a47</onsuccess><code><![CDATA[CaseContextGUID = GetContextGUID(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CustomerName, ContractName, ServiceName, ProcessName, False, True)]]></code></stage><stage stageid="9ca6aa7e-4ac8-4c69-aa1d-5321433fd3d0" name="URL" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="390a7681-69bf-441c-a74e-85bbacdf6953" name="Token" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a95cada9-5d50-43be-9205-f3a6db1846c2" name="Result" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bfe0094a-5ea8-4c77-9b62-d21606f7777b" name="CustomerName" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cb6f743d-7aeb-453e-a383-0f4ef3cf4426" name="ContractName" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="65cf8852-5f00-496b-9e71-fcd34677d51d" name="ServiceName" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c2066d13-9fa2-4ddc-a20d-1d63cdeb8303" name="ProcessName" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>270</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="81375e54-ffa3-4783-bc51-e0bdbcfef767" name="GetTicketAttribute" type="SubSheetInfo"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative>The Get Ticket Attribute Action returns a TicketAttribute GUID for use in the Create Ticket Action.  Requires the ProcessVersionInstanceGUID which is returned from a Get Ticket Process Action</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="005544dc-b3af-4612-b1d9-17d067bf37eb" name="Start" type="Start"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ProcessVersionInstanceGUID" narrative="the Guid returned by the Get Ticket Process Action" stage="ProcessVersionInstanceGUID" /><input type="text" name="CategoryLvl1" narrative="The Level 1 Category" stage="CategoryLvl1" /><input type="text" name="CategoryLvl2" narrative="The Level 2 Category" stage="CategoryLvl2" /><input type="text" name="CategoryLvl3" narrative="The Level 3 Category" stage="CategoryLvl3" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>3f79871c-fd3e-49ca-94ad-5b6170e7be2f</onsuccess></stage><stage stageid="628b6ce4-d8d4-4446-a20d-c7f6987fe432" name="End" type="End"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="TicketAttributeGUID" narrative="Guid which relates to the unique identifier of the Ticket Attribute" stage="Result" /></outputs></stage><stage stageid="3f79871c-fd3e-49ca-94ad-5b6170e7be2f" name="Get Ticket Attribute" type="Code"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ProcessVersionInstanceGUID" expr="[ProcessVersionInstanceGUID]" /><input type="text" name="CategoryLvl1" expr="[CategoryLvl1]" /><input type="text" name="CategoryLvl2" expr="[CategoryLvl2]" /><input type="text" name="CategoryLvl3" expr="[CategoryLvl3]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="TicketContextGUID" stage="Result" /></outputs><onsuccess>628b6ce4-d8d4-4446-a20d-c7f6987fe432</onsuccess><code><![CDATA[TicketContextGUID = GetTicketAttributeGUID(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ProcessVersionInstanceGUID,CategoryLvl1,CategoryLvl2,CategoryLvl3)
]]></code></stage><stage stageid="19a97082-5db5-4e39-a2f1-3a510b10f7f5" name="URL" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="789fb91c-6fdd-458a-9878-f523da10b93a" name="Token" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8e09676b-31a0-43a5-b492-447881d88b30" name="Result" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7bf32a15-c6b8-47e5-b924-10d7100daa55" name="ProcessVersionInstanceGUID" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5973170a-d78f-4191-925f-6916b51b4ad5" name="CategoryLvl1" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="320def36-7f8c-4080-94ee-988c1f8b67d6" name="CategoryLvl2" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="01b85096-ea11-45cd-98b1-8fdb86a19db0" name="CategoryLvl3" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>270</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9aeeaec9-741f-48af-a4ae-463206f35352" name="SearchForContact" type="SubSheetInfo"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative>The Search For Contact Action is used to find contacts related to a packet </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="7996719c-871f-42ad-9d1b-f4cb71d0043d" name="Start" type="Start"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="PacketGuid" narrative="The unique identifier in Enate for the Packet" stage="PacketGuid" /><input type="text" name="Search" narrative="Email address or name to search for. " stage="Search" /><input type="number" name="MaximumResults" narrative="The maximum number of results to return. " stage="MaximumResults" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>e9cc31c0-f301-4b03-9bd0-e6cb7a6dfbda</onsuccess></stage><stage stageid="485fb8d9-c660-4dff-9811-167c9ca27e42" name="End" type="End"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="SearchResults" narrative="Returns a List of CaseFlowContact as Json" stage="Result" /></outputs></stage><stage stageid="e9cc31c0-f301-4b03-9bd0-e6cb7a6dfbda" name="Search For Contact" type="Code"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="Search" expr="[Search]" /><input type="text" name="PacketGUID" expr="[PacketGuid]" /><input type="number" name="MaximumResults" expr="[MaximumResults]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="SearchResults" stage="Result" /></outputs><onsuccess>485fb8d9-c660-4dff-9811-167c9ca27e42</onsuccess><code><![CDATA[Dim i as Integer = MaximumResults
Dim jsonSearch as string="{""Search"": """ + Search + """,""MaximumResults"":" + i.ToString() + "}"
SearchResults = RESTPOSTAsString(URL + APIBaseURL + "Contact/SearchForContact?packetGUID=" + PacketGUID, Token, ProxyAddress, ProxyUsername, ProxyPassword, jsonSearch)
]]></code></stage><stage stageid="90d90d37-51d7-4893-bb64-b840c1ef8c68" name="URL" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ce7046b8-eef3-4608-98b1-43add2f01f9a" name="Token" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9c17b067-8009-4b03-ac4b-fda73de5ceca" name="Result" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ee6883c6-1276-418b-b60a-4e3fcee7f0ae" name="Search" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="89b06356-0f28-46b2-95f8-b8a19dc9ab5d" name="MaximumResults" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="46032baa-8b05-4ef5-96c4-8c6b8adabe93" name="PacketGuid" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>225</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bdb261b6-51cf-41d7-85f2-6985b93f950e" name="CreateSubCase" type="SubSheetInfo"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative>The Create Sub Case Action creates a new Case on the Enate Platform using the Guid obtained from the Get Case Attribute Action along with an Existing Case Guid.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="15ac761d-9560-4e3d-8d12-3e5bb0c41c79" name="Start" type="Start"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ExistingCaseGuid" narrative="A guid from a Case object" stage="ExistingCaseGuid" /><input type="text" name="CaseAttributeGUID" narrative="A guid returned from the Get Case Attribute Action" stage="CaseAttributeGUID" /><input type="text" name="Title" narrative="The title to give to the newly created Sub Case" stage="Title" /><input type="flag" name="Independent" narrative="is this an independent case. " stage="Independent" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>cc906a4d-da9d-4976-b899-b603967af065</onsuccess></stage><stage stageid="c0519ad9-ea70-4b9b-accf-3e98f815ba4e" name="End" type="End"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="SubCaseGUID" narrative="Guid which relates to the unique identifier of the newly created Sub Case" stage="Result" /></outputs></stage><stage stageid="cc906a4d-da9d-4976-b899-b603967af065" name="Create Sub Case" type="Code"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CaseAttributeGUID" expr="[CaseAttributeGUID]" /><input type="text" name="ExistingCaseGuid" expr="[ExistingCaseGuid]" /><input type="text" name="Title" expr="[Title]" /><input type="flag" name="Independent" expr="[Independent]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="SubCaseGUID" stage="Result" /></outputs><onsuccess>c0519ad9-ea70-4b9b-accf-3e98f815ba4e</onsuccess><code><![CDATA[SubCaseGUID=CreateSubCase(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ExistingCaseGUID, CaseAttributeGUID, Title, Independent)]]></code></stage><stage stageid="bbff89d2-e000-4e8b-9c71-5688073008ee" name="URL" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="faedc26d-b90e-4b61-acdc-fef1c4e99584" name="Token" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c03f1001-1342-4de1-b9c1-f52af76be2aa" name="Result" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6da82186-6925-41d9-960d-98ee3ccf79e7" name="ExistingCaseGuid" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>105</displayx><displayy>-105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cc31eeea-1951-432a-9b09-cc6e153fc84d" name="CaseAttributeGUID" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>195</displayx><displayy>-105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ab302c5a-cc8a-48ef-a624-460386c31cfc" name="Title" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>270</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="911f84e7-3a11-4a4b-9c86-6442d8687f03" name="Independent" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="500251fc-0e32-4687-86cb-b77cf1629e64" name="Important" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e37af6d4-0d93-43a8-84f3-4cfe75ba69ff" name="Subject" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>270</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6d3fd90e-4ed8-4f2b-81b0-30a3d6ee0437" name="From" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="91aaeb51-c0df-4705-b818-f6947d18a7ee" name="ToList" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5f8bd906-be52-4147-a764-387d0c2ff730" name="CCList" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>270</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d64ebdd3-85b1-461c-94a1-9fe78c4a68a7" name="BCCList" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>330</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2f0c62c1-af0e-4a9c-8799-fc1e706f2e5d" name="Attachments" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>330</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cda058d0-2ccb-4ece-8eb5-1b4d3dcd550c" name="AddFileToItem" type="SubSheetInfo"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><narrative>The Add File To Item Action is used to Add a local file to an Enate work item, this can be either a CasePacket, TicketPacket, or ActionPacket. After this Logic you must then call the relevant Update Case, Update Ticket or Update Action to upload the file into the Enate Platform and associate it to the work item.  This action does not require a connection to the Enate platform as it is only manipulating the Json String</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="17680939-6da3-43d4-8810-789fa45e4c3d" name="Start" type="Start"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Packet" narrative="The TicketPacket, CasePacket or ActionPacket that you want to add the file to, this Json would have been returned from a Get Ticket, Get Case or Get Action." stage="Packet" /><input type="text" name="TargetFileName" narrative="the filename of the file to add e.g. test.txt " stage="TargetFileName" /><input type="text" name="TargetPath" narrative="the local path of the file e.g. C:\Test Files " stage="TargetPath" /><input type="text" name="Note" narrative="a note to add to the work item along with the file." stage="Note" /></inputs><onsuccess>55eaddb8-cf14-4e69-98e6-2f12c06c7b2f</onsuccess></stage><stage stageid="0feb0af4-e17e-4b38-b2b8-08c768bf2dd9" name="End" type="End"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="Packet" narrative="Returns the updated TicketPacket, CasePacket or ActionPacket Json String which will now contain an entry in the Files collection property" stage="Result" /></outputs></stage><stage stageid="5dc42877-e393-4490-86ab-f86eb5065d31" name="CreateCase" type="SubSheetInfo"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative>The Create Case Action creates a new Case on the Enate Platform using the Guid obtained from the Get Case Process Action.
 </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="93745ba8-9530-4f93-9f28-c2e04e5dc723" name="CreateTicket" type="SubSheetInfo"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative>The Create Ticket Action creates a new Ticket on the Enate Platform using the Guid obtained from the Get Ticket Process Action.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="e7d168da-d223-49f1-93dc-a52ae1a4c242" name="SaveFile" type="SubSheetInfo"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative>The Save File Action is used to download a file from the Enate system that is held on either a TicketPacket, CasePacket or ActionPacket Json which would have been returned from a Get Ticket, Get Case or Get Action. </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="f95ee616-255b-4a2d-9d8a-37eb2ebe64f8" name="CreatePacket" type="SubSheetInfo"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><narrative>The Create Packet Action creates a new Case or Ticket on the Enate Platform using the Guid obtained from the Get Case/Ticket Process Action.  This Action is to be used where Create Ticket or Create Case does not cater to requirements.  See RPA Developers Guide for more information about using Create Packet.
 </narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="8b41c025-dc8f-4efb-a4f1-bd3099614a45" name="Start" type="Start"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ProcessVersionInstanceGUID" narrative="The Guid returned by the Get Case/Ticket Process Action" stage="ProcessVersionInstanceGUID" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>a78ea1ae-817f-481a-8ab6-285bd8890548</onsuccess></stage><stage stageid="0278208e-3472-4f93-b168-525e96e32687" name="End" type="End"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="NewPacketResult" narrative="NewPacketResult contains a few bits of information for the new packet See NewPacketResult DTO in RPA Developers Guide for more information" stage="Result" /></outputs></stage><stage stageid="a78ea1ae-817f-481a-8ab6-285bd8890548" name="Create Packet" type="Code"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ProcessVersionInstanceGUID" expr="[ProcessVersionInstanceGUID]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="NewPacketResult" stage="Result" /></outputs><onsuccess>0278208e-3472-4f93-b168-525e96e32687</onsuccess><code><![CDATA[Dim Body as String ="{""ProcessVersionInstanceGUID"":""" + ProcessVersionInstanceGUID + """,""StartMethod"":""Integration"",""TestingPacket"":false}"
RESTPOSTAsString(URL + APIBaseURL + "packet/createpacket", Token, ProxyAddress, ProxyUsername, ProxyPassword, Body)
]]></code></stage><stage stageid="0cc26cc9-bc83-4451-8fbf-8f2d13c9f004" name="URL" type="Data"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9375cf44-1b82-4455-9297-771494b595bf" name="Token" type="Data"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d45c1d01-0d21-4fda-84e4-5cb9944a0c5b" name="ProcessVersionInstanceGUID" type="Data"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ce7c6d89-fac1-4c0b-8531-3c52ea2dcac0" name="Result" type="Data"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9144cebf-7972-4912-87e8-d7e8b6d56333" name="Packet" type="Data"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f4be385a-88f2-439c-aa3c-c9f8e31c749b" name="TargetFileName" type="Data"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="168a03ae-1fc8-4fca-b4fc-4bdf03f5917c" name="Note" type="Data"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f9d0e1a7-16af-4267-badf-4298ba85b780" name="TargetPath" type="Data"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="55eaddb8-cf14-4e69-98e6-2f12c06c7b2f" name="Add File To Item" type="Code"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Packet" expr="[Packet]" /><input type="text" name="TargetPath" expr="[TargetPath]" /><input type="text" name="TargetFileName" expr="[TargetFileName]" /><input type="text" name="Note" expr="[Note]" /></inputs><outputs><output type="text" name="json" stage="Result" /></outputs><onsuccess>0feb0af4-e17e-4b38-b2b8-08c768bf2dd9</onsuccess><code><![CDATA[json = AddFileToFilesCollection(Packet, TargetPath, TargetFileName, Note)]]></code></stage><stage stageid="8f21b40b-315b-4e67-93dc-7a213c4abf12" name="Result" type="Data"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e3b1bc4b-c57a-451c-b814-300802d7d4c4" name="Start" type="Start"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="PacketGUID" narrative="The Guid Property from the work item from which you want to download a file, ie TicketPacket.Guid, CasePacket.Guid or ActionPacket.Guid" stage="PacketGUID" /><input type="text" name="FileJSON" narrative=" A PacketFile from the Files collection property of either a TicketPacket, CasePacket or ActionPacket Json String" stage="FileJSON" /><input type="text" name="TargetPath" narrative="A local directory to save the file into from the Enate Platform" stage="TargetPath" /><input type="flag" name="AllowOverwrite" narrative="A Boolean to indicate if the local file can be overwritten if it already exists" stage="AllowOverwrite" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>d75bd2b0-c0a1-4e15-88a2-832dde488c4c</onsuccess></stage><stage stageid="b73592ba-72e7-4c63-beb3-4384cbc9f53b" name="End" type="End"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="d75bd2b0-c0a1-4e15-88a2-832dde488c4c" name="Save File" type="Code"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="PacketGUID" expr="[PacketGUID]" /><input type="text" name="FileJSON" expr="[FileJSON]" /><input type="text" name="TargetPath" expr="[TargetPath]" /><input type="flag" name="AllowOverwrite" expr="[AllowOverwrite]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><onsuccess>b73592ba-72e7-4c63-beb3-4384cbc9f53b</onsuccess><code><![CDATA[SaveFile(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, PacketGUID, FileJSON, TargetPath, AllowOverwrite)]]></code></stage><stage stageid="fb8161d7-7115-43eb-bfbe-73b24d3560c3" name="URL" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b1537a7b-96b4-4ff8-8d09-7a5096602225" name="Token" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="38ded4c3-d69a-4d46-a831-a7a49955093c" name="PacketGUID" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ca8605c0-89b6-45b8-b02d-0d39570e35d0" name="TargetPath" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3ab1157f-212e-44da-b3ed-d8c2ba9d0ed2" name="AllowOverwrite" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7f88eb3e-2ad6-4aba-aa0a-41662c5c6e92" name="FileJSON" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c49ee3d4-199c-42a2-8f89-e2af06dabaf3" name="Start" type="Start"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ProcessVersionInstanceGUID" narrative="The Guid returned by the Get Case/Ticket Process Action" stage="ProcessVersionInstanceGUID" /><input type="text" name="Title" narrative="The title to give to the newly created Case" stage="Title" /><input type="text" name="ContactsSearch" narrative="A list of MultiContactSearch JSON to allow multiple contacts to be searched for and tagged for Case." stage="ContactsSearch" /><input type="text" name="DataFields" narrative="Dictionary of items to update the Case Datafields which holds bespoke data as configured for the Case." stage="DataFields" /><input type="text" name="Attachments" narrative="a CSV delimited String of Files to attach.  ie C:\test\test.txt,C:\test\test2.txt" stage="Attachments" /><input type="text" name="NewPacketCommunication" narrative="A NewCommunication object containing information to add a packet communication to the Case.  Can use Prepare Communication Action to assist with building this Json" stage="NewPacketCommunication" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>5244e606-d594-47c3-aa28-e85130b158dc</onsuccess></stage><stage stageid="e0feb1cc-6f7c-4fe4-a1fd-9e627a8572d7" name="End" type="End"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="CaseGUID" narrative="Guid which relates to the unique identifier of the newly created Case" stage="Result" /></outputs></stage><stage stageid="5244e606-d594-47c3-aa28-e85130b158dc" name="Create Case" type="Code"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ProcessVersionInstanceGUID" expr="[ProcessVersionInstanceGUID]" /><input type="text" name="Title" expr="[Title]" /><input type="text" name="ContactsSearch" expr="[ContactsSearch]" /><input type="text" name="DataFields" expr="[DataFields]" /><input type="text" name="Attachments" expr="[Attachments]" /><input type="text" name="NewPacketCommunication" expr="[NewPacketCommunication]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="CaseGUID" stage="Result" /></outputs><onsuccess>e0feb1cc-6f7c-4fe4-a1fd-9e627a8572d7</onsuccess><code><![CDATA[Dim AttachmentsArray As String()=Attachments.Split(",")
CaseGUID = CreateCase(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ProcessVersionInstanceGUID, Title, ContactsSearch, AttachmentsArray , NewPacketCommunication, Datafields)]]></code></stage><stage stageid="41c06e04-a8a6-4eb1-b2e8-db7b65ae04fa" name="URL" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="42e2a39a-ac15-4cca-9b5e-a7269e114b66" name="Token" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6df2be4e-f833-4134-af93-8e71e07c48e4" name="ProcessVersionInstanceGUID" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="10dc0332-79bd-4b1a-b9f1-c8fb856b714e" name="Result" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="29b43a7b-b571-4b44-9c08-159641e3bef8" name="Title" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bead537e-c864-484f-88ff-9babf7ce81c9" name="ContactsSearch" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="56737f54-dad5-4224-b80e-b9dbc306e50b" name="DataFields" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="24740048-c51c-43c9-a054-09713d0b07ff" name="Attachments" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>240</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9f05607d-f801-44f6-a7cd-3c72bc11b853" name="NewPacketCommunication" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5183c48e-ec93-4370-afa4-deb03542a3b6" name="Start" type="Start"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance" stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ProcessVersionInstanceGUID" narrative="The Guid returned by the Get Case/Ticket Process Action" stage="ProcessVersionInstanceGUID" /><input type="text" name="TicketAttributeGUID" narrative="the Guid returned by the Get Ticket Attribute Action" stage="TicketAttributeGUID" /><input type="text" name="Title" narrative="The title to give to the newly created Case" stage="Title" /><input type="text" name="ContactsSearch" narrative="A list of MultiContactSearch JSON to allow multiple contacts to be searched for and tagged for Case." stage="ContactsSearch" /><input type="text" name="DataFields" narrative="Dictionary of items to update the Case Datafields which holds bespoke data as configured for the Case." stage="DataFields" /><input type="text" name="Attachments" narrative="a CSV delimited String of Files to attach.  ie C:\test\test.txt,C:\test\test2.txt" stage="Attachments" /><input type="text" name="NewPacketCommunication" narrative="A NewCommunication object containing information to add a packet communication to the Case.  Can use Prepare Communication Action to assist with building this Json" stage="NewPacketCommunication" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>083df900-3a1d-4337-8dfd-c0190a7186e8</onsuccess></stage><stage stageid="7fea3f40-c941-4268-94e0-ff6868709ec5" name="End" type="End"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="TicketGUID" narrative="Guid which relates to the unique identifier of the newly created Ticket" stage="Result" /></outputs></stage><stage stageid="083df900-3a1d-4337-8dfd-c0190a7186e8" name="Create Ticket" type="Code"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ProcessVersionInstanceGUID" expr="[ProcessVersionInstanceGUID]" /><input type="text" name="Title" expr="[Title]" /><input type="text" name="ContactsSearch" expr="[ContactsSearch]" /><input type="text" name="DataFields" expr="[DataFields]" /><input type="text" name="Attachments" expr="[Attachments]" /><input type="text" name="NewPacketCommunication" expr="[NewPacketCommunication]" /><input type="text" name="TicketAttributeGUID" expr="[TicketAttributeGUID]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="TicketGUID" stage="Result" /></outputs><onsuccess>7fea3f40-c941-4268-94e0-ff6868709ec5</onsuccess><code><![CDATA[Dim AttachmentsArray As String()=Attachments.Split(",")
TicketGUID = CreateTicket(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ProcessVersionInstanceGUID, TicketAttributeGUID, Title, ContactsSearch, AttachmentsArray , NewPacketCommunication, Datafields)]]></code></stage><stage stageid="701e6ced-d0bb-4199-b41a-fba3ccd0e610" name="URL" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="da42e2b2-7c97-4c38-b31b-79886edb1dce" name="Token" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7da47ecc-5319-4d85-bfc5-f70365cbc901" name="ProcessVersionInstanceGUID" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e7915223-971f-4bc7-a316-3ed9d0f15384" name="Result" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7e8f9a09-4cda-4990-8eab-2dce46823a63" name="Title" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="dae11d76-077c-4ccb-982d-d621837c0525" name="ContactsSearch" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0e1c26a3-06a3-4c13-9f9e-95b253b507bd" name="DataFields" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0ab4464b-501a-4812-948d-fda9a99a5685" name="Attachments" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>240</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="039390cd-30d1-434d-90c2-6a6a525263ce" name="NewPacketCommunication" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d1946dfe-fa15-46e4-8498-9de9b00c340f" name="TicketAttributeGUID" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="787b2b83-8469-4202-9b2e-6f4cbdd56cab" name="GetJSONProperty" type="SubSheetInfo"><subsheetid>9a5ef59b-9e4b-45d3-a635-c81a70dfe48a</subsheetid><narrative>The Get JSON Property Action allows you to get a String/Number from a property in a JSON string.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="dea1e451-e1e5-4312-a39e-2c0e1edefaaa" name="Start" type="Start"><subsheetid>9a5ef59b-9e4b-45d3-a635-c81a70dfe48a</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to get, ie GUID.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " stage="PropertyName" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to retrieve. " stage="JSON" /></inputs><onsuccess>08f9edba-4d8c-4531-91b3-73329096285e</onsuccess></stage><stage stageid="73e78e64-95aa-4ae8-893f-2848e53a6b5b" name="End" type="End"><subsheetid>9a5ef59b-9e4b-45d3-a635-c81a70dfe48a</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="Value" narrative="The value contained in the property specified. " stage="Result" /></outputs></stage><stage stageid="08f9edba-4d8c-4531-91b3-73329096285e" name="Get Json Property" type="Code"><subsheetid>9a5ef59b-9e4b-45d3-a635-c81a70dfe48a</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" expr="[PropertyName]" /><input type="text" name="JSON" expr="[JSON]" /></inputs><outputs><output type="text" name="Value" stage="Result" /></outputs><onsuccess>73e78e64-95aa-4ae8-893f-2848e53a6b5b</onsuccess><code><![CDATA[Value = GetPropertyValue(JSON, PropertyName) ]]></code></stage><stage stageid="21603df3-26e4-46e5-8838-ae47d1ba2a4e" name="SetJSONProperty" type="SubSheetInfo"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><narrative>The Set JSON Property Action allows you to set a String/Number from in a property of a JSON string.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="218e450a-9e24-4fcb-97aa-edeca30cc79f" name="Start" type="Start"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" narrative="This is the name of the property to Set, ie Status.  You can specify hierarchical properties where JSON has nested objects ie Customer.Name (see Examples below). Refer to Enate RPA Developer Guide for more information on the JSON Structure. " stage="PropertyName" /><input type="text" name="JSON" narrative="The JSON string containing the Property you want to set." stage="JSON" /><input type="text" name="PropertyType" narrative=" This is the type of value this property contains must be String, WholeNumber, DecimalNumber, Date, DateTime, Boolean, jObject. " stage="PropertyType" /><input type="text" name="Value" narrative="The value you want to set the property to." stage="Value" /></inputs><onsuccess>6ed23022-6954-4fad-b696-f6e8fa57e45f</onsuccess></stage><stage stageid="5ba3660a-a662-4761-815d-2da25d58da2b" name="End" type="End"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="JSON" narrative="The updated JSON with the new value in property." stage="Result" /></outputs></stage><stage stageid="6ed23022-6954-4fad-b696-f6e8fa57e45f" name="Set JSON Property" type="Code"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="PropertyName" expr="[PropertyName]" /><input type="text" name="JSON" expr="[JSON]" /><input type="text" name="PropertyType" expr="[PropertyType]" /><input type="text" name="Value" expr="[Value]" /></inputs><outputs><output type="text" name="Result" stage="Result" /></outputs><onsuccess>5ba3660a-a662-4761-815d-2da25d58da2b</onsuccess><code><![CDATA[Result = SetPropertyValue(JSON, PropertyName, PropertyType, Value)]]></code></stage><stage stageid="5a805e59-9e2b-486d-94ac-70f4909c9fd3" name="Result" type="Data"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1b593a8c-11a7-40bb-bfbc-cd7ed087658d" name="PropertyName" type="Data"><subsheetid>9a5ef59b-9e4b-45d3-a635-c81a70dfe48a</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b0df8da1-d8c1-402e-b256-ebc470e82dd1" name="JSON" type="Data"><subsheetid>9a5ef59b-9e4b-45d3-a635-c81a70dfe48a</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1ce5f455-8a82-47dc-b656-3c42df6dccc5" name="PropertyName" type="Data"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f4ac4a7c-4cc7-438f-87a6-fdcd89699472" name="JSON" type="Data"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2559b5e8-e7ce-40d1-903d-7be0b645e179" name="PropertyType" type="Data"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5965a937-819a-49b4-959b-82f3e4237c99" name="Value" type="Data"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1c264dda-ffce-40b4-b2a2-6b5a25f3bf3a" name="Result" type="Data"><subsheetid>9a5ef59b-9e4b-45d3-a635-c81a70dfe48a</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bb85a676-cfac-4b17-94dd-8159baa8f714" name="ProxyAddress" type="Data"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ad712203-fa3c-4e10-9de9-357d0e2d73e5" name="ProxyUsername" type="Data"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f03c1d1f-eaf3-40fa-a076-b5dea131af26" name="ProxyPassword" type="Data"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><narrative></narrative><displayx>240</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="f35e0d27-2e9e-4b20-9f63-06fdd03214ce" name="ProxyAddress" type="Data"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1ca26014-6e5e-442f-96d2-f3deb875b48b" name="ProxyUsername" type="Data"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="109d8612-71ce-4c52-81af-970c8c7893a9" name="ProxyPassword" type="Data"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="93402fbc-f19e-4c1d-8527-31b2c9cbfb0a" name="ProxyPassword" type="Data"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="7235fe87-2d2f-4de1-b2db-60181a3ee40e" name="ProxyUsername" type="Data"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0af589d7-226e-4579-a719-342dcf07cf6e" name="ProxyAddress" type="Data"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="65e195e9-6aca-467e-9a00-f3ab128f39c3" name="ProxyAddress" type="Data"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c5f26a9b-7b8c-4ab6-912a-5474e1506020" name="ProxyUsername" type="Data"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1e7d7528-98fc-4659-b406-e94387fce731" name="ProxyPassword" type="Data"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="02a5e580-6873-40d6-ba78-2bdaffb4c150" name="ProxyAddress" type="Data"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a1129470-ce2d-4690-a3e6-e20839e3503d" name="ProxyUsername" type="Data"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4ff7437f-024c-4c86-b729-233ebd4b788f" name="ProxyPassword" type="Data"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="656b6f1a-1ed2-44e2-b908-1c3d1edfa165" name="ProxyAddress" type="Data"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c4cefd03-b2cd-4596-b85b-5a9337f2ab82" name="ProxyUsername" type="Data"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d786d6f9-0516-477a-82bd-7f0687b33270" name="ProxyPassword" type="Data"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="19b53022-6fe9-41ee-a49c-212e25c2acef" name="ProxyAddress" type="Data"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2bc8c46d-ac9c-4d71-9a71-5cab98b31fe3" name="ProxyUsername" type="Data"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><narrative></narrative><displayx>75</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="599600b5-9f43-44b2-bfa9-d7725ed6d03f" name="ProxyPassword" type="Data"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><narrative></narrative><displayx>75</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="753b1dc6-04cd-40f2-8d74-b54b1c82bf47" name="ProxyAddress" type="Data"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a8564a0f-216f-44d7-85ce-93037fb77def" name="ProxyUsername" type="Data"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5de19ac1-7354-40f5-8452-9f3e4d094b47" name="ProxyPassword" type="Data"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="90ab1e7e-180d-417f-81c4-d7f1931fe319" name="ProxyAddress" type="Data"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3623042f-fbfb-4ac1-887c-c660d7ec6783" name="ProxyUsername" type="Data"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="25d5945c-e8b3-4c51-9352-5e9c029768f9" name="ProxyPassword" type="Data"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><narrative></narrative><displayx>240</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="4bda05bf-cdad-4858-94ab-d0cac0065edb" name="ProxyPassword" type="Data"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="aa255e75-c0e4-4cd0-8394-ebd602811711" name="ProxyUsername" type="Data"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2cc84f70-7882-458e-87ec-e9549ea784d1" name="ProxyAddress" type="Data"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="95754ef9-6bb7-46fd-af2a-47421a2bbfac" name="ProxyPassword" type="Data"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="45beb22e-c810-483f-ae1c-b84c8dbc86e5" name="ProxyUsername" type="Data"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><narrative></narrative><displayx>75</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9ec9717e-3ee2-4cc8-b907-f88a20c8604b" name="ProxyAddress" type="Data"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><narrative></narrative><displayx>75</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1e2d5846-2f7a-49a5-8444-acee6053d8da" name="ProxyAddress" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="05693773-6e6f-4dcd-bb89-baa41a243b4f" name="ProxyUsername" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2c2b0413-000b-40d9-9718-648d963217b6" name="ProxyPassword" type="Data"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="5023170c-6bb7-4b40-a03a-e14664ff3717" name="ProxyAddress" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8f8e83db-07f6-4003-839e-b9bb82b037f2" name="ProxyUsername" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8e1cb142-c3d5-4a42-8abe-79a3979b4c70" name="ProxyPassword" type="Data"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="9a3413ab-0f92-4477-b013-f1a9ae82db62" name="ProxyAddress" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8eb62e44-f31a-458e-b14d-6bdd36a7ea21" name="ProxyUsername" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0dafe2db-83b7-439b-8eda-d391587d14d9" name="ProxyPassword" type="Data"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="d360efff-8938-4ffb-8f99-3fc522c86f3c" name="ProxyAddress" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="009b11aa-2f8a-4542-83dc-6d977c12dc46" name="ProxyUsername" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d82e9127-dea7-49a4-8358-343bfb8041de" name="ProxyPassword" type="Data"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="4e06740a-5206-4e07-8419-1470e8e4713d" name="ProxyAddress" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="551c5cb4-c60e-4b43-8e97-52f8830abe2a" name="ProxyUsername" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="42d7bac0-e005-46cc-8f7a-d161d94da67d" name="ProxyPassword" type="Data"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="fad94969-3e42-44af-9f47-3762f4f58eba" name="ProxyAddress" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="151d6571-1932-4757-8160-da6012b62e64" name="ProxyUsername" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9d617002-ec6b-4e72-beb9-7db0ae5228a5" name="ProxyPassword" type="Data"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><narrative></narrative><displayx>210</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="6d3c4a5a-69d0-4df8-8372-04647f9fe1ee" name="ProxyAddress" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a31f51d6-7042-4715-9288-e285323f72ad" name="ProxyUsername" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>315</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f0e49eb7-5f16-4168-9839-8cb895b332fe" name="ProxyPassword" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><narrative></narrative><displayx>240</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="79489c17-3e77-4e17-aeb3-e4fee3f1bf4f" name="ProxyAddress" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>315</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9900bbfc-7741-4fdc-91ad-1648db5f656c" name="ProxyUsername" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>240</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1ffcefba-3c02-49de-aa1a-37c2095ba7bd" name="ProxyPassword" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><narrative></narrative><displayx>240</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="00eb5feb-6382-4125-9a7d-93dbd1f2fa84" name="ProxyAddress" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="84e4cf4a-ff70-4c9a-a071-5f12f8ac8525" name="ProxyUsername" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="efffa37a-e11e-487b-af47-0054267d535c" name="ProxyPassword" type="Data"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="7fc25fb6-9caa-4993-a454-4bdaa655877a" name="ProxyAddress" type="Data"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f909d70d-0bdc-4add-b679-56aa4179f962" name="ProxyUsername" type="Data"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2a9546bf-aaed-4c72-8240-32a45c6bde75" name="ProxyPassword" type="Data"><subsheetid>1526c5e3-144a-45ae-8bf7-0356ae5a9145</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="d4cfc540-812f-44d0-9224-6465134edc90" name="ProxyAddress" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="17302e5d-30bd-4e0c-bbd8-08d21fe39768" name="ProxyUsername" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="64ef351e-2ca2-4cc6-8503-ef1226074823" name="ProxyPassword" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="83588257-9f90-4172-b7be-a57e4d976d97" name="ProxyAddress" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0aa26030-b781-43cb-bc14-5cccb5714907" name="ProxyUsername" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>180</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2347d1f1-305b-4172-9572-d4f3d4e6e9a1" name="ProxyPassword" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><narrative></narrative><displayx>180</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="b61358be-1667-4881-9a4f-bc17b33d7c57" name="SwitchToLiveMode" type="SubSheetInfo"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><narrative>The SwitchToLiveMode Action switches this bot login to Live in Enate, which means it will return Live packets during this login with the updated Authentication Token returned by this action.
This action only supported in Enate 2019.4 and onwards</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="30b18141-ab16-4d16-bc48-40b8cf7e81fb" name="Start" type="Start"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>c9d24344-eb45-407c-8903-212646dd267d</onsuccess></stage><stage stageid="a396eb3f-c363-483a-bfd5-aee7fcccfa69" name="End" type="End"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="Token" narrative="Returns the updated Token" stage="Result" /></outputs></stage><stage stageid="c9d24344-eb45-407c-8903-212646dd267d" name="SetLiveMode" type="Code"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="TokenOut" stage="Result" /></outputs><onsuccess>a396eb3f-c363-483a-bfd5-aee7fcccfa69</onsuccess><code><![CDATA[TokenOut = RESTPOSTAsString(URL + APIBaseURL + "Authentication/SetLiveMode?useCookie=false", Token, ProxyAddress, ProxyUsername, ProxyPassword,"").Replace("""", "")
If String.isNullOrEmpty(TokenOut) Then
 TokenOut=Token
End if
]]></code></stage><stage stageid="1cc70f90-5249-4e2e-983b-88eba288a0f4" name="URL" type="Data"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ad28200c-71b1-4660-ba92-56557fc76cf6" name="Token" type="Data"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d9341b38-71ba-4d32-9215-696a6936408d" name="Result" type="Data"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="154ac3d8-f7d8-45ed-9e01-16f794c15399" name="ProxyAddress" type="Data"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="af96422b-4d24-4260-b13e-ca43f820c5d3" name="ProxyUsername" type="Data"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e8ab21b2-2ea0-44fc-93d3-bf13a07b2582" name="ProxyPassword" type="Data"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="c35b5cbc-d31a-4ded-adff-fd1109cdbdf5" name="SwitchToTestMode" type="SubSheetInfo"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><narrative>The SwitchToTestMode Action switches this bot login to Test in Enate, which means it will return Test packets during this login with the updated Authentication Token returned by this action.
This action only supported in Enate 2019.4 and onwards</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="be2c22ab-3c25-42de-a9e7-3f32f879b679" name="Start" type="Start"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>f68f3d04-d69b-43a6-bfe7-ccc0fe832c7f</onsuccess></stage><stage stageid="a95b0301-af13-40b0-9890-233cb9508b28" name="End" type="End"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><outputs><output type="text" name="Token" narrative="Returns the updated Token" stage="Result" /></outputs></stage><stage stageid="f68f3d04-d69b-43a6-bfe7-ccc0fe832c7f" name="SetTestMode" type="Code"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><outputs><output type="text" name="TokenOut" stage="Result" /></outputs><onsuccess>a95b0301-af13-40b0-9890-233cb9508b28</onsuccess><code><![CDATA[TokenOut = RESTPOSTAsString(URL + APIBaseURL + "Authentication/SetTestMode?useCookie=false", Token, ProxyAddress, ProxyUsername, ProxyPassword,"").Replace("""", "")
If String.isNullOrEmpty(TokenOut) Then
 TokenOut=Token
End if
]]></code></stage><stage stageid="c1869bda-f5f5-4a17-a37f-6fccde372357" name="URL" type="Data"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="61f91b45-6440-4461-93e1-494a5fb41d8f" name="Token" type="Data"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f7f08a1b-1334-45c9-8906-3570f1d2724e" name="Result" type="Data"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b999fe13-2390-473e-ba2d-d903fa802a40" name="ProxyAddress" type="Data"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4b8c7773-8fcc-4581-886e-42ad73a03f64" name="ProxyUsername" type="Data"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ad6abf16-f1d1-4dd2-b8cd-2524c49ca60f" name="ProxyPassword" type="Data"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="0c6b28a6-5f84-45e9-89a4-ea6ec7cdc6a9" name="SetAssignee" type="SubSheetInfo"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative>The "Set Assignee" Action allows a bot to assign an action or a ticket to a particular bot or user.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="909489cc-b9f0-4556-be87-032432afc8f0" name="Start" type="Start"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="PacketGUID" narrative="The unique identifier of the Packet." stage="PacketGUID" /><input type="text" name="UserGUID" narrative="User GUID of the User to assign to" stage="UserGUID" /><input type="text" name="Note" narrative="Note to make during assignment" stage="Note" /><input type="flag" name="ForceAssignment" narrative="Forces the assignment to user if already assigned to another user." stage="ForceAssign" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>74266056-5e10-4e3c-aac4-64ac58847b8e</onsuccess></stage><stage stageid="cd7f2301-44aa-48e4-9a0d-8b016dc8f73f" name="End" type="End"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="74266056-5e10-4e3c-aac4-64ac58847b8e" name="SetAssignee" type="Code"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="PacketGUID" expr="[PacketGUID]" /><input type="text" name="UserGUID" expr="[UserGUID]" /><input type="text" name="Note" expr="[Note]" /><input type="flag" name="ForceAssign" expr="[ForceAssign]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><onsuccess>cd7f2301-44aa-48e4-9a0d-8b016dc8f73f</onsuccess><code><![CDATA[Dim SetAssigneeJSON as String="{""UserGUID"":""" & UserGuid & """Note"": """ & Note & """}"
RESTPOSTAsString(URL + APIBaseURL + "packet/SetAssignee?packetGUID=" & PacketGUID & "&forceAssign=" & ForceAssign.ToString.ToLower, Token, ProxyAddress, ProxyUsername, ProxyPassword, SetAssigneeJSON)
]]></code></stage><stage stageid="bf37ebb4-1d65-4660-a832-8ce2542d3b70" name="URL" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9bb6e6b4-e6be-4dcb-a3c9-cefbe59e48f2" name="PacketGUID" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="46de633c-81c8-45d4-bfda-6d711e805d65" name="Token" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f40c80dc-e228-4ffb-80a1-e2449dc09915" name="Result" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>90</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7ada28f6-92f9-474c-8bf4-5db7addc96fb" name="ProxyAddress" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>165</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="581151db-9966-4c90-9e12-340885708b35" name="ProxyUsername" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ac2e8191-d1be-4345-bb95-98be455349ce" name="ProxyPassword" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>90</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="4e017935-f868-4725-93a8-c33c9c70846e" name="UserGUID" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fdd4f818-c04f-49c6-9ae8-2084220d6d31" name="Note" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6aa41526-f015-494f-b7ea-58ca2b6353d4" name="ForceAssign" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>False</initialvalue><private /><alwaysinit /></stage><stage stageid="44d0b067-1547-4323-8fbb-163cf0c57852" name="AddDefect" type="SubSheetInfo"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative>The Add defect action allows you to add a defect to a case/ticket/action</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="7f2ed9ea-88cf-4019-a5b4-75e34abdb2ef" name="Start" type="Start"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" narrative="This should be set to the URL of your Enate instance, as you would type in a portal to get to the login page. e.g. https://hosting.enate.net/MyInstance " stage="URL" /><input type="text" name="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" stage="Token" /><input type="text" name="PacketGuid" narrative="The Packet Guid" stage="PacketGuid" /><input type="text" name="DefectCategory1" narrative="Defect Category 1" stage="DefectCategory1" /><input type="text" name="DefectCategory2" narrative="Defect Category 2" stage="DefectCategory2" /><input type="text" name="DefectCategory3" narrative="Defect Category 3" stage="DefectCategory3" /><input type="text" name="Description" narrative="Description" stage="Description" /><input type="number" name="AffectedRecordCount " narrative="Affected Record Count " stage="affectedRecordCount " /><input type="text" name="PartyAtFault" narrative="Party At Fault" stage="PartyAtFault" /><input type="flag" name="Resolved" narrative="Resolved" stage="Resolved" /><input type="text" name="ProxyAddress" narrative="Address of Proxy Server" stage="ProxyAddress" /><input type="text" name="ProxyUsername" narrative="Username credential for Proxy Server" stage="ProxyUsername" /><input type="password" name="ProxyPassword" narrative="Password credential for Proxy Server" stage="ProxyPassword" /></inputs><onsuccess>26e6f44d-5c6c-45d6-990b-fc7dede62201</onsuccess></stage><stage stageid="4a959c2a-1bac-4013-83e7-77b8c6e8cf05" name="End" type="End"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /></stage><stage stageid="26e6f44d-5c6c-45d6-990b-fc7dede62201" name="AddDefect" type="Code"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="PacketGuid" expr="[PacketGuid]" /><input type="text" name="DefectCategory1" expr="[DefectCategory1]" /><input type="text" name="DefectCategory2" expr="[DefectCategory2]" /><input type="text" name="DefectCategory3" expr="[DefectCategory3]" /><input type="text" name="Description" expr="[Description]" /><input type="flag" name="Resolved" expr="[Resolved]" /><input type="text" name="PartyAtFault" expr="[PartyAtFault]" /><input type="number" name="AffectedRecordCount" expr="[affectedRecordCount ]" /><input type="text" name="ProxyAddress" expr="[ProxyAddress]" /><input type="text" name="ProxyUsername" expr="[ProxyUsername]" /><input type="password" name="ProxyPassword" expr="[ProxyPassword]" /></inputs><onsuccess>4a959c2a-1bac-4013-83e7-77b8c6e8cf05</onsuccess><code><![CDATA[AddDefectToPacket(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, packetGUID, DefectCategory1, DefectCategory2, DefectCategory3, PartyAtFault, CLNG(AffectedRecordCount), Resolved, Description)]]></code></stage><stage stageid="481f07e2-c6cc-4fa8-ab0b-4279f32db49f" name="URL" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>-45</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e1dba24e-595b-45ee-9beb-2285979c9ef1" name="Token" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f00b069f-3be0-4399-8da2-ed50114368dc" name="Result" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>90</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="996cacd6-2afd-4320-825c-1920cf5dabb6" name="DefectCategory1" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>105</displayx><displayy>-105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="51dc8ec2-0473-44e4-bf2b-f6e48e94a451" name="affectedRecordCount " type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>195</displayx><displayy>-105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>0</initialvalue><private /><alwaysinit /></stage><stage stageid="923f383f-872a-4acf-97f0-3badfca3345a" name="Resolved" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>180</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>False</initialvalue><private /><alwaysinit /></stage><stage stageid="353d8a14-20ef-4b1b-940e-764c0515fdc5" name="PacketGuid" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>180</displayx><displayy>-75</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="28b06b71-d53b-4f52-aa70-6aef94e507b2" name="ProxyAddress" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>135</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="80bb599d-7e09-4a23-8692-78c55d54a435" name="ProxyUsername" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>195</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2db38d66-8fb7-4351-9e56-22197d1c76ee" name="ProxyPassword" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>75</displayx><displayy>-150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="d5e3b1b7-ddb6-490c-a0ee-5439488e0420" name="DefectCategory2" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>105</displayx><displayy>-75</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cc272de1-61ff-428b-a180-aa9badd6419c" name="DefectCategory3" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>105</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="aaba3d01-69dc-4b4d-bd12-465c87f742a3" name="Description" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>105</displayx><displayy>-15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="702bb5ff-4f60-4d15-b51a-262efbc27996" name="PartyAtFault" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Segoe UI" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage></process></object>
        <process-group id="62ad80c8-2f78-4488-a4f4-1507327dff15" name="Default" isDefaultGroup="True" xmlns="http://www.blueprism.co.uk/product/process-group">
            <members>
                <process id="f60e3b82-0f0a-4a85-ba53-f7980a2739dc" />
                <process id="ee81a4f2-5155-4420-94cc-5e883b59f63e" />
                <process id="0cfeab57-3669-4b48-96a5-2163b0e050ae" />
                <process id="b49f5c13-4887-457c-be03-a36f892b1846" />
                <process id="b44d05e8-a00a-40c0-8fba-b10db2beb3b9" />
                <process id="03cc3d34-778c-408d-8442-2944ce549dd2" />
            </members>
        </process-group>
        <object-group id="9e3e8724-f8f0-44a0-a0e2-17220bc0621b" name="Default" isDefaultGroup="True" xmlns="http://www.blueprism.co.uk/product/object-group">
            <members>
                <object id="3826edc6-7be2-4632-8269-801536bc7dd3" />
            </members>
        </object-group>
    </bpr:contents>
</bpr:release>