﻿<?xml version="1.0" encoding="utf-8"?>
<bpr:release xmlns:bpr="http://www.blueprism.co.uk/product/release">
    <bpr:name>Enate Connector New V3.1</bpr:name>
    <bpr:release-notes>case ticket</bpr:release-notes>
    <bpr:created>2022-04-21 07:33:23Z</bpr:created>
    <bpr:package-id>9</bpr:package-id>
    <bpr:package-name>Enate Connector V10</bpr:package-name>
    <bpr:user-created-by>admin</bpr:user-created-by>
    <bpr:contents count="11">
        <process id="d4021860-f161-4b9c-9f60-e32a1bff1f6a" name="Test - Create Case" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test - Create Case" version="1.0" bpversion="7.0.1.49890" narrative="This Process is used to test datafileds in create subcase" byrefcollection="true"><view><camerax>12</camerax><cameray>51</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="5167d1a4-25e3-46ce-b007-098483d8ea65" name="Stage1" type="ProcessInfo"><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="32b92b84-10bf-4686-81bb-cd1aa0fa0ed5" name="End" type="End"><display x="60" y="195" /></stage><stage stageid="142995a2-e656-43a9-b7e2-e6cadf547784" name="Start" type="Start"><display x="60" y="-135" /><onsuccess>15ccb0cc-7932-4817-81df-f27e7192b931</onsuccess></stage><stage stageid="15ccb0cc-7932-4817-81df-f27e7192b931" name="Authenticate" type="Action"><display x="60" y="-75" /><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>0729a328-0526-428a-a659-8dd73ec326bb</onsuccess><resource object="Enate" action="Authenticate" /></stage><stage stageid="b92faee4-2373-4d1d-8495-83d37d35d72b" name="Token" type="Data"><display x="180" y="-75" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="769d3b40-ac46-4f17-87eb-650b8b04e200" name="URL" type="Data"><display x="-15" y="-135" /><datatype>text</datatype><initialvalue xml:space="preserve">http://testsrv1201.enate.local/MCTest</initialvalue><private /><alwaysinit /></stage><stage stageid="14bf6985-8274-47b0-935c-ae69f0a38096" name="Username" type="Data"><display x="-15" y="-105" /><datatype>text</datatype><initialvalue xml:space="preserve">mark</initialvalue><private /><alwaysinit /></stage><stage stageid="1b093e1e-bbb0-4224-92ba-336f2a713bbc" name="Password" type="Data"><display x="-15" y="-75" /><datatype>password</datatype><initialvalueenc>4,27,21,68,8,116,69,87,114,65,65</initialvalueenc><private /><alwaysinit /></stage><stage stageid="0729a328-0526-428a-a659-8dd73ec326bb" name="Get Case Context" type="Action"><display x="60" y="-15" /><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;Case With Schedule&quot;" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /></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>d98ec62b-d727-475e-a09f-18426682f871</onsuccess><resource object="Enate" action="GetCaseProcess" /></stage><stage stageid="d98ec62b-d727-475e-a09f-18426682f871" name="Create Case" type="Action"><display x="60" y="45" /><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 BP Schedule&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="" /><input type="text" name="SchedulePeriodGuid" friendlyname="SchedulePeriodGuid" narrative="A SchedulePeriodGuid obtained from the GetSchedulefromCaseAttribute action." expr="&quot;8b152c10-07a9-4271-89b9-393c73bb73c3&quot;" /></inputs><outputs><output type="text" name="CaseGUID" narrative="Guid which relates to the unique identifier of the newly created Case" stage="NewCaseGUID" /></outputs><onsuccess>ae524416-a89f-4a8b-80b6-f7cf6fc4f2fa</onsuccess><resource object="Enate" action="CreateCase" /></stage><stage stageid="ae524416-a89f-4a8b-80b6-f7cf6fc4f2fa" name="Get Case" type="Action"><display x="60" y="105" /><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>32b92b84-10bf-4686-81bb-cd1aa0fa0ed5</onsuccess><breakpoint type="0"><condition></condition></breakpoint><resource object="Enate" action="GetCase" /></stage><stage stageid="409e6a83-f056-4ce2-82f9-f25467a199c5" name="CaseContextGUID" type="Data"><display x="150" y="-15" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7b6389fc-a809-4fd4-91ac-ce097eaf6cb8" name="NewCaseGUID" type="Data"><display x="135" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="debe63e4-c056-42c7-ad98-0f51be8aa371" name="CasePacket" type="Data"><display x="135" y="105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2ac5b0aa-6db4-407a-9ad4-ff94db5df803" name="DataCol" type="Collection"><display x="210" y="45" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Columnmail" type="text" /><field name="Columnnumber" type="number" /><field name="Columntext" type="text" /><field name="Field2" type="text" /><field name="New1" type="text" /></collectioninfo><initialvalue><row><field name="Columnmail" type="text" value="Vs21@gmail.com" /><field name="Columnnumber" type="number" value="1" /><field name="Columntext" type="text" value="VS" /><field name="Field2" type="text" value="Sagar" /><field name="New1" type="text" value="Item1" /></row><row><field name="Columnmail" type="text" value="Sagar@gmail.com" /><field name="Columnnumber" type="number" value="2" /><field name="Columntext" type="text" value="text1" /><field name="Field2" type="text" value="Field1" /><field name="New1" type="text" value="Item2" /></row></initialvalue></stage></process></process>
        <process id="3430b95e-4c13-43e9-afeb-d44900cac880" name="Test - Enate Actions" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test - Enate Actions" version="1.0" bpversion="7.0.1.49890" narrative="" byrefcollection="true"><view><camerax>-97</camerax><cameray>60</cameray><zoom version="2">2.5</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="229a20a2-f27e-4597-b70d-4f5be8c85825" name="End" type="End"><display x="30" y="105" /></stage><stage stageid="5e290bc6-6a82-4e81-b050-62cedb1a5ed2" name="Stage1" type="ProcessInfo"><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="4cf87a3f-8eb2-45a5-9981-36ab8bf5cd20" name="Start" type="Start"><display x="30" y="-150" /><onsuccess>15ad91f6-7b8f-4d10-8b95-3363e4ba8de8</onsuccess></stage><stage stageid="15ad91f6-7b8f-4d10-8b95-3363e4ba8de8" name="Authenticate" type="Action"><display x="30" y="-90" /><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>3850ce23-d3fe-4ef9-a291-8c18af52131e</onsuccess><resource object="Enate" action="Authenticate" /></stage><stage stageid="44f7e962-187c-45f4-a368-31ef5df5bd82" name="Token" type="Data"><display x="150" y="-90" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="16fccc4f-c84f-41f0-8297-c5bc2b34e611" name="URL" type="Data"><display x="-45" y="-150" /><datatype>text</datatype><initialvalue xml:space="preserve">https://enate.community/acme3</initialvalue><private /><alwaysinit /></stage><stage stageid="d47d96e3-6045-40ed-979a-578b6f4a4b94" name="Username" type="Data"><display x="-45" y="-120" /><datatype>text</datatype><initialvalue xml:space="preserve">Vidya Sagar</initialvalue><private /><alwaysinit /></stage><stage stageid="1f89cf6e-1ac7-400a-ad48-74d8f1a44e7a" name="Password" type="Data"><display x="-45" y="-90" /><datatype>password</datatype><initialvalueenc>19,26,27,68,45,5,70,86</initialvalueenc><private /><alwaysinit /></stage><stage stageid="573546fb-9741-4413-a8cd-3fc581dda892" name="Enate::GetContactTags" type="Action"><loginhibit onsuccess="true" /><display x="375" y="-15" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /></inputs><outputs><output type="text" name="ContactTags" friendlyname="ContactTags" narrative="Returns a list of contact tags present in the enate" stage="ContactTags" /></outputs><resource object="Enate" action="GetContactTags" /></stage><stage stageid="32b70003-c7ea-48f1-9585-294da1db1d12" name="ContactTags" type="Data"><display x="465" y="-15" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cb968de0-fa20-4499-b243-3dffbdcb658c" name="Enate::GetContactTag" type="Action"><loginhibit onsuccess="true" /><display x="375" y="45" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="ContactTagGUID" friendlyname="ContactTagGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Get Contact Tags Logic would have returned this identifier in the .GUID property" expr="&quot;9d19de03-a506-4715-a9ca-64ac21ab0285&quot;" /></inputs><outputs><output type="text" name="ContactTag" friendlyname="ContactTag" narrative="Returns an Contact Tag Json String which represents an Action in the Enate Platform." stage="ContactTag" /></outputs><resource object="Enate" action="GetContactTag" /></stage><stage stageid="2c27421c-9e36-458b-a6a7-270631efb0d9" name="ContactTag" type="Data"><display x="450" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="63c64c27-9c5c-4b55-9ce3-905838a9bb5e" name="Enate::GetFileTags" type="Action"><loginhibit onsuccess="true" /><display x="375" y="105" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /></inputs><outputs><output type="text" name="FileTags" friendlyname="FileTags" narrative="Returns a list of File tags present in the enate" stage="FileTags" /></outputs><resource object="Enate" action="GetFileTags" /></stage><stage stageid="72b2056c-619b-4a5d-a119-38fd7ab41f92" name="FileTags" type="Data"><display x="450" y="105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a0c2a46f-e749-47c1-a5fa-b6d791b8bdb6" name="Enate::GetFileTag" type="Action"><loginhibit onsuccess="true" /><display x="375" y="165" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="FileTagGUID" friendlyname="FileTagGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Get File Tags Logic would have returned this identifier in the.GUID property" expr="&quot;82b411ae-77c0-4700-b48d-7d2b5de23629&quot;" /></inputs><outputs><output type="text" name="FileTag" friendlyname="FileTag" narrative="Returns an File Tag Json String which represents an Action in the Enate Platform." stage="FileTag" /></outputs><resource object="Enate" action="GetFileTag" /></stage><stage stageid="90f17a19-7b12-4ec4-8cd7-b3ac57bb88c5" name="FileTag" type="Data"><display x="450" y="165" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bcec6e9c-cf35-4096-b515-dfc8cce7d3c4" name="Enate::GetLaunchableActions" type="Action"><loginhibit onsuccess="true" /><display x="375" y="-75" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="CaseGUID" friendlyname="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="&quot;24667575-43de-eb11-81e4-001e670a26f9&quot;" /></inputs><outputs><output type="text" name="LaunchableActions" friendlyname="LaunchableActions" narrative="Returns a Json String which represents launchable actions in a case." stage="LaunchableActions" /></outputs><resource object="Enate" action="GetLaunchableActions" /></stage><stage stageid="985fdd96-42be-4d09-b13e-3a3088ba3818" name="LaunchableActions" type="Data"><display x="450" y="-75" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f82078a1-edef-4770-a4b6-dd0ceb20ef76" name="Enate::LaunchAdhocAction" type="Action"><loginhibit onsuccess="true" /><display x="375" y="-120" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="CaseGUID" friendlyname="CaseGUID" narrative="The Guid returned by the Create Case Action" expr="&quot;24667575-43de-eb11-81e4-001e670a26f9&quot;" /><input type="text" name="ActionAttributeGUID" friendlyname="ActionAttributeGUID" narrative="The Guid returned by the Get launchable actions" expr="&quot;801870f0-b553-4bbc-a10b-73e1b3358443&quot;" /><input type="date" name="OverrideDueDate" friendlyname="OverrideDueDate" narrative="Override due date of the action" expr="MakeDate(21,7,2021)" /><input type="text" name="Instructions" friendlyname="Instructions" narrative="Instructions for the adhoc action" expr="&quot;Test from BP&quot;" /><input type="number" name="LaunchCopies" friendlyname="LaunchCopies" narrative="Number of launch copues of the adhoc action" expr="2" /></inputs><outputs><output type="text" name="LaunchAdhocActionGuid" friendlyname="LaunchAdhocActionGuid" narrative="Guid which relates to the unique identifier of the newly launched adhoc action" stage="LaunchAdhocActionGuid" /></outputs><resource object="Enate" action="LaunchAdhocAction" /></stage><stage stageid="b055a266-97b2-40c5-8cea-cef55ca95ecc" name="LaunchAdhocActionGuid" type="Data"><display x="450" y="-120" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c91fd941-8c49-4ec6-ba82-d2d5711fac85" name="Enate::GetScheduleFromCaseAttribute" type="Action"><loginhibit onsuccess="true" /><display x="375" y="210" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="CaseAttributeVersionGuid" friendlyname="CaseAttributeVersionGuid" narrative="The unique identifier in Enate obtained from GetCaseAttributeVersion API" expr="&quot;c838ce2e-72b0-49e4-acce-2cc0a0ae34cc&quot;" /></inputs><outputs><output type="text" name="CaseSchedules" friendlyname="CaseSchedules" narrative="Returns a Json String which represents Schedules in the case attribute" stage="CaseSchedules" /></outputs><resource object="Enate" action="GetScheduleFromCaseAttribute" /></stage><stage stageid="2b6f4444-d099-41af-8139-e3a122ab0c3a" name="CaseSchedules" type="Data"><display x="450" y="210" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="feb05f83-cb36-4ddf-975a-9d692ccb020a" name="Get Case Context" type="Action"><display x="30" y="-45" /><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;Power Automate&quot;" /><input type="text" name="ContractName" narrative="The Contract Name from the Enate Platform " expr="&quot;Case&quot;" /><input type="text" name="ServiceName" narrative="The Service Name from the Enate Platfor" expr="&quot;Simple Case&quot;" /><input type="text" name="ProcessName" narrative="The Process Name from the Enate Platform" expr="&quot;Automation&quot;" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /></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>d30a9644-34c3-45e4-ba82-c52566d30461</onsuccess><resource object="Enate" action="GetCaseProcess" /></stage><stage stageid="233cf14c-f22b-40b6-9e94-6754e96b839a" name="CaseContextGUID" type="Data"><display x="135" y="-45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9d1e5856-ffd7-4096-ae38-a15c97004817" name="NewCaseGUID" type="Data"><display x="120" y="0" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="48aabf0d-581b-4eac-84c0-329c995b2fc9" name="CasePacket" type="Data"><display x="105" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="af1aaa1a-02ff-45f6-ae1f-17d8db5d2f35" name="Enate::AttachFile" type="Action"><loginhibit onsuccess="true" /><display x="375" y="255" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="PacketGuid" friendlyname="PacketGuid" narrative="The unique identifier in Enate of the packet to which the file should be attached" expr="&quot;24667575-43de-eb11-81e4-001e670a26f9&quot;" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="TargetPath" friendlyname="TargetPath" narrative="The path where the file is located" expr="&quot;C:\Users\vidya.sagar\OneDrive - Enate\Desktop\New folder\&quot;" /><input type="text" name="TargetFileName" friendlyname="TargetFileName" narrative="The name of the file" expr="&quot;Newtext.txt&quot;" /><input type="text" name="Note" friendlyname="Note" narrative="Note related to the file" expr="&quot;Test File&quot;" /><input type="text" name="FileTags" friendlyname="FileTags" narrative="Tags related to the file" expr="&quot;RPA,AA&quot;" /></inputs><outputs><output type="text" name="json" friendlyname="json" narrative="Returns a Json String which represents uuid" stage="json" /></outputs><resource object="Enate" action="AttachFile" /></stage><stage stageid="14f316ec-f287-4b32-ad50-cee2e810eed4" name="json" type="Data"><display x="450" y="255" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b0c7df2d-9f95-46f9-a5ae-86f59fd9fd2c" name="Enate::GetCommunication" type="Action"><loginhibit onsuccess="true" /><display x="375" y="-165" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="CommunicationGUID" friendlyname="CommunicationGUID" narrative="The unique identifier in Enate for the Action to retrieve. The communication Guid obtained from the " expr="&quot;e4c6674b-dc06-4deb-bb59-f28108ce33d7&quot;" /><input type="flag" name="SanitizeHTMLBody" friendlyname="SanitizeHTMLBody" narrative="When true the HTML body will be parsed to remove potentially dangerous content." expr="True" /></inputs><outputs><output type="text" name="CommunicationResult" friendlyname="CommunicationResult" narrative="Returns the Communication specified in the {communicationGUID} parameter" stage="CommunicationResult" /></outputs><resource object="Enate" action="GetCommunication" /></stage><stage stageid="0545540e-ab19-4f4b-a200-3ad83a35b3d8" name="CommunicationResult" type="Data"><display x="450" y="-165" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e449e2e0-915a-40df-90fe-b3d8c9cc9c59" name="Enate::GetCommunications" type="Action"><loginhibit onsuccess="true" /><display x="375" y="-210" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="PacketGUID" friendlyname="PacketGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Packet Guid obtained from the Create case or create ticket." expr="&quot;24667575-43de-eb11-81e4-001e670a26f9&quot;" /><input type="text" name="FilterType" friendlyname="FilterType" narrative="Type of communications to be extracted" expr="&quot;Note&quot;" /></inputs><outputs><output type="text" name="CommunicationsResult" friendlyname="CommunicationsResult" narrative="Returns the Communications and Notes specified in the {PacketGUID} parameter" stage="CommunicationsResult" /></outputs><resource object="Enate" action="GetCommunications" /></stage><stage stageid="efde81f8-fd05-4df3-a0aa-8ab2388e9b2f" name="CommunicationsResult" type="Data"><display x="450" y="-210" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="521401f3-4558-4a64-b91e-7e9cf096c289" name="Enate::SaveCommunicationFile" type="Action"><loginhibit onsuccess="true" /><display x="300" y="-210" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="CommunicationAttachmentGUID" friendlyname="CommunicationAttachmentGUID" narrative="The unique identifier in Enate for the Action to retrieve.Attachment Guid obtained from GetCommunications." expr="&quot;f0d6fb0a-0ca1-4720-ab0e-7b3446d02ca2&quot;" /><input type="text" name="TargetPath" friendlyname="TargetPath" narrative="Path where the file should be stored" expr="&quot;C:\Users\vidya.sagar\OneDrive - Enate\Desktop\Blue Prism\&quot;" /><input type="flag" name="AllowOverwrite" friendlyname="AllowOverwrite" expr="True" /></inputs><resource object="Enate" action="SaveCommunicationFile" /></stage><stage stageid="6a1adc28-c08d-44a1-9671-8642f6cb4ce6" name="TableData" type="Data"><display x="-270" y="75" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b1ec321e-c9b2-43f1-9587-0c3a5333fa83" name="Enate::GetCaseProcesses" type="Action"><loginhibit onsuccess="true" /><display x="450" y="345" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="CustomerName" friendlyname="CustomerName" narrative="The Customer Name from the Enate Platform" expr="" /><input type="text" name="ContractName" friendlyname="ContractName" narrative="The Contract Name from the Enate Platform " expr="&quot;Contract1&quot;" /><input type="text" name="ServiceName" friendlyname="ServiceName" narrative="The Service Name from the Enate Platfor" expr="" /><input type="text" name="ProcessName" friendlyname="ProcessName" narrative="The Process Name from the Enate Platform" expr="" /></inputs><outputs><output type="text" name="CaseProcesses" friendlyname="CaseProcesses" narrative="A list of processes which relates to a ProcessInstanceVersion to be used in the Create Case Action" stage="CaseProcesses" /></outputs><resource object="Enate" action="GetCaseProcesses" /></stage><stage stageid="ec541c2f-6361-4787-ad66-dacc2da8f1b4" name="CaseProcesses" type="Data"><display x="375" y="345" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4eb26983-0a5a-4862-b588-6480d6888893" name="Enate::GetCase" type="Action"><loginhibit onsuccess="true" /><display x="30" y="45" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="CaseGUID" friendlyname="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="&quot;86bc10a4-7952-ec11-aa3b-ed05883a145f&quot;" /></inputs><outputs><output type="text" name="CasePacket" friendlyname="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><resource object="Enate" action="GetCase" /></stage><stage stageid="dfe316ad-6fa0-4baa-9ff0-0c6b700282a7" name="Enate::AddDefect" type="Action"><loginhibit onsuccess="true" /><display x="300" y="-30" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="PacketGuid" friendlyname="PacketGuid" narrative="The Packet Guid" expr="&quot;77F6A01D-9ED0-EA11-81D4-001E670A26F9&quot;" /><input type="text" name="DefectCategory1" friendlyname="DefectCategory1" narrative="Defect Category 1" expr="&quot;System&quot;" /><input type="text" name="DefectCategory2" friendlyname="DefectCategory2" narrative="Defect Category 2" expr="&quot;&quot;" /><input type="text" name="DefectCategory3" friendlyname="DefectCategory3" narrative="Defect Category 3" expr="&quot;&quot;" /><input type="text" name="Description" friendlyname="Description" narrative="Description" expr="&quot;Random&quot;" /><input type="number" name="AffectedRecordCount " friendlyname="AffectedRecordCount " narrative="Affected Record Count " expr="1" /><input type="text" name="PartyAtFault" friendlyname="PartyAtFault" narrative="Party At Fault" expr="&quot;Client&quot;" /><input type="flag" name="Resolved" friendlyname="Resolved" narrative="Resolved" expr="True" /><input type="number" name="ProcessType" friendlyname="ProcessType" narrative="Process Type" expr="1" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /></inputs><resource object="Enate" action="AddDefect" /></stage><stage stageid="81a1a1a7-7f07-4302-8a12-df3f079d579e" name="Enate::SetAssignee" type="Action"><loginhibit onsuccess="true" /><display x="300" y="15" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="PacketGUID" friendlyname="PacketGUID" narrative="The unique identifier of the Packet." expr="&quot;df95356f-1251-ec11-aa3b-ed05883a145f&quot;" /><input type="text" name="UserGUID" friendlyname="UserGUID" narrative="User GUID of the User to assign to" expr="&quot;20051505-2bf1-4688-b913-f28a47dace56&quot;" /><input type="text" name="Note" friendlyname="Note" narrative="Note to make during assignment" expr="&quot;test&quot;" /><input type="flag" name="AllowChangingExistingAssignment" friendlyname="AllowChangingExistingAssignment" narrative="Forces the assignment to user if already assigned to another user." expr="True" /></inputs><resource object="Enate" action="SetAssignee" /></stage><stage stageid="d30a9644-34c3-45e4-ba82-c52566d30461" name="Enate::CreateCase" type="Action"><loginhibit onsuccess="true" /><display x="30" y="0" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="ProcessVersionInstanceGUID" friendlyname="ProcessVersionInstanceGUID" narrative="The Guid returned by the Get Case/Ticket Process Action" expr="[CaseContextGUID]" /><input type="text" name="Title" friendlyname="Title" narrative="The title to give to the newly created Case" expr="&quot;case from bp&quot;" /><input type="text" name="ContactsSearch" friendlyname="ContactsSearch" narrative="A list of MultiContactSearch JSON to allow multiple contacts to be searched for and tagged for Case." expr="[Data1]" /><input type="text" name="DataFields" friendlyname="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" friendlyname="Attachments" narrative="a CSV delimited String of Files to attach.  ie C:\test\test.txt,C:\test\test2.txt" expr="" /><input type="text" name="AttachmentsWithTags" friendlyname="AttachmentsWithTags" narrative="a CSV delimited String of Files to attach with tags" expr="" /><input type="text" name="NewPacketCommunication" friendlyname="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="SchedulePeriodGuid" friendlyname="SchedulePeriodGuid" narrative="A SchedulePeriodGuid obtained from the GetSchedulefromCaseAttribute action." expr="" /></inputs><outputs><output type="text" name="CaseGUID" friendlyname="CaseGUID" narrative="Guid which relates to the unique identifier of the newly created Case" stage="" /></outputs><onsuccess>4eb26983-0a5a-4862-b588-6480d6888893</onsuccess><resource object="Enate" action="CreateCase" /></stage><stage stageid="3850ce23-d3fe-4ef9-a291-8c18af52131e" name="Enate::GetTicket" type="Action"><loginhibit onsuccess="true" /><display x="-60" y="0" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="TicketGUID" friendlyname="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="&quot;bbe9b7ff-a9bf-ec11-aa40-b843adc7ceca&quot;" /></inputs><outputs><output type="text" name="TicketPacket" friendlyname="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>ec8c898f-9d3c-4959-9247-be6aaf70f23a</onsuccess><resource object="Enate" action="GetTicket" /></stage><stage stageid="1423089e-ebd7-46e8-8604-b2daacfebca8" name="TicketPacket" type="Data"><display x="-135" y="0" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a55f1ca9-1d75-4d42-873a-7a08db954883" name="Enate::SetTicketStatusMergeInto" type="Action"><loginhibit onsuccess="true" /><display x="-210" y="30" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="TicketPacket" friendlyname="TicketPacket" narrative="The TicketPacket 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="[TicketPacket]" /><input type="text" name="TargetPacketGUIDs" friendlyname="TargetPacketGUIDs" narrative="list of Guid of the ticket to merge with" expr="&quot;[&quot;&quot;dd638d1c-aabf-ec11-aa40-b843adc7ceca&quot;&quot;,&quot;&quot;7bc0ac31-aabf-ec11-aa40-b843adc7ceca&quot;&quot;]&quot;" /></inputs><outputs><output type="text" name="TicketPacket" friendlyname="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a action in the Enate Platform." stage="TicketPacket" /></outputs><resource object="Enate" action="SetTicketStatusMergeInto" /></stage><stage stageid="eb51c48e-8f45-42cf-ad39-94f656847a4c" name="Enate::ExtractCustomTableData" type="Action"><loginhibit onsuccess="true" /><display x="-210" y="75" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="PacketGUID" friendlyname="PacketGUID" narrative="The Guid returned by the get more work" expr="&quot;6ee172e0-f38c-ec11-81f2-001e670a26f9&quot;" /><input type="number" name="PacketType" friendlyname="PacketType" narrative="Type of the packet . Case/Ticket/Action" expr="3" /><input type="text" name="TableName" friendlyname="TableName" narrative="name of the table to be extracted" expr="&quot;GlobalTable&quot;" /></inputs><outputs><output type="text" name="TableData" friendlyname="TableData" narrative="Json array containing all the table rows" stage="TableData" /></outputs><resource object="Enate" action="ExtractCustomTableData" /></stage><stage stageid="ec8c898f-9d3c-4959-9247-be6aaf70f23a" name="Enate::CreateSubCase" type="Action"><loginhibit onsuccess="true" /><display x="-60" y="60" /><inputs><input type="text" name="URL" friendlyname="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" friendlyname="Token" narrative="the authentication token as acquired from the Enate Authenticate Action" expr="[Token]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="CaseGuid" friendlyname="CaseGuid" narrative="A guid from a Case object" expr="&quot;116d4983-eabe-ec11-aa40-b843adc7ceca&quot;" /><input type="text" name="CaseAttributeGUID" friendlyname="CaseAttributeGUID" narrative="A guid returned from the Get Case Attribute Action" expr="&quot;51bbef00-933c-4a50-b6bc-e4bd47842688&quot;" /><input type="text" name="ProcessVersionInstanceGUID" friendlyname="ProcessVersionInstanceGUID" narrative="A Guid returned from get case process (set value if case should be independent)" expr="" /><input type="text" name="Title" friendlyname="Title" narrative="The title to give to the newly created Sub Case" expr="&quot;case sub new&quot;" /><input type="flag" name="Independent" friendlyname="Independent" narrative="is this an independent case. " expr="False" /><input type="text" name="SchedulePeriodGUID" friendlyname="SchedulePeriodGUID" narrative="A guid of the schedule" expr="" /><input type="datetime" name="OverrideDueDate" friendlyname="OverrideDueDate" narrative="Due Date of the case" expr="" /><input type="number" name="CopyWorkItemDataType" friendlyname="CopyWorkItemDataType" narrative="Copy Work Item Data Type" expr="" /></inputs><outputs><output type="text" name="SubCaseResult" friendlyname="SubCaseResult" narrative="Packet of  the newly created Sub Case" stage="SubCaseResult" /></outputs><onsuccess>229a20a2-f27e-4597-b70d-4f5be8c85825</onsuccess><resource object="Enate" action="CreateSubCase" /></stage><stage stageid="10c8441e-d808-4268-84f2-d9a036e9942c" name="SubCaseResult" type="Data"><display x="-135" y="60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c9bef8b5-ae17-4cbc-a27b-519506c7d0cf" name="Action1" type="Action"><loginhibit onsuccess="true" /><display x="-465" y="-75" /><resource object="" action="" /></stage><stage stageid="f312c443-d060-404c-b182-fc7b086cbd4b" name="Action2" type="Action"><loginhibit onsuccess="true" /><display x="-285" y="120" /><resource object="" action="" /></stage></process></process>
        <process id="f60e3b82-0f0a-4a85-ba53-f7980a2739dc" name="Test Enate - Basic GetWork to Update Action" xmlns="http://www.blueprism.co.uk/product/process"><process name="Test Enate - Basic GetWork to Update Action" version="1.0" bpversion="7.0.1.49890" 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"><display x="15" y="-105" /><onsuccess>c69040c6-0793-4268-b9de-ee73672604a4</onsuccess></stage><stage stageid="7a2be221-c6df-4bc2-9321-5f1dd394a621" name="End" type="End"><display x="15" y="180" /></stage><stage stageid="b68abe1e-fea9-437a-8539-64880ca0195c" name="Stage1" type="ProcessInfo"><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="c69040c6-0793-4268-b9de-ee73672604a4" name="Authenticate" type="Action"><display x="15" y="-45" /><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"><display x="135" y="-45" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a23fb36b-eadd-464c-8852-71f172ec2a68" name="URL" type="Data"><display x="-60" y="-105" /><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"><display x="-60" y="-75" /><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"><display x="-60" y="-45" /><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"><display x="15" y="15" /><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"><display x="135" y="15" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b0f35943-5b8e-4b99-8f27-9af6597dc0e4" name="Have Work" type="Decision"><display x="15" y="75" /><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"><display x="105" y="135" /><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"><display x="180" y="135" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ee899fc6-99b1-49ba-bc68-ada72c09f43c" name="End1" type="End"><display x="-150" y="405" /></stage><stage stageid="7db19fe9-fe4e-4018-914f-48ee412d4e77" name="Update Action" type="Action"><display x="105" y="255" /><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"><display x="105" y="75" /><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"><display x="195" y="75" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c17a4470-e673-40e8-8611-9e3fab4dabf0" name="Set Status to 3" type="Action"><display x="105" y="195" /><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"><display x="105" y="315" /><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"><display x="180" y="315" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8e426bce-55cc-47fc-80d6-2a98e76bde49" name="Work Available" type="Decision"><display x="-150" y="315" /><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="7.0.1.49890" narrative="" byrefcollection="true"><view><camerax>66</camerax><cameray>0</cameray><zoom version="2">1.875</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="4840cf5d-94ed-43f0-8dd9-da9b65ce8ac8" name="Stage1" type="ProcessInfo"><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="e765c773-9983-44ca-a89e-78a4b46eb9fb" name="End" type="End"><display x="15" y="315" /></stage><stage stageid="cf952d32-a17f-4ef7-a9c8-43507bc78003" name="Start" type="Start"><display x="15" y="-135" /><onsuccess>91e7ddb0-abd0-47c1-a84a-ba1b5b4fe44a</onsuccess></stage><stage stageid="91e7ddb0-abd0-47c1-a84a-ba1b5b4fe44a" name="Authenticate" type="Action"><display x="15" y="-75" /><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"><display x="135" y="-75" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d04c0a24-ffd1-45b8-8cbe-ebc80689c79c" name="URL" type="Data"><display x="-60" y="-135" /><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"><display x="-60" y="-105" /><datatype>text</datatype><initialvalue xml:space="preserve">mark</initialvalue><private /><alwaysinit /></stage><stage stageid="ccd6d046-3ec7-4a7e-af61-afff691c1e80" name="Password" type="Data"><display x="-60" y="-75" /><datatype>password</datatype><initialvalueenc>4,27,21,68,8,116,69,87,114,65,65</initialvalueenc><private /><alwaysinit /></stage><stage stageid="f3ce6cfd-3569-4362-afca-33f33d81f633" name="Get Case Context" type="Action"><display x="15" y="-15" /><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"><display x="15" y="45" /><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"><display x="15" y="105" /><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"><display x="15" y="165" /><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"><display x="105" y="-15" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="495fce7e-1684-4ea3-8c8d-fdc6a508b74d" name="NewCaseGUID" type="Data"><display x="90" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5fd844c0-3bce-4843-84d3-b92f611d4e99" name="CasePacket" type="Data"><display x="90" y="105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ec0f8f7d-8ec8-436d-9622-edddc624db99" name="Get Case Context" type="Action"><display x="15" y="210" /><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"><display x="90" y="210" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e8d18a98-f70b-4384-99ed-4711f52fdc75" name="Create Sub Case" type="Action"><display x="15" y="255" /><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"><display x="90" y="255" /><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="7.0.1.49890" 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"><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="cfe6a040-939b-43b7-a89e-26f25d4882ee" name="Start" type="Start"><display x="15" y="-105" /><onsuccess>2597943e-def4-483c-bcb6-5a95ee2b2f68</onsuccess></stage><stage stageid="acddf8a5-8508-4fa2-8abd-b3cebf8cf3bd" name="End" type="End"><display x="15" y="180" /></stage><stage stageid="2597943e-def4-483c-bcb6-5a95ee2b2f68" name="Authenticate" type="Action"><display x="15" y="-45" /><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"><display x="135" y="-45" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9bb18276-eb83-4b2d-9501-4b634a320881" name="URL" type="Data"><display x="-60" y="-105" /><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"><display x="-60" y="-75" /><datatype>text</datatype><initialvalue xml:space="preserve">Robot1</initialvalue><private /><alwaysinit /></stage><stage stageid="d8ad0c77-7063-4c27-958a-8670bdcf665f" name="Password" type="Data"><display x="-60" y="-45" /><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"><display x="15" y="15" /><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"><display x="135" y="15" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="15fd8be9-a8c9-444e-ab4e-f4949c00a1ed" name="Have Work" type="Decision"><display x="15" y="75" /><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"><display x="105" y="255" /></stage><stage stageid="b942d336-218d-479d-8885-fed586f1075a" name="GetWorkPacketGUID" type="Action"><display x="105" y="75" /><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"><display x="195" y="75" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a402b27d-b461-4d3a-ae12-130ce2bd1c1f" name="Add Packet Comms" type="Action"><display x="105" y="135" /><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"><display x="180" y="135" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1ad7bc72-1637-4bed-ab2f-4d1ae0a43876" name="Send Email Comms" type="Action"><display x="105" y="195" /><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="7.0.1.49890" 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"><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="1570c863-f832-471c-bfa0-2d4be536aea1" name="Start" type="Start"><display x="15" y="-105" /><onsuccess>15294a2e-c869-45b5-a7a9-861a322a4121</onsuccess></stage><stage stageid="db3bdac0-fb95-4635-b33e-720d61cc222f" name="End" type="End"><display x="15" y="180" /></stage><stage stageid="15294a2e-c869-45b5-a7a9-861a322a4121" name="Authenticate" type="Action"><display x="15" y="-45" /><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"><display x="135" y="-45" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="38783056-f783-4ece-ad03-7c3e38554784" name="URL" type="Data"><display x="-60" y="-105" /><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"><display x="-60" y="-75" /><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"><display x="-60" y="-45" /><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"><display x="15" y="15" /><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"><display x="135" y="15" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="90bbfb43-46ad-4dd3-a1a8-b0f6858e63f2" name="Have Work" type="Decision"><display x="15" y="75" /><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"><display x="105" y="135" /><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"><display x="180" y="135" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4786e660-9f81-4f4a-81bd-68c204df3846" name="End1" type="End"><display x="105" y="555" /></stage><stage stageid="1b22042c-232c-48f8-be0a-13a998ea2d7c" name="Update Action" type="Action"><display x="105" y="315" /><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"><display x="105" y="75" /><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"><display x="195" y="75" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d4312ba9-d0e4-42bb-b361-1625a8ed8721" name="Set Status to 3" type="Action"><display x="105" y="255" /><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"><display x="105" y="195" /><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"><display x="105" y="375" /><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"><display x="105" y="435" /><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"><display x="180" y="435" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6c5420fa-c866-47a3-b691-0fe546987b75" name="SaveFile" type="Action"><display x="105" y="495" /><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="7.0.1.49890" 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"><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="c0c16760-5436-46eb-9801-ba897e9bc588" name="Start" type="Start"><display x="15" y="-105" /><onsuccess>a4119ab6-e045-4567-b19e-20d01e578b73</onsuccess></stage><stage stageid="7c2239f9-6990-4088-9e14-6b1fe648898e" name="End" type="End"><display x="15" y="180" /></stage><stage stageid="a4119ab6-e045-4567-b19e-20d01e578b73" name="Authenticate" type="Action"><display x="15" y="-45" /><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"><display x="135" y="-45" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="eff69495-9526-495b-ac62-b38bc51afcbc" name="URL" type="Data"><display x="-60" y="-105" /><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"><display x="-60" y="-75" /><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"><display x="-60" y="-45" /><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"><display x="15" y="15" /><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"><display x="135" y="15" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4f27724f-3d58-4023-8c97-20bd7d6041ec" name="Have Work" type="Decision"><display x="15" y="75" /><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"><display x="105" y="180" /></stage><stage stageid="ab871e11-0656-4a51-91ce-1a0f196fdd38" name="GetWorkPacketGUID" type="Action"><display x="105" y="75" /><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"><display x="195" y="75" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0e8caad9-cdb7-4bd2-846a-d2319540943c" name="Reject Work" type="Action"><display x="105" y="135" /><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="7.0.1.49890" narrative="" byrefcollection="true"><view><camerax>57</camerax><cameray>168</cameray><zoom version="2">1.25</zoom></view><preconditions /><endpoint narrative="" /><stage stageid="b1499dff-4f7e-490c-b11e-b3e7cd3bd7de" name="End" type="End"><display x="15" y="330" /></stage><stage stageid="062d5b20-9d49-4579-be19-76dedb86b7ee" name="Stage1" type="ProcessInfo"><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="f2046afb-dc74-42b6-89c1-e6fad1e4c911" name="Start" type="Start"><display x="15" y="-105" /><onsuccess>16b5087e-f121-4744-9dc0-002ef3f3cc39</onsuccess></stage><stage stageid="16b5087e-f121-4744-9dc0-002ef3f3cc39" name="Authenticate" type="Action"><display x="15" y="-45" /><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"><display x="135" y="-45" w="150" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2a971692-f233-49fb-bd8f-4a710e8c7e5c" name="URL" type="Data"><display x="-60" y="-105" /><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"><display x="-60" y="-75" /><datatype>text</datatype><initialvalue xml:space="preserve">mark</initialvalue><private /><alwaysinit /></stage><stage stageid="3755f369-6482-444f-a4ad-a08ef73ec648" name="Password" type="Data"><display x="-60" y="-45" /><datatype>password</datatype><initialvalueenc>4,27,21,68,8,116,69,87,114,65,65</initialvalueenc><private /><alwaysinit /></stage><stage stageid="dd6396fa-6e36-4d07-9065-265886b45c36" name="Get Ticket Context" type="Action"><display x="15" y="15" /><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;uiPath Test Ticket&quot;" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /></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"><display x="90" y="15" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7d82bec4-4a69-4c3a-a9e0-9383b614f6d9" name="Get Ticket Attribute" type="Action"><display x="15" y="75" /><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"><display x="90" y="75" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d640797c-8a3f-487b-b039-494a35ad4cf9" name="Create Ticket" type="Action"><display x="15" y="135" /><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 file tags&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;: false,&quot;&quot;OriginalRequesterTag&quot;&quot;: true, &quot;&quot;PrimaryContactTag&quot;&quot;: true,&quot;&quot;RequesterTag&quot;&quot;: true, &quot;&quot;SubjectTag&quot;&quot;: true,&quot;&quot;UserTag&quot;&quot;:&quot;&quot;ContactTest,NewContact,NewContact1,New&quot;&quot;}]&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="" /><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]" /><input type="text" name="ProxyAddress" friendlyname="ProxyAddress" narrative="Address of Proxy Server" expr="" /><input type="text" name="ProxyUsername" friendlyname="ProxyUsername" narrative="Username credential for Proxy Server" expr="" /><input type="password" name="ProxyPassword" friendlyname="ProxyPassword" narrative="Password credential for Proxy Server" expr="" /><input type="text" name="AttachmentsWithTags" friendlyname="AttachmentsWithTags" narrative="a CSV delimited String of Files to attach with tags" expr="&quot;[{&quot;&quot;FilePath&quot;&quot;:&quot;&quot;C:\\Users\\vidya.sagar\\OneDrive - Enate\\Desktop\\New folder\\Newtext.txt&quot;&quot;,&quot;&quot;FileTags&quot;&quot;: &quot;&quot;RPA,AA&quot;&quot;},{&quot;&quot;FilePath&quot;&quot;:&quot;&quot;C:\\Users\\vidya.sagar\\OneDrive - Enate\\Desktop\\New folder\\sample.txt&quot;&quot;,&quot;&quot;FileTags&quot;&quot;: &quot;&quot;RPA&quot;&quot;}]&quot;" /></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"><display x="90" y="135" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fad1b308-f9fe-4f84-8676-3d6733ad9e7e" name="Get Ticket" type="Action"><display x="15" y="195" /><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"><display x="90" y="195" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e05cc027-df58-4339-bb37-98b47a7373ec" name="Update Ticket" type="Action"><display x="15" y="255" /><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"><display x="-75" y="120" /><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"><display x="-75" y="165" /><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="7.0.1.49890" 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>283</camerax><cameray>-56</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>283</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>283</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>283</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>283</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>11</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>283</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>157</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><subsheet subsheetid="dea42876-c014-4c56-9d30-a60593e25ae3" type="Normal" published="True"><name>GetContactTags</name><view><camerax>95</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="6f3db5a0-ed94-4343-80dc-04cf7beaf48c" type="Normal" published="True"><name>GetContactTag</name><view><camerax>0</camerax><cameray>2</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="3f9cdc8a-75e0-475d-b778-4daf7e7844bd" type="Normal" published="True"><name>GetFileTags</name><view><camerax>283</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="a1fe531d-af49-47ad-905c-51673a496f6c" type="Normal" published="True"><name>GetFileTag</name><view><camerax>283</camerax><cameray>2</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b" type="Normal" published="True"><name>GetLaunchableActions</name><view><camerax>42</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="268b6b10-84ac-43d5-9180-a9e6af490d14" type="Normal" published="True"><name>LaunchAdhocAction</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="6bc6f8ba-11d6-41d8-b4e2-a937d5916169" type="Normal" published="True"><name>GetScheduleFromCaseAttribute</name><view><camerax>42</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb" type="Normal" published="True"><name>AttachFile</name><view><camerax>0</camerax><cameray>-70</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2" type="Normal" published="True"><name>GetCommunication</name><view><camerax>0</camerax><cameray>2</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="12745a5a-83eb-4f0a-81e3-47b7c22bb727" type="Normal" published="True"><name>GetCommunications</name><view><camerax>0</camerax><cameray>2</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="08cfd3f0-3257-45d5-88bc-4464ff2a9e78" type="Normal" published="True"><name>SaveCommunicationFile</name><view><camerax>0</camerax><cameray>2</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="e6a514a7-c456-4359-93a2-0947c88c4f2f" type="Normal" published="True"><name>GetCaseProcesses</name><view><camerax>0</camerax><cameray>105</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="1fb921f7-a464-489d-8022-554ed9efd1e8" type="Normal" published="True"><name>ExtractCustomTableData</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="4202e2be-d757-495d-8f8f-b5e222c0b128" type="Normal" published="True"><name>CollectionToString</name><view><camerax>0</camerax><cameray>-21</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="bb57a0b9-05e4-4765-9be1-8327b6db960b" type="Normal" published="False"><name>SetCaseStatusInProgress</name><view><camerax>283</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="f074ec50-f217-4cdc-b6f8-c35c5bb40632" type="Normal" published="False"><name>SetCaseStatusToDo</name><view><camerax>283</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="e94e276f-ce32-4bc4-957f-003e7f4b942c" type="Normal" published="False"><name>SetCaseStatusResolved</name><view><camerax>283</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="6ec76db3-6823-450f-8748-ab76398b1521" type="Normal" published="False"><name>SetCaseStatusAbort</name><view><camerax>283</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4" type="Normal" published="False"><name>SetCaseStatusWaiting</name><view><camerax>283</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="f99b0086-28ed-4085-92b6-479bdb291aa3" type="Normal" published="True"><name>SetTicketStatusInProgress</name><view><camerax>0</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="1550c4eb-d0d4-4d00-bd01-9b27402ee763" type="Normal" published="True"><name>SetTicketStatusToDo</name><view><camerax>37</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="99af1507-c61f-4ab3-9872-1688474eec9d" type="Normal" published="True"><name>SetTicketStatusReject</name><view><camerax>37</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="dc47c7f2-9c40-42cb-b31f-d695dde83a34" type="Normal" published="True"><name>SetTicketStatusRejectAsSpam</name><view><camerax>37</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="9f23ad02-c07a-4ab8-a737-aeb38df237f4" type="Normal" published="True"><name>SetTicketStatusResolveDueToNoResponse</name><view><camerax>37</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="d35ea78b-a219-42bc-b651-d40e17bfef1c" type="Normal" published="True"><name>SetActionStatusInProgress</name><view><camerax>37</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1" type="Normal" published="True"><name>SetActionStatusToDo</name><view><camerax>37</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="2270d87d-241b-4b8e-b9b4-98ea8ad2ca68" type="Normal" published="True"><name>SetActionStatusResolveSuccessfully</name><view><camerax>37</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="bcf6edc5-9a60-4231-95cb-49c05c6a7a60" type="Normal" published="True"><name>SetActionStatusResolveUnSuccessfully</name><view><camerax>37</camerax><cameray>-42</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="9750d7d7-e236-4f1a-815a-8a88a567ee67" type="Normal" published="True"><name>SetActionStatusWaiting</name><view><camerax>167</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="75a3d7df-71ec-4d39-a85e-8a085de34091" type="Normal" published="True"><name>SetTicketStatusLaunchCase</name><view><camerax>167</camerax><cameray>0</cameray><zoom version="2">1.25</zoom></view></subsheet><subsheet subsheetid="dd1fdb04-cd47-4bdc-8091-570563398964" type="Normal" published="True"><name>SetTicketStatusMerge</name><view><camerax>125</camerax><cameray>-63</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe" type="Normal" published="True"><name>SetTicketStatusResolved</name><view><camerax>125</camerax><cameray>-63</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="12644d86-4410-49d6-8294-6301ba523968" type="Normal" published="True"><name>SetTicketStatusMergeInto</name><view><camerax>125</camerax><cameray>-63</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="672ff222-aac0-4e03-80b2-12884c3166d5" type="Normal" published="True"><name>SetTicketStatusSplit</name><view><camerax>125</camerax><cameray>-63</cameray><zoom version="2">1.875</zoom></view></subsheet><subsheet subsheetid="2d4f5c68-e932-419e-abea-f66dcd5ca779" type="Normal" published="True"><name>SetTicketStatusWaiting</name><view><camerax>125</camerax><cameray>-63</cameray><zoom version="2">1.875</zoom></view></subsheet><stage stageid="96b622f8-9799-4fce-ae2e-4a04d82db1e8" name="Start" type="Start"><loginhibit /><display x="15" y="-105" /><onsuccess>9f458305-3961-4e09-b2c2-094db2f2d759</onsuccess></stage><stage stageid="9f458305-3961-4e09-b2c2-094db2f2d759" name="End" type="End"><loginhibit /><display x="15" y="90" /></stage><stage stageid="575cae8e-e9f4-4dba-ad0c-1eaac667107f" name="Stage1" type="ProcessInfo"><display x="-195" y="-105" w="150" h="90" /><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><reference>System.Data.DataSetExtensions.dll</reference><reference>System.Web.Extensions.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,
                              ProcessVersionInstanceGUID As String,
                              Title As String,
                              Independent As Boolean,
                              SchedulePeriodGUID As String,
                              OverrideDueDate As Date,
                              CopyWorkItemDataType As Integer) As String 
        
         
        If Independent = True Then
           Dim createIndependentCaseURL As String = URL + APIBaseURL + "case/create"  
           Dim independentCasePacket = New JObject From {{"CaseAttributeVersionGUID",ProcessVersionInstanceGUID},{"CopyWorkItemDataType",CopyWorkItemDataType},{"Title",Title},{"OverrideDueDate",OverrideDueDate},{"SchedulePeriodGUID",SchedulePeriodGUID},{"LinkToPacketGUID",CaseGuid}}
           Return RESTPOSTAsString(createIndependentCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, independentCasePacket.ToString())           
        Else          
            Dim createSubCaseURL As String = URL + APIBaseURL + "case/LaunchChildCase?caseGUID=" + CaseGuid
            Dim subCasePacket = New JObject From {{"CaseTitle",Title},{"CaseAttributeGUID",CaseAttributeGUID},{"IndependentCase",false},{"OverrideDueDate",OverrideDueDate},{"SchedulePeriodGUID",SchedulePeriodGUID}}
            Return RESTPOSTAsString(createSubCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, subCasePacket.ToString())
        End If
    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(),
                           AttachmentsWithTags As String,
                           NewPacketCommunication As String,
                           DataFields As String,
                           SchedulePeriodGuid As String) As String

		'Create new case
		Dim NewCaseRequest As String = "{""CaseAttributeVersionGUID"":""" + ProcessVersionInstanceGUID + """}"
		Dim createCaseURL As String = PlatformURL + APIBaseURL + "case/create"
		Dim newCaseJSON As String = RESTPOSTAsString(createCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, NewCaseRequest)

        'parse the Json and grab the GUID
        Dim newCaseObject As JObject = JObject.Parse(newCaseJSON)
        Dim newCaseGUID As String = newCaseObject("Result")("GUID").Value(Of String)

		'Get and update the created Case with details
        Dim getCaseURL As String = PlatformURL + APIBaseURL + "case/get?caseGUID=" + newCaseGUID
        Dim caseJSON As String = RESTGETAsString(getCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        Dim caseObject As JObject = JObject.Parse(caseJSON)
        
        Dim files As JArray = New JArray

		'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 contactResults As String = GetContactResults(PlatformURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, searchRequestJSON, newCaseGUID)
					Dim contactApiResultArray As JArray = JArray.Parse(contactResults)
					
                    'add the tags as requested.
                    If contactApiResultArray.Count > 0  Then
                        Dim ContactTags As JArray = New JArray()
						Dim userTag As String

						If SearchItem.ContainsKey("UserTag") Then
							userTag = SearchItem("UserTag").Value(Of String)
						Else
							userTag = Nothing
						End If

                        If SearchItem.ContainsKey("OriginalRequesterTag") Then
							If SearchItem("OriginalRequesterTag").Value(Of Boolean) Then
								ContactTags.Add(New JObject From {{"Guid", OriginalRequesterTagGUID}})
							End If
						End If

						If SearchItem.ContainsKey("PrimaryContactTag") Then
							If SearchItem("PrimaryContactTag").Value(Of Boolean) Then
								ContactTags.Add(New JObject From {{"Guid", PrimaryContactTagGUID}})
							End If
						End If

						If SearchItem.ContainsKey("RequesterTag") Then
							If SearchItem("RequesterTag").Value(Of Boolean) Then
								ContactTags.Add(New JObject From {{"Guid", RequesterTagGUID}})
							End If
						End If 

						If SearchItem.ContainsKey("SubjectTag") Then
							If SearchItem("SubjectTag").Value(Of Boolean) Then
								ContactTags.Add(New JObject From {{"Guid", SubjectTagGUID}})
							End If
						End If

						If SearchItem.ContainsKey("CCTag") Then
							If SearchItem("CCTag").Value(Of Boolean) Then
								ContactTags.Add(New JObject From {{"Guid", CCTagGUID}})
							End If
						End If

                        If Not String.IsNullOrEmpty(userTag)
                           Dim contactTagsArray As String() = userTag.Split(",")
                            If contactTagsArray.Count > 0 Then
                                Dim getContactTagsURL As String = PlatformURL + APIBaseURL + "ContactTagConfiguration/GetAll"
                                Dim jsonTagsResult As String = RESTGETAsString(getContactTagsURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)

                                Dim tagsArray As JArray = JArray.Parse(jsonTagsResult)
                                For Each tag As String In contactTagsArray
                                    If tag IsNot Nothing Then
                                        For Each tagWithGuid As JObject In tagsArray
                                            If tag.Contains(tagWithGuid("Name").Value(Of String)) Then
                                                ContactTags.Add(New JObject From {{"Guid", tagWithGuid("GUID").Value(Of String)}})
                                                Exit For
                                            End If
                                        Next
                                    End If
                                Next
                            End If
                        End If
                        Dim Contacts As JArray = caseObject("Contacts")
                        Contacts.Add(New JObject From {{"Guid", contactApiResultArray(0)("UserGUID")}, {"Tags", ContactTags}})
                        caseObject("Contacts") = Contacts
                    End If
                Catch ex As Exception
                    Throw New Exception(ex.ToString)
                End Try
            Next
        End If
        caseObject("Title") = Title
        caseObject("Description") = Title

        '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 Attachments IsNot Nothing AndAlso Attachments.Count(Function(x) x.Trim <> "") > 0 Then
            For Each pathOfFile As String In Attachments
              files.Add(New JObject From {
                       {"Filename", Path.GetFileName(pathOfFile)},
                       {"Data", GetBinaryFileData(pathOfFile)}
               })
            Next
        End If

        If Not String.IsNullOrEmpty(AttachmentsWithTags) Then
           Dim AttachmentsWithTagsArray As JArray = JArray.Parse(AttachmentsWithTags)
           Dim getFileTagsURL As String = PlatformURL + APIBaseURL + "FileTagConfiguration/GetAll"
           Dim jsonTagsResult As String = RESTGETAsString(getFileTagsURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
           Dim tagsArray As JArray = JArray.Parse(jsonTagsResult)
            For Each Item As JObject In AttachmentsWithTagsArray
              Dim FilePath = Item("FilePath").Value(Of String)
              Dim fileTagsArray As String()= Item("FileTags").Value(Of String).Split(",") 
              Dim FileTags As JArray = New JArray             
               If fileTagsArray.Count > 0 Then                 
                 For Each tag As String In fileTagsArray
                    If tag IsNot Nothing Then
                        For Each tagWithGuid As JObject In tagsArray
                            If tag.Contains(tagWithGuid("Name").Value(Of String)) Then
                                 FileTags.Add(New JObject From {{"Guid", tagWithGuid("GUID").Value(Of String)}})
                                 Exit For
                            End If
                        Next
                    End If
                 Next
               End If
               
               files.Add(New JObject From {
                       {"Filename", Path.GetFileName(FilePath)},
                       {"Tags", FileTags},
                       {"Data", GetBinaryFileData(FilePath)}
               })
            Next
             caseObject("Files")= files
        End If

		'Add communication to the case
		Dim addPacketCommunicationURL As String = PlatformURL + APIBaseURL + "PacketCommunication/AddPacketCommunication?packetGUID=" + newCaseGUID
        If NewPacketCommunication <> "" Then RESTPOSTAsString(addPacketCommunicationURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, NewPacketCommunication)

        If DataFields <> "" Then caseObject("DataFields") = JObject.Parse(DataFields)
        If SchedulePeriodGuid <> "" Then caseObject("SchedulePeriodGUID") = Guid.Parse(SchedulePeriodGUID)

        'Update the case on server
        Dim updateCaseURL As String = PlatformURL + APIBaseURL + "case/SetToDo"
        RESTPOSTAsString(updateCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, caseObject.ToString())
  
        Return newCaseGUID
    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(),
                             AttachmentsWithTags As String,
                             NewPacketCommunication As String,
                             DataFields As String) As String
		
		Dim ticketContacts As JArray = New JArray
        Dim ticketFiles As JArray = New JArray
        
        Dim files As JArray = New JArray
        'Create the ticket
		Dim NewTicketAttribute = New JObject From {{"GUID", TicketAttributeGUID}}
		Dim NewPacketRequest = New JObject From {{"TicketCategoryAttribute", NewTicketAttribute}, {"TicketAttributeVersionGUID",ProcessVersionInstanceGUID}}
		Dim createPacketURL As String = PlatformURL + APIBaseURL + "ticket/create"
		Dim newPacketJSON As String = RESTPOSTAsString(createPacketURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, NewPacketRequest.ToString())

        'parse and grab the GUID
        Dim ticketObject As JObject = JObject.Parse(newPacketJSON)("Result")
        Dim newPacketGUID As String = ticketObject("GUID").Value(Of String)
		
		'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 contactResults As String = GetContactResults(PlatformURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, searchRequestJSON, newPacketGUID)
				Dim contactApiResultArray As JArray = JArray.Parse(contactResults)

                'add the tags as requested.
                If contactApiResultArray.Count > 0 Then
                    Dim ContactTags As JArray = New JArray
					Dim userTag As String
					
					If SearchItem.ContainsKey("UserTag") Then
						userTag = SearchItem("UserTag").Value(Of String)
					Else
						userTag = Nothing
					End If
					
					If SearchItem.ContainsKey("OriginalRequesterTag") Then
						If SearchItem("OriginalRequesterTag").Value(Of Boolean) Then
							ContactTags.Add(New JObject From {{"Guid", OriginalRequesterTagGUID}})
						End If
					End If

					If SearchItem.ContainsKey("PrimaryContactTag") Then
						If SearchItem("PrimaryContactTag").Value(Of Boolean) Then
							ContactTags.Add(New JObject From {{"Guid", PrimaryContactTagGUID}})
						End If
					End If

					If SearchItem.ContainsKey("RequesterTag") Then
						If SearchItem("RequesterTag").Value(Of Boolean) Then
							ContactTags.Add(New JObject From {{"Guid", RequesterTagGUID}})
						End If
					End If 

					If SearchItem.ContainsKey("SubjectTag") Then
						If SearchItem("SubjectTag").Value(Of Boolean) Then
							ContactTags.Add(New JObject From {{"Guid", SubjectTagGUID}})
						End If
					End If

					If SearchItem.ContainsKey("CCTag") Then
						If SearchItem("CCTag").Value(Of Boolean) Then
							ContactTags.Add(New JObject From {{"Guid", CCTagGUID}})
						End If
                   End If
					
					If Not String.IsNullOrEmpty(userTag)
                           Dim contactTagsArray As String() = userTag.Split(",")
                            If contactTagsArray.Count > 0 Then
                                Dim getContactTagsURL As String = PlatformURL + APIBaseURL + "ContactTagConfiguration/GetAll"
                                Dim jsonTagsResult As String = RESTGETAsString(getContactTagsURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)

                                Dim tagsArray As JArray = JArray.Parse(jsonTagsResult)
                                For Each tag As String In contactTagsArray
                                    If tag IsNot Nothing Then
                                        For Each tagWithGuid As JObject In tagsArray
                                            If tag.Contains(tagWithGuid("Name").Value(Of String)) Then
                                                ContactTags.Add(New JObject From {{"Guid", tagWithGuid("GUID").Value(Of String)}})
                                                Exit For
                                            End If
                                        Next
                                    End If
                                Next
                            End If
                        End If
              
                    Dim Contacts As JArray = ticketObject("Contacts")
                    Contacts.Add(New JObject From {{"GUID",contactApiResultArray(0)("UserGUID")},{"Tags",ContactTags}})
                    ticketContacts = Contacts
                End If
            Catch ex As Exception
                'ignore, might be old version that doesn't have permission to search contacts
            End Try
        Next

		'If Attachments IsNot Nothing AndAlso Attachments.Count(Function(x) x.Trim <> "") > 0 Then ticketFiles = New JArray From {Attachments.Select(Function(FileName) GetNewFileJSON(FileName))}
        If Attachments IsNot Nothing AndAlso Attachments.Count(Function(x) x.Trim <> "") > 0 Then
            For Each pathOfFile As String In Attachments
              files.Add(New JObject From {
                       {"Filename", Path.GetFileName(pathOfFile)},
                       {"Data", GetBinaryFileData(pathOfFile)}
               })
            Next
        End If

        If Not String.IsNullOrEmpty(AttachmentsWithTags) Then
           Dim AttachmentsWithTagsArray As JArray = JArray.Parse(AttachmentsWithTags)
           Dim getFileTagsURL As String = PlatformURL + APIBaseURL + "FileTagConfiguration/GetAll"
           Dim jsonTagsResult As String = RESTGETAsString(getFileTagsURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
           Dim tagsArray As JArray = JArray.Parse(jsonTagsResult)
            For Each Item As JObject In AttachmentsWithTagsArray
              Dim FilePath = Item("FilePath").Value(Of String)
              Dim fileTagsArray As String()= Item("FileTags").Value(Of String).Split(",") 
              Dim FileTags As JArray = New JArray             
               If fileTagsArray.Count > 0 Then                 
                 For Each tag As String In fileTagsArray
                    If tag IsNot Nothing Then
                        For Each tagWithGuid As JObject In tagsArray
                            If tag.Contains(tagWithGuid("Name").Value(Of String)) Then
                                 FileTags.Add(New JObject From {{"Guid", tagWithGuid("GUID").Value(Of String)}})
                                 Exit For
                            End If
                        Next
                    End If
                 Next
               End If
               
               files.Add(New JObject From {
                       {"Filename", Path.GetFileName(FilePath)},
                       {"Tags", FileTags},
                       {"Data", GetBinaryFileData(FilePath)}
               })
            Next
             ticketFiles = files
        End If
		
		'Add communication to the ticket
		Dim addPacketCommunicationURL As String = PlatformURL + APIBaseURL + "PacketCommunication/AddPacketCommunication?packetGUID=" + newPacketGUID
		If NewPacketCommunication <> "" Then RESTPOSTAsString(addPacketCommunicationURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, NewPacketCommunication)

		'Get and update the created Ticket
		Dim getCaseURI As String = PlatformURL + APIBaseURL + "ticket/get?ticketGUID=" + newPacketGUID
		Dim ticketJSON = RESTGETAsString(getCaseURI, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        Dim createdTicketObject As JObject = JObject.Parse(ticketJSON)

		createdTicketObject("Title") = Title
        createdTicketObject("Description") = Title
		createdTicketObject("Files") = ticketFiles
		createdTicketObject("Contacts") = ticketContacts
		If DataFields <> "" Then createdTicketObject("DataFields") = JObject.Parse(DataFields)
        

        'Update the ticket on server
        Dim updateCaseURL As String = PlatformURL + APIBaseURL + "ticket/SetToDo"
        RESTPOSTAsString(updateCaseURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, createdTicketObject.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,
                           ProcessType As Integer)

        '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")
         
        Dim getURL As String = ""
        If ProcessType = 1 Then
           getURL = PlatformURL + APIBaseURL + "Case/Get?caseGUID=" + packetGUID
        ElseIf ProcessType = 2 Then
           getURL = PlatformURL + APIBaseURL + "Ticket/Get?ticketGUID=" + packetGUID
        ElseIf ProcessType = 3 Then
           getURL = PlatformURL + APIBaseURL + "Action/Get?actionGUID=" + packetGUID
        End If

        'API - Get Packet        
        Dim packetJSON As String = RESTGETAsString(getURL, 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?serviceLineGUID=" + packetObject("ServiceLineGUID").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/Update"
            Case "2" 'Ticket
                updateURL = PlatformURL + APIBaseURL + "Ticket/Update"
            Case "3" 'Action
                updateURL = PlatformURL + APIBaseURL + "Action/Update"
        End Select

        Dim newDefect As New JObject From {
        {"DefectPartyAtFaultOption", New JObject From {{"GUID" , selectedParty("GUID")}}},
         {"Description", description},
         {"DefectCategory", New JObject From {{"GUID" , selectedCatGUID}}},
         {"AffectedRecordCount", affectedRecordCount},
         {"Resolved", resolved},
         {"Retired", False}
        }

        DirectCast(packetObject("Defects"), JArray).Add(newDefect)

        RESTPOSTAsString(updateURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, packetObject.ToString())
    End Sub

    Public Function LaunchAdhocAction(URL As String,
                              AuthenticationToken As String,
                              proxyAddress As String,
                              proxyUserName As String,
                              proxyPassword As String,
                              CaseGUID As String,
                              ActionAttributeGUID As String,
                              OverrideDueDate As Date,
                              Instructions As String,
                              LaunchCopies As Integer) As String
        
        Dim dtDate = OverrideDueDate

        If dtDate > Date.MinValue Then
            If dtDate.Year >= Date.Now.Year Then
                If dtDate.Year = Date.Now.Year Then
                    If (dtDate.Day < Date.Now.Day) AndAlso (dtDate.Month < Date.Now.Month) Then
                        Throw New Exception("Incorrect Date/Month")
                    End If
                End If
            Else
                Throw New Exception("Year should be Current Year/greater")
            End If
        End If

        If LaunchCopies <=0 Then
            Throw New Exception("Number of launch copies should be greater than Zero")
        End If

 Dim casePacket As New JObject From {
        {"GUID", CaseGUID},
         {"ActionAttributeGUID", ActionAttributeGUID},
         {"ActionOverrideDueDate", OverrideDueDate},
         {"ActionOverrideInstruction", Instructions},
         {"NumberOfTimesToLaunch", LaunchCopies}
        }
        
        Dim launchAdhocActionURL As String = URL + APIBaseURL + "Case/LaunchAdhocAction"

        Return RESTPOSTAsString(launchAdhocActionURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, casePacket.ToString())

    End Function



    Public Function AttachFile(URL As String,
                              AuthenticationToken As String,
                              proxyAddress As String,
                              proxyUserName As String,
                              proxyPassword As String,
                              PacketGUID As String,
                              TargetPath As String,
                              TargetFileName As String,
                              Note As String,
                              FileTagsArray As String()) As String

                Dim targetFilePath As String = IO.Path.Combine(TargetPath, TargetFileName)
                Dim fileTags As JArray = New JArray
                Dim getFileTagsURL As String = URL + APIBaseURL + "FileTagConfiguration/GetAll"
                Dim fileTagsResultJSON As String = RESTGETAsString(getFileTagsURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)

                Dim fileTagsResultArray As JArray = JArray.Parse(fileTagsResultJSON)


            For Each value As String In FileTagsArray
                If value IsNot Nothing Then
                    For Each tagWithGuid As JObject In fileTagsResultArray
                        If (value.Equals(tagWithGuid("Name").Value(Of String))) Then
                            fileTags.Add(New JObject From {{"FileTagGUID", tagWithGuid("GUID").Value(Of String)}, {"Name", tagWithGuid("Name").Value(Of String)},{"IsHidden",tagWithGuid("IsHidden").Value(Of Boolean)}})                            
                            Exit For
                        End If
                    Next
                End If
            Next

       Dim FileUpdate As JObject = New JObject From {
        {"Filename", TargetFileName},
        {"Note", Note},
        {"Tags",fileTags},
        {"Data", GetBinaryFileData(targetFilePath)}
           }
                Dim getFileAttach As String = URL + APIBaseURL + "Packet/AttachFile?packetGUID=" + PacketGuid
                Return RESTPOSTAsString(getFileAttach, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, FileUpdate.ToString())

   End Function


   Public Function FetchCommunications(URL As String,
                              AuthenticationToken As String,
                              proxyAddress As String,
                              proxyUserName As String,
                              proxyPassword As String,
                              PacketGUID As String,
                              FilterType As String) As String

              Dim returnResult As New JObject
              Dim getCommunicationsURL As String = URL + APIBaseURL + "PacketCommunication/GetCommunications?packetGUID=" + PacketGUID
              Dim jsonResult As String = RESTGETAsString(getCommunicationsURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)                           
              Dim result As String = jsonResult           
              Dim res As JArray = JArray.Parse(jsonResult)
              Dim token As List(Of JToken) = res.ToList
              
              If FilterType IsNot Nothing Then
                 For Each tkn As JObject In token
                   If tkn("TypeDescription").ToString.ToLower.Trim.Equals(FilterType.ToLower.Trim) Then
                   returnResult.Add(tkn)
                   End If
                Next
               result = returnResult.ToString()
              End If
              Return result
   End Function

    Public Sub ChecklistUpdate(URL As String,
                              AuthenticationToken As String,
                              proxyAddress As String,
                              proxyUserName As String,
                              proxyPassword As String,
                              Checklist As String)
        'Get Application Version
		Dim getPlatformConfigurationURI As String = URL + APIBaseURL + "PlatformConfiguration/GetPlatformInformation"
        Dim platformConfigurationJSON = RESTGETAsString(getPlatformConfigurationURI, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        Dim currentApplicationVersion As New Version(JObject.Parse(platformConfigurationJSON)("ApplicationVersion"))
        Dim newAPIApplicationVersion As New Version("2022.2.0.0")
		Dim checklistURI As String = URL + APIBaseURL + "Action/UpdateChecklist"
        Dim response
		If currentApplicationVersion >= newAPIApplicationVersion Then
           response  =  RESTPOSTAsString(checklistURI, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,Checklist) 
        Else
        Dim chckObject As JObject = JObject.Parse(Checklist)
        chckObject("Decision")=chckObject("Result")
          response  =  RESTPOSTAsString(checklistURI, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,chckObject.ToString()) 
        End If       
      End Sub

     Public Sub CommunicationSaveFile(URL As String,
                              AuthenticationToken As String,
                              proxyAddress As String,
                              proxyUserName As String,
                              proxyPassword As String,
                              CommunicationAttachmentGUID As String,
                              TargetPath As String,
                              AllowOverwrite As Boolean)

              Dim targetFilePath As String
              Dim response As HttpResponseMessage
              If String.IsNullOrWhiteSpace(AuthenticationToken) Then
                  Throw New Exception("Authentication Token Required")
              End If
              Dim requestURI As Uri = New Uri(URL+APIBaseURL+"PacketCommunication/GetPacketCommunicationAttachment?packetCommunicationAttachmentGUID="+CommunicationAttachmentGUID+"&forceDownload=true", UriKind.Absolute)
              Using client As HttpClient = CreateHTTPClient(requestURI, authenticationToken, proxyAddress, proxyUserName, proxyPassword)
              response = client.GetAsync(requestURI).Result
              End Using

         If response.IsSuccessStatusCode Then
            IO.Directory.CreateDirectory(TargetPath)
            Dim nameOfFile As String = response.Content.Headers.ContentDisposition.FileNameStar
            If nameOfFile.Contains("-") Then
                nameOfFile = nameOfFile.Replace("-", " ")
            End If
            If nameOfFile.Contains("+") Then
                nameOfFile = nameOfFile.Replace("+", " ")
            End If
            If nameOfFile.Contains("'") Then
                nameOfFile = nameOfFile.Replace("'", " ")
            End If
            If nameOfFile.Contains("/") Then
                nameOfFile = nameOfFile.Replace("/", " ")
            End If
            If nameOfFile.Contains("@") Then
                nameOfFile = nameOfFile.Replace("@", " ")
            End If
            If nameOfFile.Contains("!") Then
                nameOfFile = nameOfFile.Replace("!", " ")
            End If
            If nameOfFile.Contains("_") Then
                nameOfFile = nameOfFile.Replace("_", " ")
            End If
            targetFilePath = IO.Path.Combine(TargetPath, nameOfFile)
            If Not AllowOverwrite AndAlso IO.File.Exists(targetFilePath) Then
                Throw New IO.IOException("File"+ targetFilePath+ "already exists.")
            End If
            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 GetProcesses(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) As String
          
         
          Dim dt As DataTable = New DataTable()         
          Dim filteredTable As DataTable = New DataTable()
            
          dt.Columns.Add("Customers", GetType(String))
          dt.Columns.Add("Contracts", GetType(String))
          dt.Columns.Add("Services", GetType(String))
          dt.Columns.Add("Process", GetType(String))
          dt.Columns.Add("ProcessGuid", GetType(String))
        
          Dim requestURI As Uri = New Uri(URL + APIBaseURL + "packet/GetContexts?processType=Case&forSelfService=false", UriKind.Absolute)
          Using client As HttpClient = CreateHTTPClient(requestURI, authenticationToken, proxyAddress, proxyUserName, proxyPassword)
            Dim messageResult As HttpResponseMessage = client.GetAsync(requestURI).Result
          If messageResult.IsSuccessStatusCode Then
            Dim cats As List(Of ContextCustomerLevel) = JsonConvert.DeserializeObject(Of List(Of ContextCustomerLevel))(messageResult.Content.ReadAsStringAsync.Result)
            For Each cat As ContextCustomerLevel In cats
             For Each contract As ContextContractLevel In cat.Contracts
                For Each service As ContextServiceLevel In contract.Services
                    For Each process As ContextProcessLevel In service.Processes
                        dt.Rows.Add(cat.Name, contract.Name, service.Name, process.Name, process.GUID)
                    Next
                Next
             Next
            Next
            
             
             If Not String.IsNullOrEmpty(CustomerName) Then
                    If Not String.IsNullOrEmpty(ContractName) Then
                        If Not String.IsNullOrEmpty(ServiceName) Then
                            If Not String.IsNullOrEmpty(ProcessName) Then
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Customers") = CustomerName And r.Field(Of String)("Contracts") = ContractName And r.Field(Of String)("Services") = ServiceName And r.Field(Of String)("Process") = ProcessName).CopyToDataTable()
                            Else
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Customers") = CustomerName And r.Field(Of String)("Contracts") = ContractName And r.Field(Of String)("Services") = ServiceName).CopyToDataTable()
                            End If
                        Else
                            If Not String.IsNullOrEmpty(ProcessName) Then
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Customers") = CustomerName And r.Field(Of String)("Contracts") = ContractName And r.Field(Of String)("Process") = ProcessName).CopyToDataTable()
                            Else
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Customers") = CustomerName And r.Field(Of String)("Contracts") = ContractName).CopyToDataTable()
                            End If
                        End If
                    Else
                        If Not String.IsNullOrEmpty(ServiceName) Then
                            If Not String.IsNullOrEmpty(ProcessName) Then
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Customers") = CustomerName And r.Field(Of String)("Services") = ServiceName And r.Field(Of String)("Process") = ProcessName).CopyToDataTable()
                            Else
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Customers") = CustomerName And r.Field(Of String)("Services") = ServiceName).CopyToDataTable()
                            End If
                        Else
                            If Not String.IsNullOrEmpty(ProcessName) Then
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Customers") = CustomerName And r.Field(Of String)("Process") = ProcessName).CopyToDataTable()
                            Else
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Customers") = CustomerName).CopyToDataTable()
                            End If
                        End If
                    End If
                Else
                    If Not String.IsNullOrEmpty(ContractName) Then
                        If Not String.IsNullOrEmpty(ServiceName) Then
                            If Not String.IsNullOrEmpty(ProcessName) Then
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Contracts") = ContractName And r.Field(Of String)("Services") = ServiceName And r.Field(Of String)("Process") = ProcessName).CopyToDataTable()
                            Else
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Contracts") = ContractName And r.Field(Of String)("Services") = ServiceName).CopyToDataTable()
                            End If
                        Else
                            If Not String.IsNullOrEmpty(ProcessName) Then
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Contracts") = ContractName And r.Field(Of String)("Process") = ProcessName).CopyToDataTable()
                            Else
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Contracts") = ContractName).CopyToDataTable()
                            End If
                        End If
                    Else
                        If Not String.IsNullOrEmpty(ServiceName) Then
                            If Not String.IsNullOrEmpty(ProcessName) Then
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Services") = ServiceName And r.Field(Of String)("Process") = ProcessName).CopyToDataTable()
                            Else
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Services") = ServiceName).CopyToDataTable()
                            End If
                        Else
                            If Not String.IsNullOrEmpty(ProcessName) Then
                                filteredTable = dt.AsEnumerable().Where(Function(r) r.Field(Of String)("Process") = ProcessName).CopyToDataTable()
                            Else
                                filteredTable = dt.AsEnumerable().CopyToDataTable()
                            End If
                        End If
                    End If
                End If
             
         Else
                Throw New Exception(messageResult.Content.ReadAsStringAsync.Result)
         End If
        End Using        
          
        Return JSONConvert.SerializeObject(filteredTable)
  End Function

 Public Function ExtractTable(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           PacketGUID As String,
                           PacketType As Integer,
                           TableName As String) As String        
             
        Dim packetURL As String = ""
        Dim tableResult As Object = New Object
        If PacketType = 1 Then
            packetURL = URL + APIBaseURL + "Case/Get?caseGUID=" + PacketGUID
        ElseIf PacketType = 2 Then
           packetURL = URL + APIBaseURL + "Ticket/Get?ticketGUID=" + PacketGUID 
        ElseIf PacketType = 3 Then
            packetURL = URL + APIBaseURL + "Action/Get?actionGUID=" + PacketGUID 
        End If

        If packetURL IsNot Nothing Then
            Dim response As String =  RESTGETAsString(packetURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword) 
            Dim jObj As JObject = JObject.Parse(response)
            tableResult  = jObj("DataFields")(TableName)
        End If
        Return tableResult.ToString()
  End Function

  Public Function CaseStatusInProgress(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           CasePacket As String) As String        
        If String.IsNullOrEmpty(CasePacket) Then Throw New ArgumentNullException("CasePacket")    
        Dim setCaseStatusURL As String = URL + APIBaseURL + "Case/SetInProgress"
        Dim response As String=""
        If setCaseStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setCaseStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,CasePacket)             
        End If
        Return response

  End Function  
  
  Public Function CaseStatusToDo(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           CasePacket As String) As String        
        If String.IsNullOrEmpty(CasePacket) Then Throw New ArgumentNullException("CasePacket")    
        Dim setCaseStatusURL As String = URL + APIBaseURL + "Case/SetToDo"
        Dim response As String=""
        If setCaseStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setCaseStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,CasePacket)             
        End If
        Return response

  End Function

  Public Function CaseStatusResolved(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           CasePacket As String) As String        
        If String.IsNullOrEmpty(CasePacket) Then Throw New ArgumentNullException("CasePacket")    
        Dim setCaseStatusURL As String = URL + APIBaseURL + "Case/SetResolved"
        Dim response As String=""
        If setCaseStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setCaseStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,CasePacket)             
        End If
        Return response

  End Function

  Public Function CaseStatusAbort(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           CasePacket As String) As String        
        If String.IsNullOrEmpty(CasePacket) Then Throw New ArgumentNullException("CasePacket")    
        Dim setCaseStatusURL As String = URL + APIBaseURL + "Case/Abort"
        Dim response As String=""
        If setCaseStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setCaseStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,CasePacket)             
        End If
        Return response

  End Function
  
  Public Function CaseStatusWaiting(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           CasePacket As String,
                           CaseWaitingType As Integer,
                           CaseWaitingReason As Integer,
                           CaseWaitingUntil As Date) As String        
        If String.IsNullOrEmpty(CasePacket) Then Throw New ArgumentNullException("CasePacket")    
        Dim setCaseStatusURL As String = URL + APIBaseURL + "Case/SetWaiting"
        Dim response As String=""
        Dim caseObject As JObject = JObject.Parse(CasePacket)
        caseObject("WaitType")= CaseWaitingType.ToString()
        caseObject("WaitingFor")= CaseWaitingReason.ToString()
        caseObject("ScheduledFollowUpOn")= CaseWaitingUntil
        If setCaseStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setCaseStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,caseObject.ToString())             
        End If
        Return response

  End Function

  Public Function ActionStatusWaiting(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           ActionPacket As String,
                           ActionWaitingType As Integer,
                           ActionWaitingUntil As Date) As String        
        If String.IsNullOrEmpty(ActionPacket) Then Throw New ArgumentNullException("ActionPacket")    
        Dim setActionStatusURL As String = URL + APIBaseURL + "Action/SetWaiting"
        Dim response As String=""
        Dim actionObject As JObject = JObject.Parse(ActionPacket)
        actionObject("WaitType")= ActionWaitingType.ToString()
        actionObject("ScheduledFollowUpOn")= ActionWaitingUntil
        If setActionStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setActionStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,actionObject.ToString())             
        End If
        Return response

  End Function
 
  Public Function ActionStatusInProgress(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           ActionPacket As String) As String        
        If String.IsNullOrEmpty(ActionPacket) Then Throw New ArgumentNullException("ActionPacket")    
        Dim setActionStatusURL As String = URL + APIBaseURL + "Action/SetInProgress"
        Dim response As String=""
        If setActionStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setActionStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,ActionPacket)             
        End If
        Return response

  End Function
  
  Public Function ActionStatusToDo(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           ActionPacket As String) As String        
        If String.IsNullOrEmpty(ActionPacket) Then Throw New ArgumentNullException("ActionPacket")    
        Dim setActionStatusURL As String = URL + APIBaseURL + "Action/SetToDo"
        Dim response As String=""
        If setActionStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setActionStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,ActionPacket)             
        End If
        Return response

  End Function
 
  Public Function ActionStatusResolveSuccessfully(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           ActionPacket As String) As String        
        If String.IsNullOrEmpty(ActionPacket) Then Throw New ArgumentNullException("ActionPacket")    
        Dim setActionStatusURL As String = URL + APIBaseURL + "Action/ResolveSuccessfully"
        Dim response As String=""
        If setActionStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setActionStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,ActionPacket)             
        End If
        Return response

   End Function
 

   Public Function ActionStatusResolveUnsuccessfully(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           ActionPacket As String,
                           Reason As String) As String        
        If String.IsNullOrEmpty(ActionPacket) Then Throw New ArgumentNullException("ActionPacket")  
        If String.IsNullOrEmpty(Reason) Then Throw New ArgumentNullException("Reason")    
        Dim setActionStatusURL As String = URL + APIBaseURL + "Action/ResolveUnsuccessfully"
        Dim response As String=""
        Dim actionObject As JObject = JObject.Parse(ActionPacket)
        actionObject("NotDoneSuccessfullyComment")= Reason.ToString()
        If setActionStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setActionStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,actionObject.ToString())             
        End If
        Return response

   End Function

 
  Public Function TicketStatusInProgress(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")    
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/SetInProgress"
        Dim response As String=""
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketPacket)             
        End If
        Return response

  End Function

  Public Function TicketStatusLaunchCase(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String,
                           CaseAttributeGUID As String,
                           LaunchCaseOverrideDueDate As String,
                           SchedulePeriodGUID As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")    
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/LaunchCase"
        Dim response As String=""
        Dim TicketObject As JObject = JObject.Parse(TicketPacket)
        TicketObject("CaseAttributeGUID")= CaseAttributeGUID
        TicketObject("LaunchCaseOverrideDueDate")= LaunchCaseOverrideDueDate
        TicketObject("SchedulePeriodGUID")= SchedulePeriodGUID
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketObject.ToString())             
        End If
        Return response

  End Function

  Public Function TicketStatusResolved(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String,
                           NewCommunication As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")    
        If String.IsNullOrEmpty(NewCommunication) Then Throw New ArgumentNullException("NewCommunication") 
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/Resolve"
        Dim response As String=""
        Dim TicketObject As JObject = JObject.Parse(TicketPacket)
        TicketObject("NewCommunication")= JObject.Parse(NewCommunication)
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketObject.ToString())             
        End If
        Return response

  End Function

   Public Function TicketStatusSplit(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String,
                           SplitTicket As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")    
        If String.IsNullOrEmpty(SplitTicket) Then Throw New ArgumentNullException("SplitTicket")
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/Split"
        Dim response As String=""
        Dim TicketObject As JObject = JObject.Parse(TicketPacket)
        TicketObject("NewSplitTickets")= JArray.Parse(SplitTicket)
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketObject.ToString())             
        End If
        Return response

  End Function
  
  Public Function TicketStatusMerge(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String,
                           TargetPacketGUID As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")   
        If String.IsNullOrEmpty(TargetPacketGUID) Then Throw New ArgumentNullException("TargetPacketGUID")   
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/Merge"
        Dim response As String=""
        Dim TicketObject As JObject = JObject.Parse(TicketPacket)
        TicketObject("TargetPacketGUID")= TargetPacketGUID
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketObject.ToString())             
        End If
        Return response

  End Function

  Public Function TicketStatusMergeInto(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String,
                           TargetPacketGUIDs As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")  
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/MergeInto"
        Dim response As String=""
        Dim TicketObject As New JObject
        TicketObject("Ticket")= JObject.Parse(TicketPacket)
        TicketObject("TicketGUIDsToMerge")= JArray.Parse(TargetPacketGUIDs)
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketObject.ToString())             
        End If
        Return response

  End Function

  Public Function TicketStatusWaiting(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String,
                           WaitType As Integer,
                           DaysToWaitForMoreInformation As Integer,
                           CloseIfNoResponseReceived As Boolean,
                           WaitForMoreInformationUntil As Date) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")   
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/SetWaiting"
        Dim response As String=""
        Dim TicketObject As JObject = JObject.Parse(TicketPacket)
        TicketObject("WaitType")= WaitType
        TicketObject("DaysToWaitForMoreInformation")= DaysToWaitForMoreInformation
        TicketObject("CloseIfNoResponseReceived")= CloseIfNoResponseReceived
        TicketObject("ScheduledFollowUpOn")= WaitForMoreInformationUntil
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketObject.ToString())             
        End If
        Return response

  End Function
  
  Public Function TicketStatusToDo(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")    
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/SetToDo"
        Dim response As String=""
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketPacket)             
        End If
        Return response

  End Function 
   

   Public Function TicketStatusResolveDueToNoResponse(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")    
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/ResolveDueToNoResponse"
        Dim response As String=""
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketPacket)             
        End If
        Return response

  End Function

  Public Function TicketStatusReject(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")    
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/Reject"
        Dim response As String=""
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketPacket)             
        End If
        Return response

  End Function

  Public Function TicketStatusRejectAsSpam(URL As String,
                           AuthenticationToken As String,
                           proxyAddress As String,
                           proxyUserName As String,
                           proxyPassword As String,
                           TicketPacket As String) As String        
        If String.IsNullOrEmpty(TicketPacket) Then Throw New ArgumentNullException("TicketPacket")    
        Dim setTicketStatusURL As String = URL + APIBaseURL + "Ticket/RejectAsSpam"
        Dim response As String=""
        If setTicketStatusURL IsNot Nothing Then
           response  =  RESTPOSTAsString(setTicketStatusURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword,TicketPacket)             
        End If
        Return response

  End Function

   Public Function SearchForContact(PlatformURL As String,
                             AuthenticationToken As String,
                             proxyAddress As String,
                             proxyUserName As String,
                             proxyPassword As String,
							 search As String,
							 maximumResults As Integer,
							 packetGuid As String) As String
		
		Dim searchRequest As JObject = New JObject From {{"Search",search}, {"MaximumResults", maximumResults}, {"MustHaveEmailAddress", "True"}, {"Type", "Contact"}}
		Dim contacts As String = GetContactResults(PlatformURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, searchRequest.ToString(), packetGuid)
		Return contacts
	End Function

    Public Function GetContactResults(PlatformURL As String,
                             AuthenticationToken As String,
                             proxyAddress As String,
                             proxyUserName As String,
                             proxyPassword As String,
							 searchRequest As String,
							 packetGuid As String)
		
		'Get Application Version
		Dim getPlatformConfigurationURI As String = PlatformURL + APIBaseURL + "PlatformConfiguration/GetPlatformInformation"
        Dim platformConfigurationJSON = RESTGETAsString(getPlatformConfigurationURI, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword)
        Dim currentApplicationVersion As New Version(JObject.Parse(platformConfigurationJSON)("ApplicationVersion"))
        Dim newContactAPIApplicationVersion As New Version("2022.1.0.0")

		
		Dim newContactApiResultArray As JArray = New JArray
		Dim oldContactApiResultArray As JArray = New JArray
		Dim contacts As JArray = New JArray
		

		If currentApplicationVersion >= newContactAPIApplicationVersion Then
			Dim newContactApiURL As String = PlatformURL + APIBaseURL + "Search/FreeTextContactSearch"
			Dim newContactApiResultJSON As String = RESTPOSTAsString(newContactApiURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, searchRequest)
			newContactApiResultArray = JArray.Parse(newContactApiResultJSON)
		Else
			Dim oldContactApiURL As String = PlatformURL + APIBaseURL + "contact/searchforcontact?packetGuid=" + packetGuid
            Dim oldContactApiResultJSON As String = RESTPOSTAsString(oldContactApiURL, AuthenticationToken, proxyAddress, proxyUserName, proxyPassword, searchRequest)
            oldContactApiResultArray = JArray.Parse(oldContactApiResultJSON)
		End If

		

		If newContactApiResultArray.Count > 0
			Return newContactApiResultArray.ToString()
		Else
			For Each caseFlowContact As JObject In oldContactApiResultArray
				Dim contact As New JObject From {
					{"UserGUID", caseFlowContact("Employee")("GUID")},
					{"FullName", caseFlowContact("Employee")("FullName")},
					{"EmailAddress", caseFlowContact("Employee")("EmailAddress")},
					{"UserType", caseFlowContact("Employee")("UserType")},
					{"HasProfilePicture", caseFlowContact("Employee")("HasProfilePicture")}}
				contacts.Add(contact)
			Next
			Return contacts.ToString()
		End If
	End Function


    Public MustInherit Class BaseContext

        'Declared Friend so that it isn't in external JSON
        'Required by the Dapper loading code
        Friend Property ParentGUID As Guid

        Public Property GUID As Guid
        Public Property Name As String

    End Class

    Public Class ContextProcessLevel
        Inherits BaseContext

        Public Property AttributeGUID As Guid
    End Class

    Public Class ContextServiceLevel
        Inherits BaseContext

        Public Property Processes As New List(Of ContextProcessLevel)
    End Class

    Public Class ContextContractLevel
        Inherits BaseContext

        Public Property Services As New List(Of ContextServiceLevel)
    End Class

    Public Class ContextCustomerLevel
        Inherits BaseContext

        Public Property Contracts As New List(Of ContextContractLevel)
    End Class



]]></code></stage><stage stageid="f71ac2ba-90a5-41aa-8bae-b6ff654c0859" name="Clean Up" type="SubSheetInfo"><subsheetid>3423175d-aaf8-4bda-abeb-7e9e581d35d9</subsheetid><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="dd759fbe-5a2a-4093-b5cf-2a61c65bdc95" name="Start" type="Start"><subsheetid>3423175d-aaf8-4bda-abeb-7e9e581d35d9</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /></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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="59aa4883-4b1b-46a2-8c14-059e816b049c" name="Start" type="Start"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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><display x="-180" y="60" w="180" h="230" /></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><display x="-180" y="60" w="180" h="230" /></stage><stage stageid="8209175a-e42d-4a24-8b83-97fb42f96751" name="Authenticate" type="Code"><subsheetid>ed4b33e4-505d-45d1-8fa8-dc585f5d3ab5</subsheetid><loginhibit /><display x="15" y="-15" /><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><display x="90" y="-15" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="3a924be8-ea86-4710-b199-1dff60fb018b" name="Start" type="Start"><subsheetid>a7dffd72-c0e6-4dc9-ab8f-fbd1fbdf3508</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="90" y="90" /><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><display x="165" y="-105" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="fa29ae96-f63e-4a6b-80ac-4e6fc54c427f" name="Start" type="Start"><subsheetid>2b15f8b3-db99-4b9c-bf1f-545c5d3c7b52</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="90" y="90" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="a1bb00d6-fea8-4544-a02c-b62b9bd01bf4" name="Start" type="Start"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /></stage><stage stageid="de68d8ba-d5b4-409e-81d2-0cdde2e278c9" name="Reject work" type="Code"><subsheetid>d6f75f76-1c62-406e-a278-6cb4b96898fc</subsheetid><loginhibit /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="165" y="-105" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="e0fc1c11-f697-4462-beca-c6c365ef897e" name="Start" type="Start"><subsheetid>0356df47-1846-4caa-a691-4a529fa58826</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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/Get?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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="ad23b9f7-2259-4710-9eca-49d78308c319" name="Start" type="Start"><subsheetid>86abcfc7-a017-48e2-be2a-fad2b9400588</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="30" /><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/Update", 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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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 /><display x="15" y="-45" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="7755bf86-6a74-4619-8b67-0e4bd72b4683" name="Start" type="Start"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /></stage><stage stageid="393333ab-49aa-48fd-ad60-91a19735e7ad" name="Update Checklist" type="Code"><subsheetid>73865ab2-9353-470d-8f6c-bf629d7613a2</subsheetid><loginhibit /><display x="15" y="30" /><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[ChecklistUpdate(URL, 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><display x="90" y="-105" /><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><display x="15" y="-150" /><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 /><display x="15" y="-45" /><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><display x="-60" y="-105" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="2b74ca3f-0885-498a-83a3-251dc669019b" name="Start" type="Start"><subsheetid>0a1dc9b1-5ab2-453a-b45d-3661a1447fd7</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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/Get?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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="c67083b5-4e72-4b70-bb6e-53020ddb4697" name="Start" type="Start"><subsheetid>a7137bea-c21a-46ba-ac23-49b9a806f65a</subsheetid><loginhibit /><display x="0" y="-105" /><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 /><display x="0" y="90" /><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 /><display x="0" y="30" /><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/Update", 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><display x="75" y="-105" /><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><display x="-75" y="-105" /><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><display x="0" y="-150" /><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><display x="75" y="90" /><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 /><display x="0" y="-45" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="a1464b6d-b425-45f2-9920-aa2eb6a7edd1" name="Start" type="Start"><subsheetid>4a50c7ba-c65a-4c6f-8426-37d85c903c6c</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="90" y="-105" /><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><display x="150" y="-105" /><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><display x="210" y="-105" /><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><display x="270" y="-105" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="65646e65-85b8-417e-bf8f-f97c7be3fdb4" name="Start" type="Start"><subsheetid>3b859f6a-53f1-4c20-accb-71bee85a60bd</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="210" y="-105" /><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><display x="90" y="-150" /><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><display x="150" y="-105" /><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><display x="90" y="-30" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="7ebe063e-60cd-4413-9750-e35cfecaaa1f" name="Start" type="Start"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /></stage><stage stageid="b1ab4eed-bc30-41bc-8041-4ccd44d0f505" name="Send Email Comms" type="Code"><subsheetid>0822b4be-9faf-4df2-91c1-555b7c6f4e57</subsheetid><loginhibit /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="-150" /><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><display x="150" y="-105" /><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><display x="90" y="-30" w="90" h="30" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="1b2fd9b3-5444-40b8-afcf-87e0e4e73c7a" name="Start" type="Start"><subsheetid>020ced73-7daf-46d9-bbea-cf0a5c5f7180</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="15" y="-150" /><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><display x="-60" y="-105" /><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><display x="90" y="-30" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="e4152f5b-b6ea-4c22-9a59-f363c37513c9" name="Start" type="Start"><subsheetid>ddb041d8-11bc-43a6-b876-f3879e38aef4</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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/Get?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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="b21aa06a-937b-472e-b525-a7db49567530" name="Start" type="Start"><subsheetid>3ee5da91-12cf-4ecb-950c-4737b885266f</subsheetid><loginhibit /><display x="0" y="-105" /><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 /><display x="0" y="90" /><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 /><display x="0" y="30" /><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/Update", 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><display x="75" y="-105" /><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><display x="-75" y="-105" /><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><display x="0" y="-150" /><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><display x="75" y="90" /><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 /><display x="0" y="-45" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="b1d3c4e8-29ae-45f0-b388-e774c863304c" name="Start" type="Start"><subsheetid>fe1db7ce-599d-4960-a95d-22834bfcacc1</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="90" y="-105" /><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><display x="150" y="-105" /><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><display x="210" y="-105" /><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><display x="270" y="-105" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="c743f38c-096c-4985-b7da-633fc8a2674e" name="Start" type="Start"><subsheetid>6088797f-f1ae-4bc2-b286-334b707a57c0</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="90" y="-105" /><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><display x="150" y="-105" /><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><display x="210" y="-105" /><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><display x="270" y="-105" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="005544dc-b3af-4612-b1d9-17d067bf37eb" name="Start" type="Start"><subsheetid>7438e42a-cea3-48e3-8da7-59bf1fe86ca2</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="90" y="-105" /><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><display x="150" y="-105" /><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><display x="210" y="-105" /><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><display x="270" y="-105" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="7996719c-871f-42ad-9d1b-f4cb71d0043d" name="Start" type="Start"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><loginhibit /><display x="15" y="-105" /><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="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" /><input type="text" name="PacketGuid" stage="PacketGuid" /></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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="Search" expr="[Search]" /><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]" /><input type="text" name="PacketGUID" expr="[PacketGuid]" /></inputs><outputs><output type="text" name="SearchResults" stage="Result" /></outputs><onsuccess>485fb8d9-c660-4dff-9811-167c9ca27e42</onsuccess><code><![CDATA[SearchResults = SearchForContact(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, Search, MaximumResults, PacketGuid)]]></code></stage><stage stageid="90d90d37-51d7-4893-bb64-b840c1ef8c68" name="URL" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><display x="90" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="-60" y="-105" /><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><display x="165" y="-105" /><datatype>number</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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="15ac761d-9560-4e3d-8d12-3e5bb0c41c79" name="Start" type="Start"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><loginhibit /><display x="15" y="-105" /><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="A guid from a Case object" stage="CaseGuid" /><input type="text" name="CaseAttributeGUID" narrative="A guid returned from the Get Case Attribute Action" stage="CaseAttributeGUID" /><input type="text" name="ProcessVersionInstanceGUID" narrative="A Guid returned from get case process (set value if case should be independent)" stage="ProcessVersionInstanceGUID" /><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="SchedulePeriodGUID" narrative="A guid of the schedule" stage="SchedulePeriodGUID" /><input type="datetime" name="OverrideDueDate" narrative="Due Date of the case" stage="OverrideDueDate" /><input type="number" name="CopyWorkItemDataType" narrative="Copy Work Item Data Type" stage="CopyWorkItemDataType" /><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 /><display x="15" y="90" /><outputs><output type="text" name="SubCaseResult" narrative="Packet 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 /><display x="15" y="-30" /><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="CaseAttributeGUID" expr="[CaseAttributeGUID]" /><input type="text" name="ProcessVersionInstanceGUID" expr="[ProcessVersionInstanceGUID]" /><input type="text" name="Title" expr="[Title]" /><input type="flag" name="Independent" expr="[Independent]" /><input type="text" name="SchedulePeriodGUID" expr="[SchedulePeriodGUID]" /><input type="datetime" name="OverrideDueDate" expr="[OverrideDueDate]" /><input type="number" name="CopyWorkItemDataType" expr="[CopyWorkItemDataType]" /><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="SubCaseResult" stage="Result" /></outputs><onsuccess>c0519ad9-ea70-4b9b-accf-3e98f815ba4e</onsuccess><code><![CDATA[SubCaseResult=CreateSubCase(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CaseGuid, CaseAttributeGUID,ProcessVersionInstanceGUID, Title, Independent,SchedulePeriodGUID,OverrideDueDate,CopyWorkItemDataType)]]></code></stage><stage stageid="bbff89d2-e000-4e8b-9c71-5688073008ee" name="URL" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="195" y="-105" w="90" h="30" /><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><display x="270" y="-105" /><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><display x="90" y="-150" /><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><display x="210" y="-105" /><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><display x="270" y="-105" /><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><display x="150" y="-150" /><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><display x="210" y="-150" /><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><display x="270" y="-150" /><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><display x="330" y="-150" /><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><display x="330" y="-105" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="17680939-6da3-43d4-8810-789fa45e4c3d" name="Start" type="Start"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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><display x="-195" y="-105" w="150" h="90" /></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><display x="-195" y="-105" w="150" h="90" /></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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="9144cebf-7972-4912-87e8-d7e8b6d56333" name="Packet" type="Data"><subsheetid>7ab1bda3-aa86-42db-bc58-eca32f72042c</subsheetid><display x="90" y="-105" /><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><display x="150" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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 /><display x="15" y="-30" /><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><display x="90" y="-30" /><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 /><display x="15" y="-105" /><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 /><display x="15" y="90" /></stage><stage stageid="d75bd2b0-c0a1-4e15-88a2-832dde488c4c" name="Save File" type="Code"><subsheetid>d1a7d34f-b06d-46ed-b0ba-709d8cb5bef0</subsheetid><loginhibit /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="210" y="-105" /><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><display x="90" y="-150" /><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><display x="150" y="-105" /><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 /><display x="15" y="-105" /><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="AttachmentsWithTags" narrative="a CSV delimited String of Files to attach with tags" stage="AttachmentsWithTags" /><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="SchedulePeriodGuid" narrative="A SchedulePeriodGuid obtained from the GetSchedulefromCaseAttribute action." stage="SchedulePeriodGuid" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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="AttachmentsWithTags" expr="[AttachmentsWithTags]" /><input type="text" name="NewPacketCommunication" expr="[NewPacketCommunication]" /><input type="text" name="SchedulePeriodGuid" expr="[SchedulePeriodGuid]" /><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 ,AttachmentsWithTags, NewPacketCommunication, Datafields,SchedulePeriodGuid)]]></code></stage><stage stageid="41c06e04-a8a6-4eb1-b2e8-db7b65ae04fa" name="URL" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="24740048-c51c-43c9-a054-09713d0b07ff" name="AttachmentsWithTags" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><display x="255" y="-150" /><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><display x="165" y="-60" /><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 /><display x="15" y="-105" /><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="AttachmentsWithTags" narrative="a CSV delimited String of Files to attach with tags" stage="AttachmentsWithTags" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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="AttachmentsWithTags" expr="[AttachmentsWithTags]" /><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 ,AttachmentsWithTags, NewPacketCommunication, Datafields)]]></code></stage><stage stageid="701e6ced-d0bb-4199-b41a-fba3ccd0e610" name="URL" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="240" y="-105" /><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><display x="165" y="-60" /><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><display x="165" y="-150" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="dea1e451-e1e5-4312-a39e-2c0e1edefaaa" name="Start" type="Start"><subsheetid>9a5ef59b-9e4b-45d3-a635-c81a70dfe48a</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="218e450a-9e24-4fcb-97aa-edeca30cc79f" name="Start" type="Start"><subsheetid>30bdc8cb-0d57-443c-98bb-a17cf35595a0</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="90" y="90" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="90" y="-105" /><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><display x="-60" y="-105" /><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><display x="15" y="-150" /><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><display x="165" y="-105" /><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><display x="90" y="90" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="240" y="-105" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="15" y="-150" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="15" y="-150" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="150" y="-105" /><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><display x="75" y="-60" /><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><display x="75" y="-150" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="240" y="-105" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="150" y="-105" /><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><display x="75" y="-60" /><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><display x="75" y="-150" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="150" y="-60" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="150" y="-60" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="150" y="-60" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="150" y="-60" /><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><display x="90" y="-60" /><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><display x="150" y="-60" /><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><display x="150" y="-150" /><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><display x="90" y="-60" /><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><display x="150" y="-60" /><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><display x="210" y="-60" /><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><display x="165" y="-150" /><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><display x="315" y="-105" /><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><display x="240" y="-60" /><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><display x="315" y="-105" /><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><display x="240" y="-60" /><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><display x="240" y="-150" /><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><display x="90" y="-60" /><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><display x="150" y="-60" /><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><display x="150" y="-150" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="165" y="-60" /><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><display x="90" y="-60" /><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><display x="180" y="-60" /><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><display x="180" y="-150" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="30b18141-ab16-4d16-bc48-40b8cf7e81fb" name="Start" type="Start"><subsheetid>515875c6-6856-4335-a735-73c8083ba5ee</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="be2c22ab-3c25-42de-a9e7-3f32f879b679" name="Start" type="Start"><subsheetid>6ca073e8-b98f-45b8-a9b3-5feb986e1a8e</subsheetid><loginhibit /><display x="15" y="-105" /><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 /><display x="15" y="90" /><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 /><display x="15" y="-30" /><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><display x="90" y="-105" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="909489cc-b9f0-4556-be87-032432afc8f0" name="Start" type="Start"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><loginhibit /><display x="15" y="-105" /><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="AllowChangingExistingAssignment" narrative="Forces the assignment to user if already assigned to another user." stage="AllowChangingExistingAssignment" /><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 /><display x="15" y="15" /></stage><stage stageid="74266056-5e10-4e3c-aac4-64ac58847b8e" name="SetAssignee" type="Code"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><loginhibit /><display x="15" y="-45" /><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="AllowChangingExistingAssignment" expr="[AllowChangingExistingAssignment]" /><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 & """,""PacketGUID"":""" & PacketGUID & """,""AllowChangingExistingAssignment"":""" & AllowChangingExistingAssignment & """}"
RESTPOSTAsString(URL + APIBaseURL + "Packet/Assign", 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><display x="90" y="-105" /><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><display x="-60" y="-150" /><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><display x="15" y="-150" /><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><display x="90" y="15" /><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><display x="165" y="-105" /><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><display x="90" y="-60" /><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><display x="90" y="-150" /><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><display x="-60" y="-105" /><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><display x="-60" y="-60" /><datatype>text</datatype><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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="7f2ed9ea-88cf-4019-a5b4-75e34abdb2ef" name="Start" type="Start"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><loginhibit /><display x="15" y="-105" /><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="number" name="ProcessType" narrative="Process Type (Case=1,Ticket=2,Action=3)" stage="ProcessType" /><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 /><display x="15" y="90" /></stage><stage stageid="26e6f44d-5c6c-45d6-990b-fc7dede62201" name="AddDefect" type="Code"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><loginhibit /><display x="15" y="-30" /><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="number" name="ProcessType" expr="[ProcessType]" /><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,ProcessType)]]></code></stage><stage stageid="481f07e2-c6cc-4fa8-ab0b-4279f32db49f" name="URL" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><display x="-45" y="-150" /><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><display x="15" y="-150" /><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><display x="90" y="90" /><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><display x="105" y="-105" w="90" h="30" /><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><display x="195" y="-105" w="90" h="30" /><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><display x="180" y="-45" /><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><display x="180" y="-75" /><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><display x="135" y="-150" /><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><display x="195" y="-150" /><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><display x="75" y="-150" /><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><display x="105" y="-75" w="90" h="30" /><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><display x="105" y="-45" w="90" h="30" /><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><display x="105" y="-15" w="90" h="30" /><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><display x="-60" y="-30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="27b0fc15-ee7b-490e-839d-9e93537a0b76" name="GetContactTags" type="SubSheetInfo"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><narrative>The Get Contact Tags returns an Enate Json String which represents a Contact Tags within Enate.  This Json can then be updated using Blue Prism commands or other Actions. The Tags in th Json is then passed back to Enate via the Create Case/Create Ticket to add user contact Tag values in the Enate Platform. </narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="debfeda0-8da7-466f-86b3-a3dc44d0afba" name="Start" type="Start"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><loginhibit /><display x="15" y="-105" /><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>78baf7a0-5a7e-4c71-abe5-94c3b25c6f18</onsuccess></stage><stage stageid="69d2c04d-1534-4d62-9e19-0931e55a1f97" name="End" type="End"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="ContactTags" narrative="Returns a list of contact tags present in the enate" stage="Result" /></outputs></stage><stage stageid="78baf7a0-5a7e-4c71-abe5-94c3b25c6f18" name="Get Contact Tags" type="Code"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><loginhibit /><display x="15" y="-30" /><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="ContactTags" stage="Result" /></outputs><onsuccess>69d2c04d-1534-4d62-9e19-0931e55a1f97</onsuccess><code><![CDATA[ContactTags = RESTGETAsString(URL + APIBaseURL + "ContactTagConfiguration/GetAll", Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="e4ce9e80-9794-4649-9c81-bbc60bff66d1" name="URL" type="Data"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1dfd9627-f24a-40a8-8e93-54aba752da7a" name="Token" type="Data"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bebed068-0158-44ac-8b23-e301e77b9585" name="Result" type="Data"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3111ecc7-7a8c-4856-96a3-2fde5de93fe5" name="ProxyPassword" type="Data"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><display x="165" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="0de28219-c07c-4b02-9862-3d231a2e2a19" name="ProxyUsername" type="Data"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3acbc6d8-145e-4329-bb8c-ae7fed9cbe0c" name="ProxyAddress" type="Data"><subsheetid>dea42876-c014-4c56-9d30-a60593e25ae3</subsheetid><display x="90" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="870924c1-b667-48cf-bfc6-0c51112b9401" name="GetContactTag" type="SubSheetInfo"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><narrative>The "Get Contact Tag" Action returns an Enate Json String which represents Contact tag within Enate.  This Json can then be updated using Blue Prism commands or other actions. This Json is used to add cuser contact tag in the Create Case/Create ticket action in the Enate platform.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="2960b2c5-e249-4a16-8f20-9aeabfd79ee2" name="Start" type="Start"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><loginhibit /><display x="15" y="-105" /><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="ContactTagGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Get Contact Tags Logic would have returned this identifier in the .GUID property" stage="ContactTagGUID" /><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>52fb2c1e-1fbc-44d6-aeb2-a898afd59675</onsuccess></stage><stage stageid="e97f6c23-d06a-4d5c-a03b-e66f85784739" name="End" type="End"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="ContactTag" narrative="Returns an Contact Tag Json String which represents an Action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="52fb2c1e-1fbc-44d6-aeb2-a898afd59675" name="GetContactTag" type="Code"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><loginhibit /><display x="15" y="-30" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ContactTagGUID" expr="[ContactTagGUID]" /><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="ContactTag" stage="Result" /></outputs><onsuccess>e97f6c23-d06a-4d5c-a03b-e66f85784739</onsuccess><code><![CDATA[ContactTag = RESTGETAsString(URL + APIBaseURL + "ContactTagConfiguration/Get?contactTagGuid=" + ContactTagGUID, Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="6fb2ce3f-3dcc-45d7-b315-fe4da52c9398" name="URL" type="Data"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a180c0bd-a6a1-416c-8d2c-83eeb56bea3b" name="ContactTagGUID" type="Data"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><display x="-60" y="-105" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="53fa0642-1539-40f9-99e4-60edb803226c" name="Token" type="Data"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c761f9ec-a7ac-4ec3-832f-720ae5ac22e9" name="Result" type="Data"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e2c106ee-7304-42ee-b25b-f472fb048b2e" name="ProxyAddress" type="Data"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><display x="165" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cd5fc3b2-511b-4081-ad57-a0800a7d9ea6" name="ProxyUsername" type="Data"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7ffa9ce1-5557-4bd4-8959-defb68f77473" name="ProxyPassword" type="Data"><subsheetid>6f3db5a0-ed94-4343-80dc-04cf7beaf48c</subsheetid><display x="90" y="-150" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="19786b2c-3531-4bf6-8745-106ee57d9395" name="GetFileTags" type="SubSheetInfo"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><narrative>The Get File Tags returns an Enate Json String which represents File Tags within Enate.  This Json can then be updated using Blue Prism commands or other Actions. The Tags in the Json is then passed back to Enate via the Create Case/Create Ticket to add File Tag values in the Enate Platform. </narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="01601ee2-d1ff-4fc0-b31c-0225adbd3bd0" name="Start" type="Start"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><loginhibit /><display x="15" y="-105" /><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>be1da3fa-b052-4d2f-bcb0-3a71d1f38b1c</onsuccess></stage><stage stageid="156c2f6d-5519-4ca2-a3e6-e63e043a4c8c" name="End" type="End"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="FileTags" narrative="Returns a list of File tags present in the enate" stage="Result" /></outputs></stage><stage stageid="be1da3fa-b052-4d2f-bcb0-3a71d1f38b1c" name="Get File Tags" type="Code"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><loginhibit /><display x="15" y="-30" /><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="FileTags" stage="Result" /></outputs><onsuccess>156c2f6d-5519-4ca2-a3e6-e63e043a4c8c</onsuccess><code><![CDATA[FileTags = RESTGETAsString(URL + APIBaseURL + "FileTagConfiguration/GetAll", Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="fedd2acd-9aba-4c46-a422-732ecdafec19" name="URL" type="Data"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b3578535-f143-4274-be6a-c264dfab2c33" name="Token" type="Data"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3238248c-d5b5-4499-9b6c-a55d85e352a5" name="Result" type="Data"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="273d682e-ca92-4694-a7c8-80dd24b40065" name="ProxyPassword" type="Data"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><display x="165" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="9e3ad17b-fc0d-4e3c-8a62-7736cbfadb04" name="ProxyUsername" type="Data"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="86401adc-4846-49a3-8eb2-475019a4533d" name="ProxyAddress" type="Data"><subsheetid>3f9cdc8a-75e0-475d-b778-4daf7e7844bd</subsheetid><display x="90" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d5d276d5-0a79-4743-acff-1e323c7cf55c" name="GetFileTag" type="SubSheetInfo"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><narrative>The "Get File Tag" Action returns an Enate Json String which represents file tag within Enate.  This Json can then be updated using Blue Prism commands or other actions. This Json is used to add file tag in the Create Case/Create ticket action in the Enate platform.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="e97ec1e5-7a44-4034-b674-e84633c80a42" name="Start" type="Start"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><loginhibit /><display x="15" y="-105" /><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="FileTagGUID" narrative="The unique identifier in Enate for the Action to retrieve. The Get File Tags Logic would have returned this identifier in the.GUID property" stage="FileTagGUID" /><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>a7aa2877-8a54-4cab-bd46-24f95a992b18</onsuccess></stage><stage stageid="f6aedfca-b4db-4170-9e44-30ec0c7e8cb5" name="End" type="End"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="FileTag" narrative="Returns an File Tag Json String which represents an Action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="a7aa2877-8a54-4cab-bd46-24f95a992b18" name="GetFileTag" type="Code"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><loginhibit /><display x="15" y="-30" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="FileTagGUID" expr="[FileTagGUID]" /><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="FileTag" stage="Result" /></outputs><onsuccess>f6aedfca-b4db-4170-9e44-30ec0c7e8cb5</onsuccess><code><![CDATA[FileTag = RESTGETAsString(URL + APIBaseURL + "FileTagConfiguration/Get?fileTagGuid=" + FileTagGUID, Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="932b0984-174b-491e-b596-2c3b21924da3" name="URL" type="Data"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3de4b810-ac2f-4d1d-8e8e-27278922f080" name="FileTagGUID" type="Data"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><display x="-60" y="-105" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="13267687-a56d-47da-9072-9741166e746c" name="Token" type="Data"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a24d22af-35d7-4281-94f1-4e008d9da7b9" name="Result" type="Data"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="47846965-6b54-4b15-8d7a-4bc08a1b75ed" name="ProxyAddress" type="Data"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><display x="165" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="eb97710c-a40a-4d69-b644-c2217d64e2e7" name="ProxyUsername" type="Data"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cb5878c5-1f1a-44f1-987e-8129e475f5a1" name="ProxyPassword" type="Data"><subsheetid>a1fe531d-af49-47ad-905c-51673a496f6c</subsheetid><display x="90" y="-150" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="d0f4dddd-a2e2-4858-a9b8-a1c4f4049d0e" name="GetLaunchableActions" type="SubSheetInfo"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><narrative>The Get Launchable Actions returns an Enate Json String which represents actions that is available to lauch in a case within Enate.  This Json can then be updated using Blue Prism commands or other Actions. This Json is then passed back to Enate via the Launch adhoc action  to the Enate Platform. </narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="83205310-9c73-4102-b30a-34357aa61ad8" name="Start" type="Start"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><loginhibit /><display x="15" y="-105" /><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>89233f0a-af50-4768-83f9-32cace143000</onsuccess></stage><stage stageid="bbcbd4cf-8a91-4e9f-9f9f-efbebc22d645" name="End" type="End"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="LaunchableActions" narrative="Returns a Json String which represents launchable actions in a case." stage="Result" /></outputs></stage><stage stageid="89233f0a-af50-4768-83f9-32cace143000" name="Get Launchable Actions" type="Code"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><loginhibit /><display x="15" y="-30" /><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="LaunchableActions" stage="Result" /></outputs><onsuccess>bbcbd4cf-8a91-4e9f-9f9f-efbebc22d645</onsuccess><code><![CDATA[LaunchableActions = RESTGETAsString(URL + APIBaseURL + "Case/GetLaunchableActions?caseGUID=" + CaseGUID, Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="a37a50a0-5f6d-403d-998c-d0b01fec3ef2" name="URL" type="Data"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7ecb9824-9545-4aad-b2bf-c2b6fb373997" name="CaseGUID" type="Data"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><display x="-60" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9475c0cf-5ae8-44bd-b973-6b1433a6acd5" name="Token" type="Data"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="da5749c8-dce7-4d94-a81d-47d42b266ce4" name="Result" type="Data"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1de5c14e-26c2-416b-b4dd-a7d4f54069df" name="ProxyPassword" type="Data"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><display x="165" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="23e8b7d0-11cc-4818-8bdd-3ca7ca79cbe5" name="ProxyUsername" type="Data"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a6a1da41-2847-4d0d-a6c2-616b84c81cb5" name="ProxyAddress" type="Data"><subsheetid>78e9f7ac-74d1-4d15-8fa9-1167ac8eed0b</subsheetid><display x="90" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="afc6d933-f5e2-4ed6-9985-6a9c6194101a" name="LaunchAdhocAction" type="SubSheetInfo"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><narrative>The Launch Adhoc Action is used to launch a adhoc action in the case. It takes the action attribute Guid obtained from the GetLaunchableActions.
 </narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="45f3d351-26fc-4c29-9905-e4c9d50add55" name="Start" type="Start"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><loginhibit /><display x="15" y="-105" /><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 Guid returned by the Create Case Action" stage="CaseGUID" /><input type="text" name="ActionAttributeGUID" narrative="The Guid returned by the Get launchable actions" stage="ActionAttributeGUID" /><input type="date" name="OverrideDueDate" narrative="Override due date of the action" stage="OverrideDueDate" /><input type="text" name="Instructions" narrative="Instructions for the adhoc action" stage="Instructions" /><input type="number" name="LaunchCopies" narrative="Number of launch copues of the adhoc action" stage="LaunchCopies" /><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>03a4f1d9-5fa7-4632-9b2b-082d32891c89</onsuccess></stage><stage stageid="dcc04869-2d37-4621-ac16-c8b18a20231b" name="End" type="End"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="LaunchAdhocActionGuid" narrative="Guid which relates to the unique identifier of the newly launched adhoc action" stage="Result" /></outputs></stage><stage stageid="03a4f1d9-5fa7-4632-9b2b-082d32891c89" name="Launch Adhoc Action" type="Code"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><loginhibit /><display x="15" y="-30" /><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="ActionAttributeGUID" expr="[ActionAttributeGUID]" /><input type="date" name="OverrideDueDate" expr="[OverrideDueDate]" /><input type="text" name="Instructions" expr="[Instructions]" /><input type="number" name="LaunchCopies" expr="[LaunchCopies]" /><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="LaunchAdhocActionGuid" stage="Result" /></outputs><onsuccess>dcc04869-2d37-4621-ac16-c8b18a20231b</onsuccess><code><![CDATA[LaunchAdhocActionGuid = LaunchAdhocAction(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CaseGUID, ActionAttributeGUID, OverrideDueDate, Instructions , LaunchCopies)]]></code></stage><stage stageid="db9c80a1-f911-4e70-8de2-bcc2e41067e8" name="URL" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="aebbde55-4d36-4037-894e-f10e143691c9" name="Token" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><display x="-60" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="54b59963-1ee5-41db-92e3-7730a2a57919" name="Result" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="78758e15-e847-46b2-a09f-7c53d542a704" name="ProxyAddress" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><display x="165" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f4d2721a-52c5-4415-9692-66c140c79636" name="ProxyUsername" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><display x="315" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1209a252-6c80-4eda-acb4-f40f71c7f4de" name="ProxyPassword" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><display x="240" y="-60" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="036a7a7a-ef89-4987-8329-15c569a2414f" name="CaseGUID" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><loginhibit /><display x="165" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="46398734-a12a-4532-b47b-9edac4165449" name="ActionAttributeGUID" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><loginhibit /><display x="225" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4fbe4b4f-6e1e-4223-9ff2-f81ab6a24c5d" name="OverrideDueDate" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><loginhibit /><display x="180" y="-60" /><datatype>date</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d39c944f-3ed8-4623-a245-9ec0fa80161c" name="Instructions" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><loginhibit /><display x="180" y="-15" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d3f09ba5-6d05-46f4-9fab-9e0f18d6d7d0" name="LaunchCopies" type="Data"><subsheetid>268b6b10-84ac-43d5-9180-a9e6af490d14</subsheetid><loginhibit /><display x="300" y="-60" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2e1e4b47-1518-4b52-b824-05da602781cc" name="GetScheduleFromCaseAttribute" type="SubSheetInfo"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><narrative>The GetSchedule From Case Attribute Action returns an Enate Json String which represents all the schedules present in the case attribute within Enate.  This Json can then be updated using Blue Prism commands or other Actions. This Schedule period Guid is passed in Create Case action to add schedule during create case.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="69acd3df-6f9b-4071-a6a5-4d7c4f7b7565" name="Start" type="Start"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><loginhibit /><display x="15" y="-105" /><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="CaseAttributeVersionGuid" narrative="The unique identifier in Enate obtained from GetCaseAttributeVersion API" stage="CaseAttributeVersionGuid" /><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>653fcaa1-90d4-4177-8991-039f1acceb75</onsuccess></stage><stage stageid="1e893b55-0afb-49ca-a631-78af97e68a72" name="End" type="End"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="CaseSchedules" narrative="Returns a Json String which represents Schedules in the case attribute" stage="Result" /></outputs></stage><stage stageid="653fcaa1-90d4-4177-8991-039f1acceb75" name="Get Schedule From Case Attribute" type="Code"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><loginhibit /><display x="15" y="-30" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CaseAttributeVersionGuid" expr="[CaseAttributeVersionGuid]" /><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="CaseSchedules" stage="Result" /></outputs><onsuccess>1e893b55-0afb-49ca-a631-78af97e68a72</onsuccess><code><![CDATA[CaseSchedules = RESTGETAsString(URL + APIBaseURL + "Schedule/GetScheduleFromCaseAttributeVersion?caseAttributeVersionGUID=" + CaseAttributeVersionGuid, Token, ProxyAddress, ProxyUsername, ProxyPassword)
]]></code></stage><stage stageid="af6f8508-c928-46ab-968d-edd0df89f93f" name="URL" type="Data"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="df4bc1ae-8068-4f51-bb83-c60b131128d6" name="CaseAttributeVersionGuid" type="Data"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><display x="-60" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5d678fc1-0d55-4d5f-9919-c02f1ede5f74" name="Token" type="Data"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a4c3e297-6d20-4d0d-9bf6-f5f6cae8e45b" name="Result" type="Data"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="62124d49-f21f-4f57-9766-baf3224dcfd3" name="ProxyPassword" type="Data"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><display x="165" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="af12b242-3024-4ff0-8f69-238170fb6621" name="ProxyUsername" type="Data"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d1368dca-ee77-411c-abf5-9cb3aa1f105b" name="ProxyAddress" type="Data"><subsheetid>6bc6f8ba-11d6-41d8-b4e2-a937d5916169</subsheetid><display x="90" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b941b488-e310-4d36-a560-4f0ec4df4de3" name="AttachFile" type="SubSheetInfo"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><narrative>The Attach File Action is used to Add a local file to an Enate work item directly, this can be either a CasePacket, TicketPacket, or ActionPacket. This action requires a connection to the Enate platformsince it directly attach file to work item which is different from Add file to item action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="60feeb28-708b-4e5e-aa03-867ce7b199ad" name="TargetFileName" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="150" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1acc5059-806d-4014-8369-b820b6140354" name="Note" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="-60" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d9191c7f-026b-4fc0-9d3f-49de8b603381" name="TargetPath" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cfa05bdb-4cd1-4a7d-8589-8ffaf5628ee0" name="Result" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="90" y="-30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d84b3bd5-fbe9-46c4-8e87-0681c73dcc69" name="Start" type="Start"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><loginhibit /><display x="15" y="-90" /><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 of the packet to which the file should be attached" stage="PacketGuid" /><input type="text" name="TargetPath" narrative="The path where the file is located" stage="TargetPath" /><input type="text" name="TargetFileName" narrative="The name of the file" stage="TargetFileName" /><input type="text" name="Note" narrative="Note related to the file" stage="Note" /><input type="text" name="FileTags" narrative="Tags related to the file" stage="FileTags" /><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>f313667d-8fc6-4a6c-ae52-7b0e3d0ed448</onsuccess></stage><stage stageid="97f98af4-8123-4935-92ef-0a27c19202b8" name="End" type="End"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><loginhibit /><display x="15" y="45" /><outputs><output type="text" name="json" narrative="Returns a Json String which represents uuid" stage="Result" /></outputs></stage><stage stageid="f313667d-8fc6-4a6c-ae52-7b0e3d0ed448" name="Attach File" type="Code"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><loginhibit /><display x="15" y="-15" /><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="TargetPath" expr="[TargetPath]" /><input type="text" name="TargetFileName" expr="[TargetFileName]" /><input type="text" name="Note" expr="[Note]" /><input type="text" name="FileTags" expr="[FileTags]" /><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="json" stage="Result" /></outputs><onsuccess>97f98af4-8123-4935-92ef-0a27c19202b8</onsuccess><code><![CDATA[Dim FileTagsArray As String()=FileTags.Split(",")
json = AttachFile(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, PacketGUID,TargetPath,TargetFileName,Note,FileTagsArray)

]]></code></stage><stage stageid="5677b8f9-9828-4faa-84e5-e7b02400478c" name="PacketGuid" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d2612024-ea4e-4be7-bec8-b4f058712fe9" name="Token" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="90" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="08cd6596-db5b-47a2-8a8f-d822cce5515e" name="ProxyAddress" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="165" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="883a1586-9785-478a-9a5b-bbc329a3f070" name="URL" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="225" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="35b137a6-7b5d-4e5b-af79-8b0ea2c9f58b" name="ProxyPassword" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="300" y="-150" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="8ed6e638-0dea-4a78-a98d-7d6c7fd5cd27" name="ProxyUsername" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="225" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="55417f64-e1c6-4ee6-b994-100579b7f80e" name="FileTags" type="Data"><subsheetid>a0d70ce2-fbf9-4b35-8003-9ddedd5d9adb</subsheetid><display x="180" y="-45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="413c0d49-1ec7-4eb6-8581-8125d488c3f7" name="SchedulePeriodGuid" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><display x="150" y="-15" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ad8ae067-2bbf-4cf7-83d4-f9b6809f9415" name="GetCommunication" type="SubSheetInfo"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><narrative>The "Get Communication" Action returns an Enate Json String which represents the Communication specified in the {communicationGUID} parameter which can further be used for save communication file action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="10963308-50cb-49ba-9bae-ed1813fe65c0" name="Start" type="Start"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><loginhibit /><display x="15" y="-105" /><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="CommunicationGUID" narrative="The unique identifier in Enate for the Action to retrieve. The communication Guid obtained from the Get communications action" stage="CommunicationGUID" /><input type="flag" name="SanitizeHTMLBody" narrative="When true the HTML body will be parsed to remove potentially dangerous content." stage="SanitizeHTMLBody" /><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>f75ca985-6c1f-4037-97b2-4a97c204dec3</onsuccess></stage><stage stageid="a6cb9350-73a9-4c31-9791-34cbec929471" name="End" type="End"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="CommunicationResult" narrative="Returns the Communication specified in the {communicationGUID} parameter" stage="Result" /></outputs></stage><stage stageid="f75ca985-6c1f-4037-97b2-4a97c204dec3" name="GetCommunication" type="Code"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><loginhibit /><display x="15" y="-30" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CommunicationGUID" expr="[CommunicationGUID]" /><input type="flag" name="SanitizeHTMLBody" expr="[SanitizeHTMLBody]" /><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="CommunicationResult" stage="Result" /></outputs><onsuccess>a6cb9350-73a9-4c31-9791-34cbec929471</onsuccess><code><![CDATA[CommunicationResult = RESTGETAsString(URL + APIBaseURL + "PacketCommunication/GetCommunication?communicationGUID="+CommunicationGUID + "&sanitizeHTMLBody=" + SanitizeHTMLBody.ToString, Token, ProxyAddress, ProxyUsername, ProxyPassword)]]></code></stage><stage stageid="0e51122a-1fdc-4e0d-abec-551e72e020ff" name="URL" type="Data"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="46bb76fa-6158-4881-9c8a-dc01894a2345" name="CommunicationGUID" type="Data"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><display x="-60" y="-105" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="76a51a1a-d38a-4d04-b7d3-7808f534e0a6" name="Token" type="Data"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6e4c2e96-680a-4a54-a0bd-7b19b7b96d3f" name="Result" type="Data"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="552cf23a-8007-4ded-ae61-3987ede5501c" name="ProxyAddress" type="Data"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><display x="165" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4c2c1945-85f5-4f1f-9169-7ec4636bd13c" name="ProxyUsername" type="Data"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5bfeb28c-e345-404e-aeb9-962bdcd56878" name="ProxyPassword" type="Data"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><display x="90" y="-150" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="7a59cd63-4c08-4d83-9729-ec994f0f7902" name="SanitizeHTMLBody" type="Data"><subsheetid>35bb5cec-fd6a-446d-a5d8-d3bdbd3783d2</subsheetid><loginhibit /><display x="165" y="-60" /><datatype>flag</datatype><initialvalue>True</initialvalue><private /><alwaysinit /></stage><stage stageid="f7cb1e8c-7d9e-46cb-940d-dd0ed68cf19f" name="Attachments" type="Data"><subsheetid>af94691a-91e7-4561-8e98-b153994ca234</subsheetid><display x="255" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="22780d3f-5966-4e5e-97f3-40155e80c027" name="AttachmentsWithTags" type="Data"><subsheetid>63442a89-dfc3-4e59-b26c-00cbc9a842df</subsheetid><display x="390" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="002a6d6d-cd9b-4695-8525-31eba4029df3" name="GetCommunications" type="SubSheetInfo"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><narrative>The "Get Communications" Action returns an Enate Json String which represents the Communications and notes specified in the {PacketGUID} parameter which can further be used for save communication file action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="3c809c3a-8a48-475f-a3a2-b3f1fddd3e9e" name="Start" type="Start"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><loginhibit /><display x="15" y="-105" /><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 Action to retrieve. The Packet Guid obtained from the Create case or create ticket." stage="PacketGUID" /><input type="text" name="FilterType" narrative="Type of communications to be extracted" stage="FilterType" /><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>b35c2b42-1b2b-4092-851d-2e43bf378028</onsuccess></stage><stage stageid="7a8a0079-9694-4136-bd4f-c921c14e6175" name="End" type="End"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="CommunicationsResult" narrative="Returns the Communications and Notes specified in the {PacketGUID} parameter" stage="Result" /></outputs></stage><stage stageid="b35c2b42-1b2b-4092-851d-2e43bf378028" name="GetCommunications" type="Code"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><loginhibit /><display x="15" y="-30" /><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="FilterType" expr="[FilterType]" /><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="CommunicationsResult" stage="Result" /></outputs><onsuccess>7a8a0079-9694-4136-bd4f-c921c14e6175</onsuccess><code><![CDATA[CommunicationsResult = FetchCommunications(URL , Token, ProxyAddress, ProxyUsername, ProxyPassword,PacketGUID,FilterType)]]></code></stage><stage stageid="11c0d52a-dd6f-476e-aeb6-0490c436c7d0" name="URL" type="Data"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="00a55149-ff80-4c6d-ad0c-c09861b6b13e" name="PacketGUID" type="Data"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><display x="-60" y="-105" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e00b09ed-992b-4846-99ea-2c8a0a35ac58" name="Token" type="Data"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="56819bcb-4c5a-4c26-87d6-661cf6c05c15" name="Result" type="Data"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2101a4f7-66d4-4dc4-829a-970e45e6ffe5" name="ProxyAddress" type="Data"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><display x="165" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8d181344-c0c2-40cf-9768-3e52a8299ea5" name="ProxyUsername" type="Data"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="66327d01-9309-4d9d-ab75-1d8f5e07c075" name="ProxyPassword" type="Data"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><display x="90" y="-150" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="d70053ca-8c50-44c6-8880-c45b98d2e8ef" name="FilterType" type="Data"><subsheetid>12745a5a-83eb-4f0a-81e3-47b7c22bb727</subsheetid><loginhibit /><display x="165" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="38777d62-f70d-47e2-9550-21c5988dabc7" name="SaveCommunicationFile" type="SubSheetInfo"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><narrative>The "Save Communication File " Action is used to download the file in the communication and store in the local drive.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="e40fcdde-7006-4506-bdba-93fff0156107" name="Start" type="Start"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><loginhibit /><display x="15" y="-105" /><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="CommunicationAttachmentGUID" narrative="The unique identifier in Enate for the Action to retrieve.Attachment Guid obtained from GetCommunications." stage="CommunicationAttachmentGUID" /><input type="text" name="TargetPath" narrative="Path where the file should be stored" stage="TargetPath" /><input type="flag" name="AllowOverwrite" 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>fd39617f-efdb-4fa8-bb71-713210976737</onsuccess></stage><stage stageid="4d450624-50bc-4999-ad3f-f952f462ffd0" name="End" type="End"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><loginhibit /><display x="15" y="90" /></stage><stage stageid="fd39617f-efdb-4fa8-bb71-713210976737" name="SaveCommunicationFile" type="Code"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><loginhibit /><display x="15" y="-30" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CommunicationAttachmentGUID" expr="[CommunicationAttachmentGUID]" /><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>4d450624-50bc-4999-ad3f-f952f462ffd0</onsuccess><code><![CDATA[CommunicationSaveFile(URL , Token, ProxyAddress, ProxyUsername, ProxyPassword,CommunicationAttachmentGUID,TargetPath,AllowOverwrite)]]></code></stage><stage stageid="50071eb7-8d50-4651-96ea-f3efeb1f192a" name="URL" type="Data"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="72f18e21-f798-4b21-aac0-7429a674218e" name="CommunicationAttachmentGUID" type="Data"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><display x="-60" y="-105" w="90" h="30" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d7c9b00c-ab6a-4b71-a56b-a1a60fb3c8d7" name="Token" type="Data"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cc72896b-726a-43dd-9560-097384b930cc" name="ProxyAddress" type="Data"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><display x="165" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4d3bf70e-b509-4495-a100-b03360a7db3d" name="ProxyUsername" type="Data"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2d701134-e225-4a5e-97f9-86f519046206" name="ProxyPassword" type="Data"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><display x="90" y="-150" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="ed759a8a-baca-4298-82b3-a8539c63d633" name="TargetPath" type="Data"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><loginhibit /><display x="165" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="11c774cc-c0e1-4c08-a8a9-79d36244f48c" name="AllowOverwrite" type="Data"><subsheetid>08cfd3f0-3257-45d5-88bc-4464ff2a9e78</subsheetid><display x="240" y="-105" /><datatype>flag</datatype><initialvalue>True</initialvalue><private /><alwaysinit /></stage><stage stageid="e3d18576-f961-47a7-a44a-03eae5104e71" name="GetCaseProcesses" type="SubSheetInfo"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><narrative>The Get Case Processes Action returns a list of Processes 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><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="234e29d6-0257-4bab-9a2c-ef9b288583fb" name="Start" type="Start"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><loginhibit /><display x="15" y="-105" /><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>09e14430-3ed0-42f2-8de9-9d25d5f451fa</onsuccess></stage><stage stageid="3a2e6568-592a-426e-8ad9-1951501d37a2" name="End" type="End"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="CaseProcesses" narrative="A list of processes which relates to a ProcessInstanceVersion to be used in the Create Case Action" stage="Result" /></outputs></stage><stage stageid="09e14430-3ed0-42f2-8de9-9d25d5f451fa" name="Get Case Processes" type="Code"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><loginhibit /><display x="15" y="-30" /><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="CaseProcesses" stage="Result" /></outputs><onsuccess>3a2e6568-592a-426e-8ad9-1951501d37a2</onsuccess><code><![CDATA[CaseProcesses = GetProcesses(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CustomerName, ContractName, ServiceName, ProcessName)]]></code></stage><stage stageid="cf877ad4-193c-490f-aae0-9f97ff5cfbf4" name="URL" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="-60" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8a6d8b4e-2311-4f48-87f3-0210875b9cff" name="Token" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="15" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="736ad6db-5c8c-4d20-b865-6b68451ee020" name="Result" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="65c169d6-8321-4ef0-97cd-71a260ee5fcf" name="CustomerName" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0233f73c-8509-49ab-970d-fd68f4d90ae7" name="ContractName" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="150" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5c93f2cc-131e-4391-a18e-f722c7ba6b18" name="ServiceName" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="210" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9bcd3725-094e-4ae1-ba4f-ec103858f8c0" name="ProcessName" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="270" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0e9bdb33-eb93-4492-9739-c1aeb8179ea1" name="ProxyAddress" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="90" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9d31eba7-878e-497b-9a70-93073a90f18d" name="ProxyUsername" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="90" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9505615f-20f4-48cd-b5d4-bf41e3107f5c" name="ProxyPassword" type="Data"><subsheetid>e6a514a7-c456-4359-93a2-0947c88c4f2f</subsheetid><display x="150" y="-60" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="5883720d-f54d-4441-a0ec-cdb5c926daa3" name="ExtractCustomTableData" type="SubSheetInfo"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><narrative>The Extract Custom Table Data is used to extract the table in the packet.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="b55d4de4-2812-479c-a5ba-09c6100e7ad0" name="Start" type="Start"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><loginhibit /><display x="15" y="-105" /><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 returned by the get more work" stage="PacketGUID" /><input type="number" name="PacketType" narrative="Type of the packet . Case/Ticket/Action" stage="PacketType" /><input type="text" name="TableName" narrative="name of the table to be extracted" stage="TableName" /><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>5d92d6a0-088d-46db-ac8f-f019a1d251d4</onsuccess></stage><stage stageid="243bb444-85d4-4342-b9e1-03ef970e1c3b" name="End" type="End"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="TableData" narrative="Json array containing all the table rows" stage="Result" /></outputs></stage><stage stageid="5d92d6a0-088d-46db-ac8f-f019a1d251d4" name="Extract Custom Table Data" type="Code"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><loginhibit /><display x="15" y="-30" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="PacketGUID" expr="[PacketGUID]" /><input type="number" name="PacketType" expr="[PacketType]" /><input type="text" name="TableName" expr="[TableName]" /><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="TableData" stage="Result" /></outputs><onsuccess>243bb444-85d4-4342-b9e1-03ef970e1c3b</onsuccess><code><![CDATA[TableData= ExtractTable(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, PacketGUID, PacketType, Tablename)]]></code></stage><stage stageid="c48d0ad4-616f-4278-9553-842b7806c1a1" name="URL" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><display x="90" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f3bdba91-bb86-46a9-ba3d-9a86fd4df74a" name="Token" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><display x="-60" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="33a55b9f-343b-4539-a251-a3ddb5be6288" name="Result" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e091d018-3d62-4abd-aa2a-77b58d538a23" name="ProxyAddress" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><display x="165" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="861cfa08-5422-4a0b-9c3f-bb2496ee1361" name="ProxyUsername" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><display x="315" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="56a390b8-378f-43e5-9934-89abfc64e69f" name="ProxyPassword" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><display x="240" y="-60" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="d7aaa1cc-c53b-4402-b450-98328d750b6b" name="PacketGUID" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><loginhibit /><display x="165" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5c0dd56e-d73e-4a36-a7ca-1fced3eebf36" name="PacketType" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><loginhibit /><display x="225" y="-105" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="90c94ac4-2431-46e0-b5ce-d0336ed67638" name="TableName" type="Data"><subsheetid>1fb921f7-a464-489d-8022-554ed9efd1e8</subsheetid><loginhibit /><display x="165" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4fa6cd29-3ca0-4331-b20f-d14928d283f5" name="CollectionToString" type="SubSheetInfo"><subsheetid>4202e2be-d757-495d-8f8f-b5e222c0b128</subsheetid><narrative>This action coverts the collection values which is in column rows format to string format to add custom data rows in the datafields while creating case/ticket.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="d77f5223-12d3-4900-8902-88ea8d3edad2" name="Start" type="Start"><subsheetid>4202e2be-d757-495d-8f8f-b5e222c0b128</subsheetid><loginhibit /><display x="15" y="-105" /><inputs><input type="collection" name="CollectionData" narrative="table data used for custom data table in datafields" stage="CollectionData" /></inputs><onsuccess>1ae3cf14-1a2b-4b0c-a8d4-05dacce961f3</onsuccess></stage><stage stageid="a62c9fae-0634-4aa5-9107-2f3774a5c5c5" name="End" type="End"><subsheetid>4202e2be-d757-495d-8f8f-b5e222c0b128</subsheetid><loginhibit /><display x="15" y="90" /><outputs><output type="text" name="CollectionString" narrative="Converted collection value in string format" stage="Result" /></outputs></stage><stage stageid="1ae3cf14-1a2b-4b0c-a8d4-05dacce961f3" name="Collection To String " type="Code"><subsheetid>4202e2be-d757-495d-8f8f-b5e222c0b128</subsheetid><loginhibit /><display x="15" y="-30" /><inputs><input type="collection" name="CollectionData" expr="[CollectionData]" /></inputs><outputs><output type="text" name="CollectionString" stage="Result" /></outputs><onsuccess>a62c9fae-0634-4aa5-9107-2f3774a5c5c5</onsuccess><code><![CDATA[CollectionString=String.Empty
CollectionString= JsonConvert.SerializeObject(CollectionData)]]></code></stage><stage stageid="d77dd9ca-19a9-4a61-be30-650f59ec9b5f" name="Result" type="Data"><subsheetid>4202e2be-d757-495d-8f8f-b5e222c0b128</subsheetid><display x="90" y="90" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5591a471-abcf-4e58-bef0-07136487b7fd" name="CollectionData" type="Collection"><subsheetid>4202e2be-d757-495d-8f8f-b5e222c0b128</subsheetid><display x="90" y="-105" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="b2154a00-b448-479f-85e4-6421207d49ba" name="PacketGuid" type="Data"><subsheetid>58256db5-7b83-4e0a-bb54-b352265f8602</subsheetid><display x="240" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="851a4735-5b0f-4f29-9157-cd12122e6614" name="ProcessType" type="Data"><subsheetid>76bf0e83-b58d-4e87-8d35-baee32cf2eda</subsheetid><display x="-60" y="-105" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9e4b018d-ed81-437f-8e65-19a1d709a275" name="AllowChangingExistingAssignment" type="Data"><subsheetid>16108595-5c0c-4824-b236-3c9211be60cf</subsheetid><display x="240" y="-105" /><datatype>flag</datatype><initialvalue>True</initialvalue><private /><alwaysinit /></stage><stage stageid="bfb30f40-926b-435a-a521-af721aa6621e" name="SetCaseStatusInProgress" type="SubSheetInfo"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><narrative>The Set Case Status InProgress Action allows you to Set the status of the case to InProgress and also can be updated with the 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 Set Case State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="4da3b876-2270-4f8b-a594-6b7c14b785bf" name="Start" type="Start"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><loginhibit /><display x="0" y="-105" /><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>19b43a83-630b-43cc-95a7-60d21aabb6ee</onsuccess></stage><stage stageid="3be8e284-c357-46e5-97b6-132805ec666f" name="End" type="End"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><loginhibit /><display x="0" y="45" /><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="19b43a83-630b-43cc-95a7-60d21aabb6ee" name="SetCaseStatusInProgress" type="Code"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><loginhibit /><display x="0" y="-15" /><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>3be8e284-c357-46e5-97b6-132805ec666f</onsuccess><code><![CDATA[CasePacketResult = CaseStatusInProgress(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CasePacket)
]]></code></stage><stage stageid="58781cda-2c6e-475f-978e-568e34869738" name="URL" type="Data"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="209f918b-0fa4-42fd-a500-4c0b4e9fd66f" name="CasePacket" type="Data"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3d1bb71d-6f2e-4640-9334-b176c5541a70" name="Token" type="Data"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0ff4f7b5-f1bc-4085-8de4-e02779b0fa65" name="Result" type="Data"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="df0ddf89-5dd5-4731-a713-6c0b02b504cd" name="ProxyPassword" type="Data"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="30bbac7d-bc50-4892-b288-dc3036d08da8" name="ProxyUsername" type="Data"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c8720185-849a-41fa-a5fe-aff59967d9fe" name="ProxyAddress" type="Data"><subsheetid>bb57a0b9-05e4-4765-9be1-8327b6db960b</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d9eaa9b1-7f16-4fa7-8612-3b4596d995ac" name="SetCaseStatusToDo" type="SubSheetInfo"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><narrative>The Set Case Status ToDo Action allows you to Set the status of the case to ToDo and also can be updated with the 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 Set Case State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="64793cb0-55e8-409b-ba1b-7b13998372d5" name="Start" type="Start"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><loginhibit /><display x="0" y="-105" /><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>fbd96f0c-ea97-40f6-a70c-b3a02d4f557e</onsuccess></stage><stage stageid="ad86edb6-7890-4be5-a64a-d343fb884b70" name="End" type="End"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><loginhibit /><display x="0" y="45" /><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="fbd96f0c-ea97-40f6-a70c-b3a02d4f557e" name="SetCaseStatusToDo" type="Code"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><loginhibit /><display x="0" y="-15" /><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>ad86edb6-7890-4be5-a64a-d343fb884b70</onsuccess><code><![CDATA[CasePacketResult = CaseStatusToDo(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CasePacket)
]]></code></stage><stage stageid="2af33164-641d-4d77-8f78-a7fcc941daa8" name="URL" type="Data"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f96caf64-a246-4d82-8ca5-a070c93f6127" name="CasePacket" type="Data"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c8815885-67dc-4275-a243-96d3e2859f31" name="Token" type="Data"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="230b0d8a-0918-4a46-94d5-7e00c7e7a2f3" name="Result" type="Data"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="65dbe5db-dd53-4669-b9a9-3c310eb0ff1c" name="ProxyPassword" type="Data"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="f5da0fce-67f3-45c0-af8e-12ba644a6338" name="ProxyUsername" type="Data"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ceef8180-6fef-4d5b-a563-ad49af27e121" name="ProxyAddress" type="Data"><subsheetid>f074ec50-f217-4cdc-b6f8-c35c5bb40632</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a33e1bf4-6d33-431a-9b2e-93ef5d3bc8b2" name="SetCaseStatusResolved" type="SubSheetInfo"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><narrative>The Set Case Status Resolved Action allows you to Set the status of the case to Resolved and also can be updated with the 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 Set Case State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="62f90c29-9405-481b-a976-a1a0ab4c8a82" name="Start" type="Start"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><loginhibit /><display x="0" y="-105" /><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>c05904b7-45d2-4164-b5d3-083d1522738c</onsuccess></stage><stage stageid="f9b326a9-5d4a-420a-b209-c724b8c805d6" name="End" type="End"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><loginhibit /><display x="0" y="45" /><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="c05904b7-45d2-4164-b5d3-083d1522738c" name="SetCaseStatusResolved" type="Code"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><loginhibit /><display x="0" y="-15" /><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>f9b326a9-5d4a-420a-b209-c724b8c805d6</onsuccess><code><![CDATA[CasePacketResult = CaseStatusResolved(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CasePacket)
]]></code></stage><stage stageid="eb1729ab-6dc6-4301-9817-199c64bc2e2a" name="URL" type="Data"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f11a06f0-24e0-4ca3-832f-24858b70bb70" name="CasePacket" type="Data"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="13bcce01-9fde-4b32-9f11-a4f93cbb9df1" name="Token" type="Data"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ef876d7d-0ffa-4290-b3a8-26052e46cd43" name="Result" type="Data"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a4b03320-7c34-43c9-82ee-56f015669523" name="ProxyPassword" type="Data"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="f679977c-e4f9-4c4f-939a-f56bb03a752d" name="ProxyUsername" type="Data"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="83abff0e-4d0a-495a-972f-45bcd21beff5" name="ProxyAddress" type="Data"><subsheetid>e94e276f-ce32-4bc4-957f-003e7f4b942c</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="908e6757-12bb-41ae-8f0d-728543600b8b" name="SetCaseStatusAbort" type="SubSheetInfo"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><narrative>The Set Case Status AbortAction allows you to Set the status of the case to Abort and also can be updated with the 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 Set Case State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="224d6691-6e6a-4051-9f86-4b969ca4edc6" name="Start" type="Start"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><loginhibit /><display x="0" y="-105" /><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>122352ba-fb02-49a1-85fd-dc15423b5252</onsuccess></stage><stage stageid="8ba751c6-0bfe-4cb4-8f6d-b0a07019061b" name="End" type="End"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><loginhibit /><display x="0" y="45" /><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="122352ba-fb02-49a1-85fd-dc15423b5252" name="SetCaseStatusAbort" type="Code"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><loginhibit /><display x="0" y="-15" /><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>8ba751c6-0bfe-4cb4-8f6d-b0a07019061b</onsuccess><code><![CDATA[CasePacketResult = CaseStatusAbort(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CasePacket)
]]></code></stage><stage stageid="a04d8a5f-7d4f-4e39-acbe-3e540e7368ba" name="URL" type="Data"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ec85f5f7-9a31-4414-9765-7683a90d1a62" name="CasePacket" type="Data"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e0635a75-741d-4826-958f-7dd7c96af662" name="Token" type="Data"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="20e88319-a54b-4e97-8f3e-ea170fe0d54b" name="Result" type="Data"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0095ba04-d221-4b88-8eec-bfd1f7d21cf7" name="ProxyPassword" type="Data"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="a4a01711-791e-4dff-a69d-64d2e705ef79" name="ProxyUsername" type="Data"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="be272a75-5151-4d6a-ae45-490a4e6f8b8d" name="ProxyAddress" type="Data"><subsheetid>6ec76db3-6823-450f-8748-ab76398b1521</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5242f6c7-067d-437c-bf57-db1e53bebfea" name="SetCaseStatusWaiting" type="SubSheetInfo"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><narrative>The Set Case Status Waiting Action allows you to Set the status of the case to waiting and also can be updated with the 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 Set Case State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="4820b57d-a2ce-4dd1-b4c3-89522aeb600a" name="Start" type="Start"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><loginhibit /><display x="0" y="-105" /><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="number" name="CaseWaitingType" narrative="MoreInformation = 0, FutureDate = 1, RelatedPackets = 2, Forever = 3, ExternalSystem = 4" stage="CaseWaitingType" /><input type="number" name="CaseWaitingReason" narrative="Reasn why the case is waiting (AwaitingInformationFrom3rdParty = 1, AwaitingInformationFromClient = 2, AwaitingInformationFromInternal = 3, ActionAwaitingMoreInformation = 5)" stage="CaseWaitingReason" /><input type="date" name="CaseWaitingUntil" narrative="Period until which the case should wait for Info" stage="CaseWaitingUntil" /><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>ccfe448d-8b9f-4c36-9470-871c962ad620</onsuccess></stage><stage stageid="31c2431b-6b96-447f-93d7-83c52071be81" name="End" type="End"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><loginhibit /><display x="0" y="45" /><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="ccfe448d-8b9f-4c36-9470-871c962ad620" name="SetCaseStatusWaiting" type="Code"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><loginhibit /><display x="0" y="-15" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="CasePacket" expr="[CasePacket]" /><input type="number" name="CaseWaitingType" expr="[CaseWaitingType]" /><input type="number" name="CaseWaitingReason" expr="[CaseWaitingReason]" /><input type="date" name="CaseWaitingUntil" expr="[CaseWaitingUntil]" /><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>31c2431b-6b96-447f-93d7-83c52071be81</onsuccess><code><![CDATA[CasePacketResult = CaseStatusWaiting(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, CasePacket,CaseWaitingType,CaseWaitingReason,CaseWaitingUntil)
]]></code></stage><stage stageid="aed0de37-139b-4b17-a805-fb06b5c5068d" name="URL" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7a75709c-5e0d-411c-a1cd-8f1d6b49ba72" name="CasePacket" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d65089d9-5c88-4b82-9447-2db4a403f7a5" name="Token" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9492a1f9-e49d-4af9-93a6-26de776c3f5b" name="Result" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="698519a7-51be-4423-8f0d-ba6c8a34b656" name="ProxyPassword" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="e369517c-5113-44e0-83dd-2b50a7b2bcce" name="ProxyUsername" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="67212a5f-3fc2-4d89-a029-6742a9de3c60" name="ProxyAddress" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="742ab949-452e-4d7b-b595-8731fdc10f3a" name="CaseWaitingReason" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="150" y="-60" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7fa9b5cb-fe30-4273-bc61-915ea7d2da7b" name="CaseWaitingType" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="225" y="-105" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4a97af71-55e9-4fb4-8044-22253278efc5" name="CaseWaitingUntil" type="Data"><subsheetid>0489e8eb-11d1-4e76-b5b3-6e9af8c2b8f4</subsheetid><display x="150" y="-150" /><datatype>date</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="501f8fde-117a-46ad-9914-f4311ed98255" name="SetTicketStatusInProgress" type="SubSheetInfo"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><narrative>The Set Ticket Status InProgress Action allows you to Set the status of the ticket to InProgress and also can be updated with the 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 Actions before using the Set Ticket Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="bc349fe0-58dd-4d96-b36f-4c89a73bc514" name="Start" type="Start"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><loginhibit /><display x="0" y="-105" /><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>612f6c7c-c7cd-4cd7-a582-8eabb2bbd75b</onsuccess></stage><stage stageid="781ae5d1-9ab3-43ff-82f0-8c75e26e65b8" name="End" type="End"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><loginhibit /><display x="0" y="45" /><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="612f6c7c-c7cd-4cd7-a582-8eabb2bbd75b" name="SetTicketStatusInProgress" type="Code"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><loginhibit /><display x="0" y="-15" /><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>781ae5d1-9ab3-43ff-82f0-8c75e26e65b8</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusInProgress(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket)
]]></code></stage><stage stageid="765511bd-e7a7-42f2-84d6-f4e4a279488d" name="URL" type="Data"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f7883661-63b8-4276-99ef-d1775d807842" name="Token" type="Data"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9d45ef39-2712-4f3c-9f28-5e6db0f3bcfd" name="Result" type="Data"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="dda768d8-9cb1-41bd-b277-bcdc9694c759" name="ProxyPassword" type="Data"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="5ebae427-f290-4451-8b69-3e9824a0b8f6" name="ProxyUsername" type="Data"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="25ca3def-5a6f-4b49-83e8-7aae71de025f" name="ProxyAddress" type="Data"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e29edbf0-84a9-4e3f-a71a-04d342e3330d" name="TicketPacket" type="Data"><subsheetid>f99b0086-28ed-4085-92b6-479bdb291aa3</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="39f0fc1e-edb7-4a16-a6d8-b67e88f167c8" name="SetTicketStatusToDo" type="SubSheetInfo"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><narrative>The Set Ticket Status ToDo Action allows you to Set the status of the ticket to ToDo and also can be updated with the 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 Actions before using the Set Ticket Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="1b753a0b-0eac-446c-8dbc-b65b6495cceb" name="Start" type="Start"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><loginhibit /><display x="0" y="-105" /><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>07d2ef73-6a90-4251-9cb7-6316150c2e69</onsuccess></stage><stage stageid="fd389522-2ce5-4c2c-8144-b8bb4827ec26" name="End" type="End"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><loginhibit /><display x="0" y="45" /><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="07d2ef73-6a90-4251-9cb7-6316150c2e69" name="SetTicketStatusToDo" type="Code"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><loginhibit /><display x="0" y="-15" /><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>fd389522-2ce5-4c2c-8144-b8bb4827ec26</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusToDo(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket)
]]></code></stage><stage stageid="fbc183a1-17ab-48b9-80a3-7d60f5b8e77a" name="URL" type="Data"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a2155f64-a0b6-449f-9412-0ef631a09dba" name="Token" type="Data"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c17859b0-05d5-4592-bade-324f0a1d2efb" name="Result" type="Data"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="06e2c02e-4502-44b0-b217-704619e5122c" name="ProxyPassword" type="Data"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="c245b6b4-74fa-4180-bc7a-399f34a0d718" name="ProxyUsername" type="Data"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9aca2a16-56fd-47d8-a793-188d7a6ddd10" name="ProxyAddress" type="Data"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="493c1ec0-a29b-432b-b41f-c4c48b3260a9" name="TicketPacket" type="Data"><subsheetid>1550c4eb-d0d4-4d00-bd01-9b27402ee763</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="347281de-93d8-4e5e-9584-46e06efd245c" name="SetTicketStatusReject" type="SubSheetInfo"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><narrative>The Set Ticket Status Reject Action allows you to Set the status of the ticket to Reject and also can be updated with the 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 Actions before using the Set Ticket Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="4ba49676-8e0f-4af7-8993-408e8a42bf09" name="Start" type="Start"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><loginhibit /><display x="0" y="-105" /><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>4388f953-5cb2-434a-b4fc-2d2abd3c2cf3</onsuccess></stage><stage stageid="72d5ec0f-0465-4769-b6b8-0e230441df67" name="End" type="End"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><loginhibit /><display x="0" y="45" /><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="4388f953-5cb2-434a-b4fc-2d2abd3c2cf3" name="SetTicketStatusReject" type="Code"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><loginhibit /><display x="0" y="-15" /><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>72d5ec0f-0465-4769-b6b8-0e230441df67</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusReject(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket)
]]></code></stage><stage stageid="4a4d7d94-e9c4-4d07-8887-04ac0e684ba4" name="URL" type="Data"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d6aefc0d-783f-490e-966f-4f634b5cd249" name="Token" type="Data"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bd1d8510-493b-4542-a4ae-064ae1447732" name="Result" type="Data"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="dde1e891-77bc-4219-83ba-4942aa4dc1ea" name="ProxyPassword" type="Data"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="c7663697-e6ae-447b-8fa1-8f8cd818a1bd" name="ProxyUsername" type="Data"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="29df1c3f-cf26-43c4-aeb4-4cec59119670" name="ProxyAddress" type="Data"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="934ad82d-c345-409a-94ad-feef178f5e1e" name="TicketPacket" type="Data"><subsheetid>99af1507-c61f-4ab3-9872-1688474eec9d</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="55bee770-49a3-4416-8bb6-5cab7f4ca53b" name="SetTicketStatusRejectAsSpam" type="SubSheetInfo"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><narrative>The Set Ticket Status RejectAsSpam Action allows you to Set the status of the ticket to RejectAsSpam and also can be updated with the 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 Actions before using the Set Ticket Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="e8799d15-6998-46ca-af4a-40b58a00e8ec" name="Start" type="Start"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><loginhibit /><display x="0" y="-105" /><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>ee2bf9c9-83b6-4f66-8ffa-e8fc13f119e4</onsuccess></stage><stage stageid="bf4145ea-eebe-4cb9-9f3a-da569e4bb4a3" name="End" type="End"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><loginhibit /><display x="0" y="45" /><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="ee2bf9c9-83b6-4f66-8ffa-e8fc13f119e4" name="SetTicketStatusRejectAsSpam" type="Code"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><loginhibit /><display x="0" y="-15" /><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>bf4145ea-eebe-4cb9-9f3a-da569e4bb4a3</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusRejectAsSpam(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket)
]]></code></stage><stage stageid="6cd77ea7-8f8b-43ac-aa27-6d3be8930bc9" name="URL" type="Data"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="efe45616-1a42-489e-b8cf-948df7b00f5b" name="Token" type="Data"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fe4b92c1-870e-41e1-900e-32a6afe4a0c7" name="Result" type="Data"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e038cdfa-ae85-4801-adf6-a50be4323050" name="ProxyPassword" type="Data"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="041ac0db-0ff7-4b24-bad0-852297237c96" name="ProxyUsername" type="Data"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b67a5388-0547-465f-a1dd-cd12518703a2" name="ProxyAddress" type="Data"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ce382888-3323-4245-8210-737597eb735d" name="TicketPacket" type="Data"><subsheetid>dc47c7f2-9c40-42cb-b31f-d695dde83a34</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c3c064a6-df67-413c-b323-1a5cf6aeac9d" name="SetTicketStatusResolveDueToNoResponse" type="SubSheetInfo"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><narrative>The Set Ticket Status ResolveDueToNoResponse Action allows you to Set the status of the ticket to ResolveDueToNoResponse and also can be updated with the 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 Actions before using the Set Ticket Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="6e67d5a9-5de4-46da-ace3-44ae5bd5244e" name="Start" type="Start"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><loginhibit /><display x="0" y="-105" /><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>d07c75eb-cfc9-4774-8152-e3fc05efc236</onsuccess></stage><stage stageid="b6e7738b-63ec-405e-b75e-de0a22081ce1" name="End" type="End"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><loginhibit /><display x="0" y="45" /><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="d07c75eb-cfc9-4774-8152-e3fc05efc236" name="SetTicketStatusResolveDueToNoResponse" type="Code"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><loginhibit /><display x="0" y="-15" /><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>b6e7738b-63ec-405e-b75e-de0a22081ce1</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusResolveDueToNoResponse(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket)
]]></code></stage><stage stageid="c5c75515-ac82-45d7-b978-bb680eb5ce93" name="URL" type="Data"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="07b41af8-3979-4d59-b564-1cc7d79288cd" name="Token" type="Data"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bc6c1cc7-c65a-4ccf-991d-eeb6784fbcd5" name="Result" type="Data"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1686a489-9f81-467a-b2ab-972f8c347c82" name="ProxyPassword" type="Data"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="914f2357-7c97-4682-a233-31f3f55a2afa" name="ProxyUsername" type="Data"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d408e119-a47b-4976-904a-d8df64f2d974" name="ProxyAddress" type="Data"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8bfcc0a9-c782-4a13-bbf0-a1f3e0c6487d" name="TicketPacket" type="Data"><subsheetid>9f23ad02-c07a-4ab8-a737-aeb38df237f4</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0e62ad13-39ae-4394-ad89-17a88db9825d" name="SetActionStatusInProgress" type="SubSheetInfo"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><narrative>The Set Action Status InProgress Action allows you to Set the status of the action to InProgress and also can be updated with the 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 Set action Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="57c33866-ffc6-484a-aa9b-da25563c9908" name="Start" type="Start"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><loginhibit /><display x="0" y="-105" /><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>97e7d9e1-8221-41bc-a231-cd4582ccecbe</onsuccess></stage><stage stageid="25648dfa-1266-4e8d-8595-db76c3542439" name="End" type="End"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="ActionPacket" narrative="Returns the updated ActionPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="97e7d9e1-8221-41bc-a231-cd4582ccecbe" name="SetActionStatusInProgress" type="Code"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><loginhibit /><display x="0" y="-15" /><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>25648dfa-1266-4e8d-8595-db76c3542439</onsuccess><code><![CDATA[ActionPacketResult = ActionStatusInProgress(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ActionPacket)
]]></code></stage><stage stageid="8f487d96-5bb2-429b-9d63-8de587ceb036" name="URL" type="Data"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0fad5152-9cc2-4e47-9170-497104b2d3dc" name="Token" type="Data"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6fb4e680-f850-4fbd-b166-a4bbf9545866" name="Result" type="Data"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5ff46f10-f3d4-40e8-93d6-60a9d049d051" name="ProxyPassword" type="Data"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="0a72a5e7-1ad1-403f-98c9-b52a61960576" name="ProxyUsername" type="Data"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6970032a-7d08-402a-9e49-096efd1d302f" name="ProxyAddress" type="Data"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5bef4c6f-a3af-42c8-aaed-3fafe670cd89" name="ActionPacket" type="Data"><subsheetid>d35ea78b-a219-42bc-b651-d40e17bfef1c</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7ffe21a8-8dc2-4fdf-b9b1-e61f052d3770" name="SetActionStatusToDo" type="SubSheetInfo"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><narrative>The Set Action Status ToDo Action allows you to Set the status of the action to ToDo and also can be updated with the 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 Set action Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="c15ce385-9a1e-438b-b6ca-5f193b3ef438" name="Start" type="Start"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><loginhibit /><display x="0" y="-105" /><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>11fe2b75-2d04-4434-8640-7f26ff4cc634</onsuccess></stage><stage stageid="2679b36b-2988-418a-959f-cacbf26a2117" name="End" type="End"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="ActionPacket" narrative="Returns the updated ActionPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="11fe2b75-2d04-4434-8640-7f26ff4cc634" name="SetActionStatusToDo" type="Code"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><loginhibit /><display x="0" y="-15" /><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>2679b36b-2988-418a-959f-cacbf26a2117</onsuccess><code><![CDATA[ActionPacketResult = ActionStatusToDo(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ActionPacket)
]]></code></stage><stage stageid="a02c7e03-d832-4f0c-9783-a254878fdb9b" name="URL" type="Data"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="eea4abe2-76ef-4c77-864e-80369fa60a3e" name="Token" type="Data"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ae482d05-21ba-497f-b11e-746060b9a7d4" name="Result" type="Data"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ef9b9836-49b7-4554-ab19-8fd1b83dc572" name="ProxyPassword" type="Data"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="5f76dff1-c098-46ca-960a-df3bcbcb5991" name="ProxyUsername" type="Data"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="29fe1910-2d3e-4593-b414-300a90f8e583" name="ProxyAddress" type="Data"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="818c139f-bf52-4c6c-95c1-a74afae459d6" name="ActionPacket" type="Data"><subsheetid>d9a3c6d2-b95d-41ef-9398-fa3d1b168dd1</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5697c413-83aa-468c-a954-e4b1daa4a5eb" name="SetActionStatusResolveSuccessfully" type="SubSheetInfo"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><narrative>The Set Action Status ResolveSuccessfully Action allows you to Set the status of the action to ResolveSuccessfully and also can be updated with the 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 Set action Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="7286e711-f7b7-4643-8092-2df73bdff78c" name="Start" type="Start"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><loginhibit /><display x="0" y="-105" /><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>3163942b-712c-4f1a-97b5-b0f42cc6bea8</onsuccess></stage><stage stageid="567043f5-0812-4404-ab63-a2cbb8e846a9" name="End" type="End"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="ActionPacket" narrative="Returns the updated ActionPacket Json String which represents a Action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="3163942b-712c-4f1a-97b5-b0f42cc6bea8" name="SetActionStatusResolveSuccessfully" type="Code"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><loginhibit /><display x="0" y="-15" /><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>567043f5-0812-4404-ab63-a2cbb8e846a9</onsuccess><code><![CDATA[ActionPacketResult = ActionStatusResolveSuccessfully(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ActionPacket)
]]></code></stage><stage stageid="f578f55c-d858-4156-9962-4f92c60e049a" name="URL" type="Data"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a0f0d091-6352-4952-9dfa-2b219a9d654c" name="Token" type="Data"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ec72b279-35ee-420e-bab8-03a1cfaac327" name="Result" type="Data"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="21281f19-ecb3-4c2c-bb48-e5dbb52156f9" name="ProxyPassword" type="Data"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="34e7a379-491c-49e4-b89f-c601ef05ceb6" name="ProxyUsername" type="Data"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="53cca3d9-3491-4192-a45a-867f2e6095dc" name="ProxyAddress" type="Data"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="28079c75-a5cc-4ec6-a61a-990312296fb0" name="ActionPacket" type="Data"><subsheetid>2270d87d-241b-4b8e-b9b4-98ea8ad2ca68</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="dd2434bb-05b8-4f0d-98d2-2cdc6ffd645c" name="SetActionStatusResolveUnSuccessfully" type="SubSheetInfo"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><narrative>The Set Action Status ResolveUnSuccessfully Action allows you to Set the status of the action to ResolveUnSuccessfully and also can be updated with the 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 Set action Status Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="791924e5-e970-4276-b590-f508f52eaf5c" name="Start" type="Start"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><loginhibit /><display x="0" y="-105" /><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="Reason" narrative="Reason why the action is unsuccessfull" stage="Reason" /><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>ce8f87b5-7a7c-4338-bca3-f7966f8751bd</onsuccess></stage><stage stageid="68e744d0-5098-446d-aa42-3a6358cf29f1" name="End" type="End"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="ActionPacket" narrative="Returns the updated ActionPacket Json String which represents a Action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="ce8f87b5-7a7c-4338-bca3-f7966f8751bd" name="SetActionStatusResolveUnSuccessfully" type="Code"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><loginhibit /><display x="0" y="-15" /><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="Reason" expr="[Reason]" /><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>68e744d0-5098-446d-aa42-3a6358cf29f1</onsuccess><code><![CDATA[ActionPacketResult = ActionStatusResolveUnsuccessfully(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ActionPacket,Reason)
]]></code></stage><stage stageid="be0dd869-6db1-444b-86e5-60421eda05fd" name="URL" type="Data"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9be60b09-7f39-4c70-ba3f-97a550d26d76" name="Token" type="Data"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="10efd903-1870-4ac0-83ce-f36e462c0266" name="Result" type="Data"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="757bb431-5394-4695-aff5-aa64922fe36e" name="ProxyPassword" type="Data"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="87b1247d-2ed4-4554-8e79-2e0fe4692ee9" name="ProxyUsername" type="Data"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="569cc1da-d162-4d8d-b95c-06d00536d97c" name="ProxyAddress" type="Data"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b7db6ebe-cd6b-49ae-a130-feb5eb39757b" name="ActionPacket" type="Data"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5e2934bb-310e-4755-bb00-88cdac37834d" name="Reason" type="Data"><subsheetid>bcf6edc5-9a60-4231-95cb-49c05c6a7a60</subsheetid><display x="225" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="14bacff6-d0fa-4fdf-af16-d8cb18c0ec68" name="SetActionStatusWaiting" type="SubSheetInfo"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><narrative>The Set action Status Waiting Action allows you to Set the status of the action to waiting and also can be updated with the 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 Set action State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="dfff9ea4-71f3-463d-9783-c7446fb36ff3" name="Start" type="Start"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><loginhibit /><display x="0" y="-105" /><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 Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="ActionPacket" /><input type="number" name="ActionWaitingType" narrative="MoreInformation = 0, FutureDate = 1, RelatedPackets = 2, Forever = 3, ExternalSystem = 4" stage="ActionWaitingType" /><input type="datetime" name="ActionWaitingUntil" narrative="Period until which the action should wait for Info" stage="ActionWaitingUntil" /><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>394988b2-0cb9-4304-8705-7ee487412443</onsuccess></stage><stage stageid="65de12e2-9806-4559-bc6e-8a210a89b76b" name="End" type="End"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="ActionPacket" narrative="Returns the updated ActionPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="394988b2-0cb9-4304-8705-7ee487412443" name="SetActionStatusWaiting" type="Code"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><loginhibit /><display x="0" y="-15" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="ActionPacket" expr="[ActionPacket]" /><input type="number" name="ActionWaitingType" expr="[ActionWaitingType]" /><input type="datetime" name="ActionWaitingUntil" expr="[ActionWaitingUntil]" /><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>65de12e2-9806-4559-bc6e-8a210a89b76b</onsuccess><code><![CDATA[ActionPacketResult = ActionStatusWaiting(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, ActionPacket,ActionWaitingType,ActionWaitingUntil)
]]></code></stage><stage stageid="825827de-7499-4f9b-9760-e1dd80369b6a" name="URL" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2b45e574-95b5-45f9-be23-e909a7a9f2aa" name="Token" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8e778fec-fdbb-44ed-8c5b-09946a9e4e08" name="Result" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1aa0a9c3-7f0e-4c46-a625-7007e4862097" name="ProxyPassword" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="c2ea2126-d330-406f-8c4b-92ad657c4cc4" name="ProxyUsername" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="72c812fa-e482-404f-8940-6a69b5a5fbc5" name="ProxyAddress" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a4218ecc-9af0-4f91-a1a7-c3ec4ab9fd6c" name="ActionPacket" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c394a75c-9481-4e6f-967c-7f6682e296ef" name="ActionWaitingType" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="225" y="-105" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a6ac0545-e14a-416d-9099-0eeedb1c293a" name="SetTicketStatusLaunchCase" type="SubSheetInfo"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><narrative>The Set ticket Status launch caseAction allows you to Set the status of the ticket to launch case and also can be updated with the 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 Actions before using the Set ticket State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="86057369-521c-47d1-bf33-2be5c74887e5" name="Start" type="Start"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><loginhibit /><display x="0" y="-105" /><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 Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="TicketPacket" /><input type="text" name="CaseAttributeGUID" narrative="Guid of the case to launch" stage="CaseAttributeGUID" /><input type="text" name="LaunchCaseOverrideDueDate" narrative="Over ride due date for the case to launch" stage="LaunchCaseOverrideDueDate" /><input type="text" name="SchedulePeriodGUID" narrative="schedule period guid of the case" stage="SchedulePeriodGUID" /><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>b288541c-959a-433c-8083-b9caf5e7dbc0</onsuccess></stage><stage stageid="9a234b6d-49d2-4989-9950-81da8b4976e1" name="End" type="End"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="b288541c-959a-433c-8083-b9caf5e7dbc0" name="SetTicketStatusLaunchCase" type="Code"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><loginhibit /><display x="0" y="-15" /><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="CaseAttributeGUID" expr="[CaseAttributeGUID]" /><input type="text" name="LaunchCaseOverrideDueDate" expr="[LaunchCaseOverrideDueDate]" /><input type="text" name="SchedulePeriodGUID" expr="[SchedulePeriodGUID]" /><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>9a234b6d-49d2-4989-9950-81da8b4976e1</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusLaunchCase(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket,CaseAttributeGUID,LaunchCaseOverrideDueDate,SchedulePeriodGUID)
]]></code></stage><stage stageid="42601807-8386-4f81-b9eb-8e3cad489876" name="URL" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c07c4c55-047d-4f60-8056-fc4354652319" name="Token" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="244635f1-e218-49e9-8d8d-203ed5a11eef" name="Result" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cd515060-0eaa-4f4d-85f9-d9ab687d859f" name="ProxyPassword" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="81e3df59-25f6-4aa4-8455-a4cefef77f4d" name="ProxyUsername" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1a5caae0-301a-4de6-adf6-af1f6059419d" name="ProxyAddress" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e238f882-04b3-4dc8-aa0a-0ec1ab86f713" name="TicketPacket" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1fdc8d6a-3e62-4b9e-a3e0-8971e6d3dc0c" name="CaseAttributeGUID" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="225" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fe2406d4-9c70-4bc3-86cf-da353408be23" name="SchedulePeriodGUID" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="150" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4d3a7a5f-cdac-4a4a-af7c-2624108a9fc2" name="SetTicketStatusMerge" type="SubSheetInfo"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><narrative>The Set ticket Status Merge Action allows you to Set the status of the ticket to Merge and also can be updated with the 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 Actions before using the Set ticket State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="6d62d568-c380-47c9-acd5-02f709d58e03" name="Start" type="Start"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><loginhibit /><display x="0" y="-105" /><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 Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="TicketPacket" /><input type="text" name="TargetPacketGUID" narrative="Guid of the ticket to merge with" stage="TargetPacketGUID" /><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>9a678d2b-0eb3-4bca-995c-b541c9c8c827</onsuccess></stage><stage stageid="6f3e80d7-1694-49a9-82b2-cafb54adb119" name="End" type="End"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="9a678d2b-0eb3-4bca-995c-b541c9c8c827" name="SetTicketStatusMerge" type="Code"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><loginhibit /><display x="0" y="-15" /><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="TargetPacketGUID" expr="[TargetPacketGUID]" /><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>6f3e80d7-1694-49a9-82b2-cafb54adb119</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusMerge(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket,TargetPacketGUID)
]]></code></stage><stage stageid="813237b8-623d-46a9-b9ca-c31d5cf199fb" name="URL" type="Data"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ea8b1c3f-c461-4328-b9c3-4b4ca788e857" name="Token" type="Data"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ba0bc112-f3a3-4a15-95c9-4a67044fe26d" name="Result" type="Data"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="41a724ab-ddb1-4d8c-9325-5f979d5fa689" name="ProxyPassword" type="Data"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="fec50d96-a449-4517-b758-3a2f712f86a8" name="ProxyUsername" type="Data"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a97117d7-ef82-4fcb-98ad-e8e6a31dff2a" name="ProxyAddress" type="Data"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="be05b430-4968-4d01-9d88-9543fdc6b897" name="TicketPacket" type="Data"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5dcdf796-e803-4f94-9ca4-7043cfea55d7" name="TargetPacketGUID" type="Data"><subsheetid>dd1fdb04-cd47-4bdc-8091-570563398964</subsheetid><display x="210" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="35f0008b-ce7c-45e3-9e8a-c9aae0a20423" name="SetTicketStatusResolved" type="SubSheetInfo"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><narrative>The Set ticket Status Resolved Action allows you to Set the status of the ticket to Resolved nd also can be updated with the 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 Actions before using the Set ticket State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="ac7b5f9f-3ce1-4a14-b7f9-190e79c3b982" name="Start" type="Start"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><loginhibit /><display x="0" y="-105" /><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 Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="TicketPacket" /><input type="text" name="NewCommunication" narrative="Communication to resolve the ticket" stage="NewCommunication" /><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>2edefe35-98e6-43b3-8076-67267794421a</onsuccess></stage><stage stageid="35d6682c-49c9-4c45-9edc-d1d7f7f2caff" name="End" type="End"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="2edefe35-98e6-43b3-8076-67267794421a" name="SetTicketStatusResolved" type="Code"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><loginhibit /><display x="0" y="-15" /><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="NewCommunication" expr="[NewCommunication]" /><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>35d6682c-49c9-4c45-9edc-d1d7f7f2caff</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusResolved(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket,NewCommunication)
]]></code></stage><stage stageid="d0efe7fb-e8f7-480c-b1dc-a50ffa4c6655" name="URL" type="Data"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4bb18142-f37d-4336-a477-e3710e23e6af" name="Token" type="Data"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9b98a9f5-512f-43fd-a669-3f5525b89217" name="Result" type="Data"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e7cb58bc-a9ce-4ba2-8acc-c70db15f88eb" name="ProxyPassword" type="Data"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="794243c2-4cc1-46a4-afba-fc411e56abf7" name="ProxyUsername" type="Data"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1b89fcad-bf1b-4355-bef0-903ae025ade4" name="ProxyAddress" type="Data"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f72bd8f9-9da5-40a1-a399-061a30cdcfb1" name="TicketPacket" type="Data"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a8648972-f948-416c-8266-cff5ed5789c7" name="NewCommunication" type="Data"><subsheetid>57ce37e6-707c-4ac7-b6e0-6f1d3ad06cbe</subsheetid><display x="225" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="76fc0d34-31d5-465f-927a-fbc84575fbb0" name="SetTicketStatusSplit" type="SubSheetInfo"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><narrative>The Set ticket Status split Action allows you to Set the status of the ticket to split nd also can be updated with the 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 Actions before using the Set ticket State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="4ddede1a-ee0d-45b1-8c4d-d1324376f87a" name="Start" type="Start"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><loginhibit /><display x="0" y="-105" /><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 Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="TicketPacket" /><input type="text" name="SplitTicket" narrative="ticket details to split" stage="SplitTicket" /><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>ae76e4ff-5af3-4764-ba7b-d98fe785f805</onsuccess></stage><stage stageid="b6ae60f1-1675-4c8d-814c-a8767b0766d6" name="End" type="End"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="ae76e4ff-5af3-4764-ba7b-d98fe785f805" name="SetTicketStatusSplit" type="Code"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><loginhibit /><display x="0" y="-15" /><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="SplitTicket" expr="[SplitTicket]" /><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>b6ae60f1-1675-4c8d-814c-a8767b0766d6</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusSplit(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket,SplitTicket)
]]></code></stage><stage stageid="70f99fd2-bad0-4fbd-8eba-6ecbce5f4ebc" name="URL" type="Data"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="eaa0abf2-0dbe-42c2-9006-c3208dce9eaa" name="Token" type="Data"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="51af8e28-2836-4129-9b6e-6cbcd5ea3d25" name="Result" type="Data"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="be9ae15d-673e-4718-b3d8-a5cf9bf8ce1d" name="ProxyPassword" type="Data"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="9f58f685-a5c0-4025-8694-d4f19f560bc0" name="ProxyUsername" type="Data"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="cdca4780-ac13-478b-8341-4ba2cb55084a" name="ProxyAddress" type="Data"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d75058a9-99a0-4ae3-a3ec-5d0c87d46be4" name="TicketPacket" type="Data"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="737aab1e-ec9a-4b75-b476-431d4b6f083a" name="SplitTicket" type="Data"><subsheetid>672ff222-aac0-4e03-80b2-12884c3166d5</subsheetid><display x="225" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bbd59ceb-5460-44b2-bcdf-51529b3ccf8e" name="SetTicketStatusWaiting" type="SubSheetInfo"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><narrative>The Set ticket Status waiting Action allows you to Set the status of the ticket to waiting and also can be updated with the 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 Actions before using the Set ticket State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="f94dfaa1-3149-4da2-af60-094cd1fa068b" name="Start" type="Start"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><loginhibit /><display x="0" y="-105" /><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 Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="TicketPacket" /><input type="number" name="WaitType" narrative="MoreInformation = 0, FutureDate = 1, RelatedPackets = 2, Forever = 3, ExternalSystem = 4" stage="WaitType" /><input type="number" name="DaysToWaitForMoreInformation" narrative="Number of days to wait for info" stage="DaysToWaitForMoreInformation" /><input type="datetime" name="WaitForMoreInformationUntil" narrative="until which time the packet should wait for info" stage="WaitForMoreInformationUntil" /><input type="flag" name="CloseIfNoResponseReceived" narrative="Boolean value Close If No Response Received" stage="CloseIfNoResponseReceived" /><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>5bdbb2fd-43c5-41ed-a454-1044fb33aff6</onsuccess></stage><stage stageid="f7e974e6-2a98-4dce-bb22-8b4d58a15c36" name="End" type="End"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="5bdbb2fd-43c5-41ed-a454-1044fb33aff6" name="SetTicketStatusWaiting" type="Code"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><loginhibit /><display x="0" y="-15" /><inputs><input type="text" name="URL" expr="[URL]" /><input type="text" name="Token" expr="[Token]" /><input type="text" name="TicketPacket" expr="[TicketPacket]" /><input type="number" name="WaitType" expr="[WaitType]" /><input type="number" name="DaysToWaitForMoreInformation" expr="[DaysToWaitForMoreInformation]" /><input type="flag" name="CloseIfNoResponseReceived" expr="[CloseIfNoResponseReceived]" /><input type="datetime" name="WaitForMoreInformationUntil" expr="[WaitForMoreInformationUntil]" /><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>f7e974e6-2a98-4dce-bb22-8b4d58a15c36</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusWaiting(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket,WaitType,DaysToWaitForMoreInformation,CloseIfNoResponseReceived,WaitForMoreInformationUntil)
]]></code></stage><stage stageid="0a86322c-5af4-435c-acbb-bae7ddf1e00e" name="URL" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0768b831-e29b-420a-887d-ea29277c6219" name="Token" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8c61ed86-361f-4e3e-bd78-0b5a065dab04" name="Result" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7847c877-8380-42d0-8f02-439edf71c6cc" name="ProxyPassword" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="b409c211-86bc-4365-921b-6d8e387fc83f" name="ProxyUsername" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="87631d23-86a2-4340-a3a6-b004fc512c43" name="ProxyAddress" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="57d99894-7a91-499e-9323-48ef1937894b" name="TicketPacket" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c0d1706f-2931-4b3d-9499-476bdcf5c561" name="CloseIfNoResponseReceived" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="150" y="-60" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fa2c4086-5156-4a72-b5cb-a5c7a3cba689" name="DaysToWaitForMoreInformation" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="150" y="-150" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="50f491b6-65ed-4664-a9c2-21889bf17db7" name="WaitType" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="225" y="-105" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b339a659-e20a-4ec8-a1cc-819bac1849fa" name="SetTicketStatusMergeInto" type="SubSheetInfo"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><narrative>The Set ticket Status MergeInto Action allows you to Set the status of the ticket to MergeInto and also can be updated with the 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 Actions before using the Set ticket State Action.</narrative><display x="-195" y="-105" w="150" h="90" /></stage><stage stageid="89f8568b-10ac-40b4-b716-825ad0337cb9" name="Start" type="Start"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><loginhibit /><display x="0" y="-105" /><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 Case which you want to update in the Enate Platform.   *See CasePacket DTO in Enate RPA Developers Guide for more information" stage="TicketPacket" /><input type="text" name="TargetPacketGUIDs" narrative="list of Guid of the ticket to merge with" stage="TargetPacketGUIDs" /><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>dda086a0-1435-4255-a209-8d1012350f87</onsuccess></stage><stage stageid="43c80fdf-6d54-4181-b138-f62f068b2737" name="End" type="End"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><loginhibit /><display x="0" y="45" /><outputs><output type="text" name="TicketPacket" narrative="Returns the updated TicketPacket Json String which represents a action in the Enate Platform." stage="Result" /></outputs></stage><stage stageid="dda086a0-1435-4255-a209-8d1012350f87" name="SetTicketStatusMergeInto" type="Code"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><loginhibit /><display x="0" y="-15" /><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="TargetPacketGUIDs" expr="[TargetPacketGUIDs]" /><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>43c80fdf-6d54-4181-b138-f62f068b2737</onsuccess><code><![CDATA[TicketPacketResult = TicketStatusMergeInto(URL, Token, ProxyAddress, ProxyUsername, ProxyPassword, TicketPacket,TargetPacketGUIDs)
]]></code></stage><stage stageid="9b7b4cdd-b0e2-494d-8375-d1d100075976" name="URL" type="Data"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><display x="75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="df5e4b9f-ac29-459b-bcbf-265ed4d219f2" name="Token" type="Data"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><display x="0" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2f6855a3-eb8e-4647-b2e9-894c8edbed42" name="Result" type="Data"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><display x="75" y="45" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1c9d5266-9f5b-4ac4-a94a-e5d75019fb26" name="ProxyPassword" type="Data"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><display x="150" y="-105" /><datatype>password</datatype><initialvalueenc></initialvalueenc><private /><alwaysinit /></stage><stage stageid="27dc0620-d709-422f-beb6-1897423b7360" name="ProxyUsername" type="Data"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><display x="75" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9f11ffd7-e438-4ae2-b8e5-32f9da598116" name="ProxyAddress" type="Data"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><display x="75" y="-150" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2482ce76-c61d-4207-bcbe-8398683400a0" name="TicketPacket" type="Data"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><display x="-75" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fdb63a3c-d116-4423-886f-3ca8c2408458" name="TargetPacketGUIDs" type="Data"><subsheetid>12644d86-4410-49d6-8294-6301ba523968</subsheetid><display x="210" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9b8464f8-20b2-40cb-b638-2d3df8191a48" name="CaseGuid" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><display x="345" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="48143c2d-7d32-46e0-9040-b868635ee35d" name="ProcessVersionInstanceGUID" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><display x="270" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bd0d2830-f78d-4822-99b6-58eda9f3b664" name="SchedulePeriodGUID" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><display x="420" y="-105" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b3a47fe3-509f-41a3-8feb-1251cff87738" name="CopyWorkItemDataType" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><display x="345" y="-150" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="29898951-94d7-4d3b-a12a-a9cd640b9f1c" name="OverrideDueDate" type="Data"><subsheetid>e0b0d165-5b3a-45db-8217-4e5144c2c210</subsheetid><display x="90" y="-105" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3747b594-e18e-4ffd-8331-66680ea75543" name="ActionWaitingUntil" type="Data"><subsheetid>9750d7d7-e236-4f1a-815a-8a88a567ee67</subsheetid><display x="150" y="-60" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fc71ad24-3bed-48d0-81da-78720d4b9c16" name="WaitForMoreInformationUntil" type="Data"><subsheetid>2d4f5c68-e932-419e-abea-f66dcd5ca779</subsheetid><display x="300" y="-105" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="af539fc3-4e70-4e3c-9eca-eb4a9b37dd15" name="LaunchCaseOverrideDueDate" type="Data"><subsheetid>75a3d7df-71ec-4d39-a85e-8a085de34091</subsheetid><display x="150" y="-60" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage></process></object>
        <process-group id="9dda9933-d784-4fa1-94e8-358323cba6c3" name="Default" isDefaultGroup="True" xmlns="http://www.blueprism.co.uk/product/process-group">
            <members>
                <process id="d4021860-f161-4b9c-9f60-e32a1bff1f6a" />
                <process id="3430b95e-4c13-43e9-afeb-d44900cac880" />
                <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="92415466-f20f-4fd9-b608-847ad0eec429" 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>