-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProcess - Exemple.bprelease
132 lines (101 loc) · 845 KB
/
Process - Exemple.bprelease
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="utf-8"?>
<bpr:release xmlns:bpr="http://www.blueprism.co.uk/product/release">
<bpr:name>Process Examples 2</bpr:name>
<bpr:release-notes>x</bpr:release-notes>
<bpr:created>2013-06-10 09:07:02Z</bpr:created>
<bpr:package-id>2</bpr:package-id>
<bpr:package-name>Process Examples</bpr:package-name>
<bpr:user-created-by>admin</bpr:user-created-by>
<bpr:contents count="8">
<process id="bff5ece9-4d52-450c-bf45-5aceef9b3112" name="Process Examples - Adding work to a queue" xmlns="http://www.blueprism.co.uk/product/process"><process name="Process Examples - Adding work to a queue" version="1.0" narrative="Various examples of adding new items to a work queue"><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc" type="Normal" published="False"><name>Populate Queue (add items all at once)</name><view><camerax>0</camerax><cameray>56</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="6ff74152-eba4-44cb-97d7-eb691c7455b2" type="Normal" published="False"><name>Populate Queue (add items one at a time)</name><view><camerax>0</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="9393ea8b-0143-410d-b266-ccb025a1ac82" type="Normal" published="False"><name>Populate Queue (add items with a new key field)</name><view><camerax>0</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="6da72cc7-81b7-481e-93de-9f5b8f3c0796" type="Normal" published="False"><name>Populate Queue (add items with a tag)</name><view><camerax>0</camerax><cameray>104</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="020feaff-d29c-47af-bef4-a6272df073d3" type="Normal" published="False"><name>Populate Queue (add items with a status)</name><view><camerax>0</camerax><cameray>168</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="79a39e7a-3b75-49a0-af37-d13ff918c434" type="Normal" published="False"><name>Populate Queue (add items with a priority)</name><view><camerax>51</camerax><cameray>296</cameray><zoom>0.8</zoom></view></subsheet><subsheet subsheetid="5eda4475-74e9-4ec9-89cd-cf7ee636ce4a" type="Normal" published="False"><name>Populate Queue (add items with a deferral date)</name><view><camerax>0</camerax><cameray>62</cameray><zoom>0.8</zoom></view></subsheet><subsheet subsheetid="47332930-e6c1-484c-b26a-2ca9d8b881af" type="Normal" published="False"><name>Populate Queue (add items using different collections)</name><view><camerax>111</camerax><cameray>94</cameray><zoom>0.8</zoom></view></subsheet><subsheet subsheetid="f32dda70-fb05-4de5-8fe5-2f8e0e561f2a" type="Normal" published="False"><name>Populate Queue (ignore blank rows)</name><view><camerax>51</camerax><cameray>213</cameray><zoom>1.2</zoom></view></subsheet><subsheet subsheetid="756db72c-cee4-4f4b-a658-d3061b7679d2" type="Normal" published="False"><name>Populate Queue (ignore duplicate item key)</name><view><camerax>51</camerax><cameray>165</cameray><zoom>1.1</zoom></view></subsheet><subsheet subsheetid="c3151635-b6fc-4ce0-b2ed-c3eb440e4b09" type="Normal" published="False"><name>Populate Queue (mark duplicate item key)</name><view><camerax>51</camerax><cameray>117</cameray><zoom>1.2</zoom></view></subsheet><subsheet subsheetid="9a801d71-045e-4cf6-94b5-6474d7a34a65" type="Normal" published="False"><name>Populate Queue (check duplicate item key)</name><view><camerax>51</camerax><cameray>-32</cameray><zoom>1.1</zoom></view></subsheet><subsheet subsheetid="43c65934-a5a6-4d89-9e30-a0e85aa4dc24" type="Normal" published="False"><name>Populate Queue (with permission)</name><view><camerax>20</camerax><cameray>66</cameray><zoom>0.9</zoom></view></subsheet><subsheet subsheetid="bf0bd98c-a671-44c0-b5ea-bcc27c806e93" type="Normal" published="False"><name>Populate Queue (use transaction tag)</name><view><camerax>51</camerax><cameray>13</cameray><zoom>1.1</zoom></view></subsheet><stage stageid="c4843be0-7ec9-41c7-a86f-04865d9e3e7c" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>48f031c8-4f88-4a29-94ba-ccab421cc186</onsuccess></stage><stage stageid="dd05d944-a82c-4547-b509-f738c7de6dc5" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="d41a3076-8895-4e64-b627-4e7915ec9040" name="Populate Queue (add items one at a time)" type="SubSheetInfo"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative>In this example the source data is used to repeatedly populate a 1 row collection in order to add new irems to the queue one at a time.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="698262a0-e710-45a4-a119-2a2fd27ae717" name="Start" type="Start"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>02ed8665-2a36-477e-a41f-cb536fd5538d</onsuccess></stage><stage stageid="73b4a4de-ef8d-43c1-9505-03389fcbfa09" name="Source Data" type="Collection"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /></row></initialvalue></stage><stage stageid="02ed8665-2a36-477e-a41f-cb536fd5538d" name="Source Data" type="LoopStart"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3cd05bdb-c85d-4c3b-ae96-536d075de07f</onsuccess><groupid>fbed749a-531c-44d3-852d-3bbfcb870064</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="58a2b391-0805-4585-9efd-47b030ffccd6" name="Source Data" type="LoopEnd"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>be7b9156-94ee-4e7d-96af-f0875c400e3f</onsuccess><groupid>fbed749a-531c-44d3-852d-3bbfcb870064</groupid></stage><stage stageid="958e4750-c647-4d4b-9eff-e08292f58e24" name="New Item Data" type="Collection"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Column A" type="text" /><field name="Column B" type="text" /><field name="Column C" type="text" /></collectioninfo></stage><stage stageid="3cd05bdb-c85d-4c3b-ae96-536d075de07f" name="Add Row" type="Action"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>95be1cd4-6d17-418e-8ae8-1f896636ffc1</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="ef79e476-98d6-439a-aa2c-b762a614485e" name="Remove Row" type="Action"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>58a2b391-0805-4585-9efd-47b030ffccd6</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="95be1cd4-6d17-418e-8ae8-1f896636ffc1" name="Populate Row" type="MultipleCalculation"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0835b2bf-ff16-4a60-b07e-8d42d9de3757</onsuccess><steps><calculation expression="[Source Data.Field1]" stage="New Item Data.Column A" /><calculation expression="[Source Data.Field2]" stage="New Item Data.Column B" /><calculation expression="[Source Data.Field3]" stage="New Item Data.Column C" /></steps></stage><stage stageid="be7b9156-94ee-4e7d-96af-f0875c400e3f" name="End1" type="End"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>285</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="0835b2bf-ff16-4a60-b07e-8d42d9de3757" name="Add to Queue" type="Action"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>ef79e476-98d6-439a-aa2c-b762a614485e</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="c21b12f5-9cac-4d03-a8d4-0165de419fc0" name="Queue Name" type="Data"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="a3511209-d4ee-4d97-8780-566292210923" name="Populate Queue (add items all at once)" type="SubSheetInfo"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative>In this example the source data is used to build a collection of new items to be added to the queue in one go.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="6255ccfe-195d-4dfa-8613-40ace46186cb" name="Start" type="Start"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9b7fdb6b-496e-4cb5-b2fd-220cd8b4cc60</onsuccess></stage><stage stageid="9b7fdb6b-496e-4cb5-b2fd-220cd8b4cc60" name="Source Data" type="LoopStart"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>66bac3a0-2784-43df-95c1-0b88507fe615</onsuccess><groupid>467e680c-a248-434a-992c-df9fc9e297e8</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="a680837c-c66a-4c16-b8da-8678e0c9015e" name="Source Data" type="LoopEnd"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>03e71ca0-53aa-448c-b2d0-5baabffbd306</onsuccess><groupid>467e680c-a248-434a-992c-df9fc9e297e8</groupid></stage><stage stageid="66bac3a0-2784-43df-95c1-0b88507fe615" name="Add Row" type="Action"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>2367c7e4-ef82-48d1-8cb9-6d121ebe1ee2</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="a0de7747-9a60-49c1-9dd9-385141c4c773" name="End1" type="End"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e548bb06-d15d-4781-b4f7-0524fb93430d" name="Queue Name" type="Data"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="03e71ca0-53aa-448c-b2d0-5baabffbd306" name="Add to Queue" type="Action"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>a0de7747-9a60-49c1-9dd9-385141c4c773</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="04d19f44-31d6-4c0e-a484-77963ec99341" name="Populate Queue (add items with a new key field)" type="SubSheetInfo"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative>In this example the source data is used to create a 'key' field in the new item data collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="c2e9fc6d-23ae-424c-a517-fceea89c73df" name="Source Data" type="Collection"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row></initialvalue></stage><stage stageid="b6345fcd-4c08-4f06-a773-5c070340cbf3" name="Start" type="Start"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>97e7d9df-85de-43e7-b95a-9068be04181a</onsuccess></stage><stage stageid="5ba75377-0511-47ca-8720-ef4a66645eb9" name="Source Data" type="Collection"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row></initialvalue></stage><stage stageid="97e7d9df-85de-43e7-b95a-9068be04181a" name="Source Data" type="LoopStart"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>26d3df39-48a8-45f5-a2d3-59088cd159b8</onsuccess><groupid>dab10c34-8fd1-4b2e-b419-668298401aea</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="37e031ec-c112-4fa0-b231-88298bad9c85" name="Source Data" type="LoopEnd"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>912c2df7-f542-4497-a13a-ae437eaa1037</onsuccess><groupid>dab10c34-8fd1-4b2e-b419-668298401aea</groupid></stage><stage stageid="8db5d5b0-636a-415a-9d12-7a19525fc152" name="New Item Data" type="Collection"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Field1" type="text" /><field name="Field3" type="text" /><field name="Field5" type="text" /></collectioninfo></stage><stage stageid="26d3df39-48a8-45f5-a2d3-59088cd159b8" name="Add Row" type="Action"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>60b12c78-47c5-4d71-b1c9-8d76389b3afa</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="5f48a5e2-f8d0-4771-bb33-9a3ea462ea21" name="Remove Row" type="Action"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>37e031ec-c112-4fa0-b231-88298bad9c85</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="60b12c78-47c5-4d71-b1c9-8d76389b3afa" name="Populate Row" type="MultipleCalculation"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3d8659ab-1e7a-42f8-ba84-bebd001f275c</onsuccess><steps><calculation expression="[Source Data.Field1]&"-"&[Source Data.Field2]" stage="New Item Data.Item Key" /><calculation expression="[Source Data.Field1]" stage="New Item Data.Field1" /><calculation expression="[Source Data.Field3]" stage="New Item Data.Field3" /><calculation expression="[Source Data.Field5]" stage="New Item Data.Field5" /></steps></stage><stage stageid="912c2df7-f542-4497-a13a-ae437eaa1037" name="End1" type="End"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>15</displayx><displayy>285</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="3d8659ab-1e7a-42f8-ba84-bebd001f275c" name="Add to Queue" type="Action"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>5f48a5e2-f8d0-4771-bb33-9a3ea462ea21</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="80bae8c5-5a89-4ae1-a123-1ac6ceadc5a6" name="Queue Name" type="Data"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="cd051137-5f8c-41b0-886a-dbadfcc0c35a" name="Note2" type="Note"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative>** NB A combination of source data has been used in the key field of the new item collection</narrative><displayx>225</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>60b12c78-47c5-4d71-b1c9-8d76389b3afa</onsuccess></stage><stage stageid="9cf58962-3340-4344-8bce-5f8a01ca2128" name="Note2" type="Note"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative>** NB the new item collection does not have to use the same field names as the source</narrative><displayx>210</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>95be1cd4-6d17-418e-8ae8-1f896636ffc1</onsuccess></stage><stage stageid="3c453e85-2c61-479c-9475-515274b71e99" name="New Item Data" type="Collection"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Field1" type="text" /><field name="Field3" type="text" /><field name="Field5" type="text" /></collectioninfo></stage><stage stageid="2367c7e4-ef82-48d1-8cb9-6d121ebe1ee2" name="Populate Row" type="MultipleCalculation"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a680837c-c66a-4c16-b8da-8678e0c9015e</onsuccess><steps><calculation expression="[Source Data.Field1]" stage="New Item Data.Field1" /><calculation expression="[Source Data.Field3]" stage="New Item Data.Field3" /><calculation expression="[Source Data.Field5]" stage="New Item Data.Field5" /></steps></stage><stage stageid="5104263e-6cd9-416c-85e1-3aaacd613a8a" name="Note2" type="Note"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative>** NB the new item collection does not have to use all the fields from the source</narrative><displayx>225</displayx><displayy>120</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>2367c7e4-ef82-48d1-8cb9-6d121ebe1ee2</onsuccess></stage><stage stageid="c90bc032-60b5-4b40-bc27-dfc8226947f4" name="Populate Queue (add items with a tag)" type="SubSheetInfo"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative>In this example the source data is used to determine what label (tag) to give new queue items.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="2ea1ee3a-707a-4da5-9a25-f783cf759de4" name="Populate Queue (add items with a status)" type="SubSheetInfo"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative>In this example the source data is used to determine what status to give new queue items.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="5edd6432-72ea-40e1-bf06-e28bf3c45256" name="Populate Queue (add items with a priority)" type="SubSheetInfo"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative>In this example the source data is used to determine how to prioritise new queue items.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="c19a6b9f-78b3-42f0-b20a-4ce147cce924" name="Populate Queue (ignore duplicate item key)" type="SubSheetInfo"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative>In this example not all source data might be loaded - items with existing keys are ignored and not added to the queue.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="f4be4d0a-8d41-4f56-9370-0769a7615f59" name="Note2" type="Note"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>210</displayx><displayy>240</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>ef79e476-98d6-439a-aa2c-b762a614485e</onsuccess></stage><stage stageid="e963c081-99cc-49fd-9303-a79c9bfd05a7" name="Note2" type="Note"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>225</displayx><displayy>240</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>5f48a5e2-f8d0-4771-bb33-9a3ea462ea21</onsuccess></stage><stage stageid="02a70da8-91c1-4f76-ad87-c653c09d470e" name="Start" type="Start"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e7eed557-4b5e-40a2-a8ae-d5d97ba0f575</onsuccess></stage><stage stageid="d94680e5-ed15-4ca8-9f05-abbc8ca1f982" name="Source Data" type="Collection"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="10001" /><field name="Surname" type="text" value="Smith" /><field name="Product Type" type="text" value="X" /></row><row><field name="Account ID" type="text" value="10002" /><field name="Surname" type="text" value="Brown" /><field name="Product Type" type="text" value="Y" /></row><row><field name="Account ID" type="text" value="10003" /><field name="Surname" type="text" value="Jones" /><field name="Product Type" type="text" value="Z" /></row></initialvalue></stage><stage stageid="e7eed557-4b5e-40a2-a8ae-d5d97ba0f575" name="Source Data" type="LoopStart"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>187ed79d-6cd4-475d-95a9-60fb49bcb5be</onsuccess><groupid>b1b53956-fc44-4109-afd7-2d516e795260</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="c82dfe2b-f268-4db1-b808-199f6b57b6d6" name="Source Data" type="LoopEnd"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>98607d70-e445-4a54-ab6c-ea6e6d9f6b22</onsuccess><groupid>b1b53956-fc44-4109-afd7-2d516e795260</groupid></stage><stage stageid="0b40494a-8afb-4cc0-9ba6-f721f4617d19" name="New Item Data" type="Collection"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo></stage><stage stageid="187ed79d-6cd4-475d-95a9-60fb49bcb5be" name="Add Row" type="Action"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>6ebf6291-0741-4eae-8891-3e881b651098</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="140d6315-6691-4062-a786-9ce5c1680287" name="Remove Row" type="Action"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>300</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>c82dfe2b-f268-4db1-b808-199f6b57b6d6</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="6ebf6291-0741-4eae-8891-3e881b651098" name="Populate Row" type="MultipleCalculation"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>6d97ae18-4b3e-4059-a8c2-7b14031e3828</onsuccess><steps><calculation expression="[Source Data.Account ID]&"-"&[Source Data.Surname]" stage="New Item Data.Item Key" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Account ID]" stage="New Item Data.Account ID" /><calculation expression="[Source Data.Product Type]" stage="New Item Data.Product Type" /></steps></stage><stage stageid="98607d70-e445-4a54-ab6c-ea6e6d9f6b22" name="End1" type="End"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>420</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="fa305f72-4518-4527-98c4-1b9962d8c89e" name="Add to Queue" type="Action"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>135</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="[Tag]" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>9a468e94-93f4-4d0e-babe-6bf1aa0bd2ed</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="24c4914c-e3ac-4a65-ae5b-f2837b39c96c" name="Queue Name" type="Data"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>240</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="b068bcbf-471e-4b24-8002-69a97f1524a8" name="Note2" type="Note"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative>** NB A combination of source data has been used in the key field of the new item collection</narrative><displayx>330</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>6ebf6291-0741-4eae-8891-3e881b651098</onsuccess></stage><stage stageid="007fca16-9e96-48bb-9e40-181c55713588" name="Note2" type="Note"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>330</displayx><displayy>375</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>140d6315-6691-4062-a786-9ce5c1680287</onsuccess></stage><stage stageid="6d97ae18-4b3e-4059-a8c2-7b14031e3828" name="Gas Account?" type="Decision"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Source Data.Product Type]="X" OR [Source Data.Product Type]="Y"" /><ontrue>ff92db18-e948-4dcb-8478-cb3e67b48559</ontrue><onfalse>5602edee-87cf-48f9-ac61-014122a1ce3d</onfalse></stage><stage stageid="ff92db18-e948-4dcb-8478-cb3e67b48559" name="Set Tag" type="Calculation"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>135</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fa305f72-4518-4527-98c4-1b9962d8c89e</onsuccess><calculation expression=""G"" stage="Tag" /></stage><stage stageid="c119c19c-fb2a-4c6a-92fe-f350e68e3c21" name="Tag" type="Data"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5602edee-87cf-48f9-ac61-014122a1ce3d" name="Set Tag" type="Calculation"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fa305f72-4518-4527-98c4-1b9962d8c89e</onsuccess><calculation expression=""E"" stage="Tag" /></stage><stage stageid="9a468e94-93f4-4d0e-babe-6bf1aa0bd2ed" name="anchor1" type="Anchor"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative></narrative><displayx>135</displayx><displayy>300</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>140d6315-6691-4062-a786-9ce5c1680287</onsuccess></stage><stage stageid="67bd5f2d-a73a-49b0-9c2d-3680a84659ac" name="Note2" type="Note"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative>** NB The source data is used to decide how to tag the new item</narrative><displayx>330</displayx><displayy>240</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>6d97ae18-4b3e-4059-a8c2-7b14031e3828</onsuccess></stage><stage stageid="9f1de39b-0560-4cc4-83e4-fd50705d9c91" name="Start" type="Start"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7fb17b52-9a27-4903-b293-aa1d9a5059d4</onsuccess></stage><stage stageid="ad3d498b-160e-4739-aa6b-5ebbe905e6ec" name="Source Data" type="Collection"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="10001" /><field name="Surname" type="text" value="Smith" /><field name="Product Type" type="text" value="X" /></row><row><field name="Account ID" type="text" value="10002" /><field name="Surname" type="text" value="Brown" /><field name="Product Type" type="text" value="Y" /></row><row><field name="Account ID" type="text" value="10003" /><field name="Surname" type="text" value="Jones" /><field name="Product Type" type="text" value="Z" /></row></initialvalue></stage><stage stageid="7fb17b52-9a27-4903-b293-aa1d9a5059d4" name="Source Data" type="LoopStart"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9fa51185-39bb-45b3-a3b1-4356a46c11e4</onsuccess><groupid>fb93d6db-7872-41ef-9194-7a08aa96e973</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="506d4640-8980-41f9-9c9c-913c88a1ad9a" name="Source Data" type="LoopEnd"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fc50f452-17b9-4243-8a9d-bba6085272c1</onsuccess><groupid>fb93d6db-7872-41ef-9194-7a08aa96e973</groupid></stage><stage stageid="b09ed097-de60-4fb5-9ea5-934250bf6f46" name="New Item Data" type="Collection"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo></stage><stage stageid="9fa51185-39bb-45b3-a3b1-4356a46c11e4" name="Add Row" type="Action"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>33a24cfd-995b-48ff-a6b1-eb6b4d6720aa</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="51d5de49-02bb-4612-b171-6e197c28de01" name="Remove Row" type="Action"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>300</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>506d4640-8980-41f9-9c9c-913c88a1ad9a</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="33a24cfd-995b-48ff-a6b1-eb6b4d6720aa" name="Populate Row" type="MultipleCalculation"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8df37666-0e47-4953-bbb3-2aa2a990199d</onsuccess><steps><calculation expression="[Source Data.Account ID]&"-"&[Source Data.Surname]" stage="New Item Data.Item Key" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Account ID]" stage="New Item Data.Account ID" /><calculation expression="[Source Data.Product Type]" stage="New Item Data.Product Type" /></steps></stage><stage stageid="fc50f452-17b9-4243-8a9d-bba6085272c1" name="End1" type="End"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>420</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="26fabdb2-b0d1-40d8-ba47-ebc1d71da59f" name="Add to Queue" type="Action"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>135</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="[Status]" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>2657bff8-34b7-4ee2-906d-f69a6d8ca876</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="fbed3a35-0b4a-4619-b33d-275c6da0c772" name="Queue Name" type="Data"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>240</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="44b26ef5-86d4-4574-babe-294fdbd422b5" name="Note2" type="Note"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative>** NB A combination of source data has been used in the key field of the new item collection</narrative><displayx>330</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>33a24cfd-995b-48ff-a6b1-eb6b4d6720aa</onsuccess></stage><stage stageid="e058457d-5eaf-451c-b1e0-03a2f6cb267a" name="Note2" type="Note"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>330</displayx><displayy>375</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>51d5de49-02bb-4612-b171-6e197c28de01</onsuccess></stage><stage stageid="8df37666-0e47-4953-bbb3-2aa2a990199d" name="Gas Account?" type="Decision"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Source Data.Product Type]="X" OR [Source Data.Product Type]="Y"" /><ontrue>5e9114fb-47a1-4abd-aae5-d69c7602ce78</ontrue><onfalse>2855e374-0229-40c2-92d3-13d40666795f</onfalse></stage><stage stageid="5e9114fb-47a1-4abd-aae5-d69c7602ce78" name="Set Status" type="Calculation"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>135</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>26fabdb2-b0d1-40d8-ba47-ebc1d71da59f</onsuccess><calculation expression=""New G"" stage="Status" /></stage><stage stageid="a94820b5-1762-41e9-aad9-b8930e667d01" name="Status" type="Data"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2657bff8-34b7-4ee2-906d-f69a6d8ca876" name="anchor1" type="Anchor"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>135</displayx><displayy>300</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>51d5de49-02bb-4612-b171-6e197c28de01</onsuccess></stage><stage stageid="782a4e2a-0c3c-4b6b-8fa7-dfe7efd53850" name="Note2" type="Note"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative>** NB The source data is used to decide what status to give the new item</narrative><displayx>330</displayx><displayy>240</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>8df37666-0e47-4953-bbb3-2aa2a990199d</onsuccess></stage><stage stageid="2855e374-0229-40c2-92d3-13d40666795f" name="Set Status" type="Calculation"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>26fabdb2-b0d1-40d8-ba47-ebc1d71da59f</onsuccess><calculation expression=""New E"" stage="Status" /></stage><stage stageid="9b4269fc-1e89-4103-afdf-9c69a65c5ff4" name="Start" type="Start"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>015f1b63-0d84-4bc1-bea2-a23230f491b6</onsuccess></stage><stage stageid="7ba71275-4621-4481-83d8-4dfc99873b33" name="Source Data" type="Collection"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="10001" /><field name="Surname" type="text" value="Smith" /><field name="Product Type" type="text" value="X" /></row><row><field name="Account ID" type="text" value="10002" /><field name="Surname" type="text" value="Brown" /><field name="Product Type" type="text" value="Y" /></row><row><field name="Account ID" type="text" value="10003" /><field name="Surname" type="text" value="Jones" /><field name="Product Type" type="text" value="Z" /></row></initialvalue></stage><stage stageid="015f1b63-0d84-4bc1-bea2-a23230f491b6" name="Source Data" type="LoopStart"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b5b2dcd7-9acb-4846-9075-3c27327982d3</onsuccess><groupid>455f994a-5def-4e54-8a5c-f9f48fc7aba3</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="30254304-7bf9-4196-8a57-4c9790dba7bb" name="Source Data" type="LoopEnd"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>450</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d04bbb73-7289-4a72-8b7f-624121d70e43</onsuccess><groupid>455f994a-5def-4e54-8a5c-f9f48fc7aba3</groupid></stage><stage stageid="8aca88f5-4971-4b54-ade2-64efe071b85d" name="New Item Data" type="Collection"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo></stage><stage stageid="b5b2dcd7-9acb-4846-9075-3c27327982d3" name="Add Row" type="Action"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>b09ed02a-a592-4743-a110-2561a5933223</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="e10c9e99-c8f3-4fc8-bbbf-596060bee932" name="Remove Row" type="Action"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>390</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>30254304-7bf9-4196-8a57-4c9790dba7bb</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="b09ed02a-a592-4743-a110-2561a5933223" name="Populate Row" type="MultipleCalculation"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b904cab9-7de0-4718-b7db-d128149e5181</onsuccess><steps><calculation expression="[Source Data.Account ID]&"-"&[Source Data.Surname]" stage="New Item Data.Item Key" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Account ID]" stage="New Item Data.Account ID" /><calculation expression="[Source Data.Product Type]" stage="New Item Data.Product Type" /></steps></stage><stage stageid="d04bbb73-7289-4a72-8b7f-624121d70e43" name="End1" type="End"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>510</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="9a74e615-4f45-444f-8def-e4834ab27666" name="Add to Queue" type="Action"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>180</displayx><displayy>390</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="[Priority]" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>e10c9e99-c8f3-4fc8-bbbf-596060bee932</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="8addfb8f-533d-4b4a-a9c8-5074477ca951" name="Queue Name" type="Data"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>390</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="3c281386-cb42-443c-8c02-773aa99b672b" name="Note2" type="Note"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative>** NB A combination of source data has been used in the key field of the new item collection</narrative><displayx>315</displayx><displayy>120</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>b09ed02a-a592-4743-a110-2561a5933223</onsuccess></stage><stage stageid="c31447fe-3842-4e9e-8d07-5c9a90796f76" name="Note2" type="Note"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>315</displayx><displayy>495</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>e10c9e99-c8f3-4fc8-bbbf-596060bee932</onsuccess></stage><stage stageid="b904cab9-7de0-4718-b7db-d128149e5181" name="Product X?" type="Decision"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Source Data.Product Type]="X"" /><ontrue>50cff276-0f0b-4eb3-b754-f555de995e0f</ontrue><onfalse>df9b6d77-dac3-403c-9081-a093600367a9</onfalse></stage><stage stageid="50cff276-0f0b-4eb3-b754-f555de995e0f" name="P1" type="Calculation"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>120</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>00505032-66f3-4898-9655-4a40e4921d63</onsuccess><calculation expression="1" stage="Priority" /></stage><stage stageid="8f62d721-b4c5-4343-ac7c-afb53476f9cf" name="anchor1" type="Anchor"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>180</displayx><displayy>330</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9a74e615-4f45-444f-8def-e4834ab27666</onsuccess></stage><stage stageid="df9b6d77-dac3-403c-9081-a093600367a9" name="Product Y?" type="Decision"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Source Data.Product Type]="Y"" /><ontrue>3e6bebdc-4b49-4f58-b031-fb99c1a9f3bd</ontrue><onfalse>ac123758-79fd-4629-beda-38b9b28b03bc</onfalse></stage><stage stageid="24f50baa-6ec8-45a5-9d15-ce380362b370" name="Priority" type="Data"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3e6bebdc-4b49-4f58-b031-fb99c1a9f3bd" name="P2" type="Calculation"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>120</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>97d19c57-abc1-4d93-8676-424c6ba9f64c</onsuccess><calculation expression="2" stage="Priority" /></stage><stage stageid="00505032-66f3-4898-9655-4a40e4921d63" name="anchor2" type="Anchor"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>180</displayx><displayy>180</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>97d19c57-abc1-4d93-8676-424c6ba9f64c</onsuccess></stage><stage stageid="97d19c57-abc1-4d93-8676-424c6ba9f64c" name="anchor3" type="Anchor"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>180</displayx><displayy>255</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8f62d721-b4c5-4343-ac7c-afb53476f9cf</onsuccess></stage><stage stageid="ac123758-79fd-4629-beda-38b9b28b03bc" name="Note3" type="Note"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative>Use default priority</narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>dae8266a-df94-4b2e-8826-775bb98b085f</onsuccess></stage><stage stageid="dae8266a-df94-4b2e-8826-775bb98b085f" name="P3" type="Calculation"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative></narrative><displayx>120</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8f62d721-b4c5-4343-ac7c-afb53476f9cf</onsuccess><calculation expression="3" stage="Priority" /></stage><stage stageid="82653ee0-86cd-4ecc-bbab-b301d3c43daa" name="Note2" type="Note"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative>** NB The source data is used to decide what priority to give the new item</narrative><displayx>315</displayx><displayy>285</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>50cff276-0f0b-4eb3-b754-f555de995e0f</onsuccess></stage><stage stageid="2f3854ce-51a9-4dcc-820d-973a43e00f64" name="Start" type="Start"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5d30af94-572e-46b7-8f71-2913186d84f4</onsuccess></stage><stage stageid="6acc5792-19e0-4304-b0be-8bb9650cfef7" name="Source Data" type="Collection"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="10001" /><field name="Surname" type="text" value="Smith" /><field name="Product Type" type="text" value="X" /></row><row><field name="Account ID" type="text" value="10002" /><field name="Surname" type="text" value="Brown" /><field name="Product Type" type="text" value="Y" /></row><row><field name="Account ID" type="text" value="10003" /><field name="Surname" type="text" value="Jones" /><field name="Product Type" type="text" value="Z" /></row></initialvalue></stage><stage stageid="5d30af94-572e-46b7-8f71-2913186d84f4" name="Source Data" type="LoopStart"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>cea912d5-a5b9-4375-8584-ed8ddf25b89e</onsuccess><groupid>c044514b-a461-44fc-974a-fc2b104a8841</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="9a68f429-c546-4618-a675-ac6c8ad3d858" name="Source Data" type="LoopEnd"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>480</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>694718c5-d95f-49e1-acaf-84c9b5d6d688</onsuccess><groupid>c044514b-a461-44fc-974a-fc2b104a8841</groupid></stage><stage stageid="17601bdb-b596-42fe-9c9c-9c62ea5c3bcb" name="New Item Data" type="Collection"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo></stage><stage stageid="77f815c2-8597-427d-8e91-f61f9494ce7c" name="Add Row" type="Action"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>c9b486b1-bb7f-41da-a835-5c14e8b50a47</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="305de629-d00d-4c8c-a95a-b1fe93da1b2a" name="Remove Row" type="Action"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>9a68f429-c546-4618-a675-ac6c8ad3d858</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="c9b486b1-bb7f-41da-a835-5c14e8b50a47" name="Populate Row" type="MultipleCalculation"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4fe70f83-ee53-4b37-8dec-4dfdf3711d94</onsuccess><steps><calculation expression="[Item Key]" stage="New Item Data.Item Key" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Account ID]" stage="New Item Data.Account ID" /><calculation expression="[Source Data.Product Type]" stage="New Item Data.Product Type" /></steps></stage><stage stageid="694718c5-d95f-49e1-acaf-84c9b5d6d688" name="End1" type="End"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>540</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="4fe70f83-ee53-4b37-8dec-4dfdf3711d94" name="Add to Queue" type="Action"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>375</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>305de629-d00d-4c8c-a95a-b1fe93da1b2a</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="5f1be0bd-8ef4-4d3e-9525-bbd144beccb8" name="Queue Name" type="Data"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>315</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="112714aa-7ddb-4f11-bd20-09d12142977c" name="Note2" type="Note"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative>** NB A combination of source data has been used in the key field</narrative><displayx>240</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>cea912d5-a5b9-4375-8584-ed8ddf25b89e</onsuccess></stage><stage stageid="bd41e942-3580-4e24-9637-2ec1175523f6" name="Note2" type="Note"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>240</displayx><displayy>390</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>305de629-d00d-4c8c-a95a-b1fe93da1b2a</onsuccess></stage><stage stageid="ce7ddf0b-c35e-4cd8-9185-237554510106" name="Check Item Key Exists" type="Action"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to check" expr="[Queue Name]" /><input type="text" name="Key" narrative="The key to check." expr="[Item Key]" /><input type="flag" name="Include Pending" narrative="Check any items in the queue which are currently awaiting being worked. This will include any deferred items which have a deferral date in the past and any locked items. Optional - Default is True" expr="True" /><input type="flag" name="Include Deferred" narrative="Check any items in the queue which are currently deferred to a later date. Optional - Default is True" expr="True" /><input type="flag" name="Include Completed" narrative="Check any items in the queue which are completed. Optional - Default is True" expr="True" /><input type="flag" name="Include Terminated" narrative="Check any items in the queue which have been fully terminated. Optional - Default is True" expr="True" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The Item IDs which represent the work items found with the given key" stage="" /><output type="flag" name="Result" narrative="True if an item with the given key is in the queue, False otherwise." stage="Item Key Exists" /></outputs><onsuccess>64b52ed2-008c-4ab2-ba41-17f2b00be969</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Is Item In Queue" /></stage><stage stageid="fcab7cd4-1d80-4a4b-9ef1-35cac74d0d46" name="Item Key Exists" type="Data"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="64b52ed2-008c-4ab2-ba41-17f2b00be969" name="Item Key Exists?" type="Decision"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item Key Exists]" /><ontrue>0cdd4430-57c3-443f-bd04-6b8c3a242071</ontrue><onfalse>77f815c2-8597-427d-8e91-f61f9494ce7c</onfalse></stage><stage stageid="bbb655f8-3af3-48a2-a5d2-7c49461eb33b" name="Note2" type="Note"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative>** NB If the item key is found in the queue the new item is not added</narrative><displayx>240</displayx><displayy>240</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>64b52ed2-008c-4ab2-ba41-17f2b00be969</onsuccess></stage><stage stageid="e64b5627-3e76-4dae-90be-70a53626dca1" name="Populate Queue (add items with a deferral date)" type="SubSheetInfo"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative>In this example the source data is used to determine whether to add new items as 'deferred', ie unavailable until a certain date.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e17945c6-1f61-4582-b36f-7ab062329861" name="Start" type="Start"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b0ee2e59-8afa-4348-9f3e-3b945db26f93</onsuccess></stage><stage stageid="717b6d7f-bb42-4e58-ba4b-ccdfd315e27d" name="Source Data" type="Collection"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="10001" /><field name="Surname" type="text" value="Smith" /><field name="Product Type" type="text" value="X" /></row><row><field name="Account ID" type="text" value="10002" /><field name="Surname" type="text" value="Brown" /><field name="Product Type" type="text" value="Y" /></row><row><field name="Account ID" type="text" value="10003" /><field name="Surname" type="text" value="Jones" /><field name="Product Type" type="text" value="Z" /></row></initialvalue></stage><stage stageid="b0ee2e59-8afa-4348-9f3e-3b945db26f93" name="Source Data" type="LoopStart"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fcfc8ad2-2369-4dd1-b6c0-0d213b846a2a</onsuccess><groupid>16551e0f-65e2-4cba-b4f1-f40c5be1243f</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="9ee5ee90-4845-4943-a0b5-79f478c8593c" name="Source Data" type="LoopEnd"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>450</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>64c5492e-fd3c-4461-a121-ba6bf5cebf0a</onsuccess><groupid>16551e0f-65e2-4cba-b4f1-f40c5be1243f</groupid></stage><stage stageid="3f1e2c88-94fa-4c78-ae35-4e9dc4d2fbd1" name="New Item Data" type="Collection"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo></stage><stage stageid="fcfc8ad2-2369-4dd1-b6c0-0d213b846a2a" name="Add Row" type="Action"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>83a38c02-1a3f-454b-974c-ad8ed9e0f8bd</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="3fb0d741-6554-4762-920b-fe24485005ba" name="Remove Row" type="Action"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>390</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>9ee5ee90-4845-4943-a0b5-79f478c8593c</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="83a38c02-1a3f-454b-974c-ad8ed9e0f8bd" name="Populate Row" type="MultipleCalculation"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0c214419-514d-4afe-a30a-1a39b475bb26</onsuccess><steps><calculation expression="[Source Data.Account ID]&"-"&[Source Data.Surname]" stage="New Item Data.Item Key" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Account ID]" stage="New Item Data.Account ID" /><calculation expression="[Source Data.Product Type]" stage="New Item Data.Product Type" /></steps></stage><stage stageid="64c5492e-fd3c-4461-a121-ba6bf5cebf0a" name="End1" type="End"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>510</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a4d2286f-da87-4bdb-a7f8-740b8adeb695" name="Add to Queue" type="Action"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>3fb0d741-6554-4762-920b-fe24485005ba</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="69467c9c-b8d5-4af4-9b5e-7916c2bf4227" name="Queue Name" type="Data"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>390</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="32a17181-63d1-4665-920c-4e3389a9f0e4" name="Note2" type="Note"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative>** NB A combination of source data has been used in the key field of the new item collection</narrative><displayx>345</displayx><displayy>120</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>83a38c02-1a3f-454b-974c-ad8ed9e0f8bd</onsuccess></stage><stage stageid="00ebae62-c9ca-44c1-93e2-ede092b56f51" name="Note2" type="Note"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>345</displayx><displayy>480</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>3fb0d741-6554-4762-920b-fe24485005ba</onsuccess></stage><stage stageid="0c214419-514d-4afe-a30a-1a39b475bb26" name="Product X?" type="Decision"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Source Data.Product Type]="X"" /><ontrue>e5175a95-7bab-4192-ba6e-52ca852c2477</ontrue><onfalse>6580e9bd-634f-4ee3-b992-9eeb9162b816</onfalse></stage><stage stageid="6580e9bd-634f-4ee3-b992-9eeb9162b816" name="Product Y?" type="Decision"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Source Data.Product Type]="Y"" /><ontrue>c79570a0-7973-4ce6-82fa-8e5d7eddde11</ontrue><onfalse>a4d2286f-da87-4bdb-a7f8-740b8adeb695</onfalse></stage><stage stageid="75d0190f-9568-4d99-80a0-5c79d9bb44e0" name="anchor2" type="Anchor"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>180</displayx><displayy>180</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9dc736f9-3318-4391-8c60-b2155174f723</onsuccess></stage><stage stageid="9dc736f9-3318-4391-8c60-b2155174f723" name="anchor3" type="Anchor"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>180</displayx><displayy>255</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0514d106-94eb-434b-ba15-1405b6a03fb5</onsuccess></stage><stage stageid="3a100b18-3201-48da-a260-4590a3371cbc" name="Note2" type="Note"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative>** NB The source data is used to decide whether to defer the new item</narrative><displayx>345</displayx><displayy>345</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>6580e9bd-634f-4ee3-b992-9eeb9162b816</onsuccess></stage><stage stageid="d534af98-ccfc-4a8e-a0cf-01d4872f8f76" name="Add to Queue" type="Action"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>180</displayx><displayy>390</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="[Defer Datetime]" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>3fb0d741-6554-4762-920b-fe24485005ba</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="e5175a95-7bab-4192-ba6e-52ca852c2477" name="Tomorrow" type="Calculation"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>120</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>75d0190f-9568-4d99-80a0-5c79d9bb44e0</onsuccess><calculation expression="AddDays(Today(), 1)" stage="Defer Date" /></stage><stage stageid="2db0067a-3b67-4df9-b725-db90c2ac10a1" name="Defer Date" type="Data"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>date</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fe9f1b4a-eb5e-4bde-af11-29dd0d5cf853" name="Defer Datetime" type="Data"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>330</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c79570a0-7973-4ce6-82fa-8e5d7eddde11" name="Next Week" type="Calculation"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>120</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9dc736f9-3318-4391-8c60-b2155174f723</onsuccess><calculation expression="AddDays(Today(), 7)" stage="Defer Date" /></stage><stage stageid="0514d106-94eb-434b-ba15-1405b6a03fb5" name="Defer Datetime" type="Calculation"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative></narrative><displayx>180</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d534af98-ccfc-4a8e-a0cf-01d4872f8f76</onsuccess><calculation expression="MakeDateTime(FormatDate([Defer Date], "dd"), FormatDate([Defer Date], "MM"), FormatDate([Defer Date], "yyyy"), 0, 0, 0, True)" stage="Defer Datetime" /></stage><stage stageid="c18c6502-acbb-455e-9131-35cae742c8eb" name="Populate Queue (check duplicate item key)" type="SubSheetInfo"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>In this example not all source data might be loaded - existing items with matching key values are checked first. If an existing item is recent, a new item is not added; if the existing item is old, a new item is added.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="cea912d5-a5b9-4375-8584-ed8ddf25b89e" name="Item Key" type="Calculation"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>ce7ddf0b-c35e-4cd8-9185-237554510106</onsuccess><calculation expression="[Source Data.Account ID]&"-"&[Source Data.Surname]" stage="Item Key" /></stage><stage stageid="f963e42f-6090-4d48-847b-f051dcbd129e" name="Item Key" type="Data"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0cdd4430-57c3-443f-bd04-6b8c3a242071" name="anchor5" type="Anchor"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>165</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3c3d53c3-ef51-47ab-bbb9-de6b0e8ac00e</onsuccess></stage><stage stageid="3c3d53c3-ef51-47ab-bbb9-de6b0e8ac00e" name="anchor6" type="Anchor"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>480</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9a68f429-c546-4618-a675-ac6c8ad3d858</onsuccess></stage><stage stageid="7e5f4c7a-21c7-4817-bd59-93f1de4ea800" name="Start" type="Start"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>894025f5-4208-4bf0-a147-b8858f2436cd</onsuccess></stage><stage stageid="36f4e022-a7ee-4d8d-9b45-910062957779" name="Source Data" type="Collection"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="10001" /><field name="Surname" type="text" value="Smith" /><field name="Product Type" type="text" value="X" /></row><row><field name="Account ID" type="text" value="10002" /><field name="Surname" type="text" value="Brown" /><field name="Product Type" type="text" value="Y" /></row><row><field name="Account ID" type="text" value="10003" /><field name="Surname" type="text" value="Jones" /><field name="Product Type" type="text" value="Z" /></row></initialvalue></stage><stage stageid="894025f5-4208-4bf0-a147-b8858f2436cd" name="Source Data" type="LoopStart"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>6f4dec3d-0328-4857-8dc7-46b45e138994</onsuccess><groupid>6e0abf9d-6590-4f3d-bd42-0dd687059341</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="689dfb32-347d-4e0f-946e-3436d289415c" name="Source Data" type="LoopEnd"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>15</displayx><displayy>825</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9c8b3bfe-cff6-4c43-9204-920d648b2f0e</onsuccess><groupid>6e0abf9d-6590-4f3d-bd42-0dd687059341</groupid></stage><stage stageid="6183cda2-043a-43da-b2f6-9f3e728b9a57" name="New Item Data" type="Collection"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo></stage><stage stageid="9c8b3bfe-cff6-4c43-9204-920d648b2f0e" name="End1" type="End"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>15</displayx><displayy>885</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="af932ac2-a03c-4740-88b3-58e53c4a3aa2" name="Queue Name" type="Data"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>600</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="9683f829-673d-4531-9b48-38f38482fcfb" name="Check Unworked Item Exists" type="Action"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to check" expr="[Queue Name]" /><input type="text" name="Key" narrative="The key to check." expr="[Item Key]" /><input type="flag" name="Include Pending" narrative="Check any items in the queue which are currently awaiting being worked. This will include any deferred items which have a deferral date in the past and any locked items. Optional - Default is True" expr="True" /><input type="flag" name="Include Deferred" narrative="Check any items in the queue which are currently deferred to a later date. Optional - Default is True" expr="True" /><input type="flag" name="Include Completed" narrative="Check any items in the queue which are completed. Optional - Default is True" expr="False" /><input type="flag" name="Include Terminated" narrative="Check any items in the queue which have been fully terminated. Optional - Default is True" expr="False" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The Item IDs which represent the work items found with the given key" stage="" /><output type="flag" name="Result" narrative="True if an item with the given key is in the queue, False otherwise." stage="Item Key Exists" /></outputs><onsuccess>ab5b2d23-063b-482d-be70-f9f3d3da47f3</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Is Item In Queue" /></stage><stage stageid="f4290498-a268-481d-a14d-e76a3884f01b" name="Item Key Exists" type="Data"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ab5b2d23-063b-482d-be70-f9f3d3da47f3" name="Item Key Exists?" type="Decision"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item Key Exists]" /><ontrue>e56cdea9-0f14-4549-a264-16f241fd583b</ontrue><onfalse>91bc3e3a-339a-44cc-9537-dafd8cd28771</onfalse></stage><stage stageid="6f4dec3d-0328-4857-8dc7-46b45e138994" name="Item Key" type="Calculation"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9683f829-673d-4531-9b48-38f38482fcfb</onsuccess><calculation expression="[Source Data.Account ID]&"-"&[Source Data.Surname]" stage="Item Key" /></stage><stage stageid="d2fa4322-bb4e-4abf-bc1f-ac08a3814528" name="Item Key" type="Data"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>150</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="41122edb-dc24-4889-b11e-b4cd975d5c96" name="anchor6" type="Anchor"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>150</displayx><displayy>780</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>46ef2465-de29-493b-8dd7-a3dcb89ccf15</onsuccess></stage><stage stageid="91bc3e3a-339a-44cc-9537-dafd8cd28771" name="Check Worked Item Exists" type="Action"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>150</displayx><displayy>150</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to check" expr="[Queue Name]" /><input type="text" name="Key" narrative="The key to check." expr="[Item Key]" /><input type="flag" name="Include Pending" narrative="Check any items in the queue which are currently awaiting being worked. This will include any deferred items which have a deferral date in the past and any locked items. Optional - Default is True" expr="False" /><input type="flag" name="Include Deferred" narrative="Check any items in the queue which are currently deferred to a later date. Optional - Default is True" expr="False" /><input type="flag" name="Include Completed" narrative="Check any items in the queue which are completed. Optional - Default is True" expr="True" /><input type="flag" name="Include Terminated" narrative="Check any items in the queue which have been fully terminated. Optional - Default is True" expr="True" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The Item IDs which represent the work items found with the given key" stage="Item IDs" /><output type="flag" name="Result" narrative="True if an item with the given key is in the queue, False otherwise." stage="Item Key Exists" /></outputs><onsuccess>1f552cd5-1175-41b1-bf2a-3e2958046e11</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Is Item In Queue" /></stage><stage stageid="1f552cd5-1175-41b1-bf2a-3e2958046e11" name="Item Key Exists?" type="Decision"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>150</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item Key Exists]" /><ontrue>bb3f4532-11a8-4b72-8dbe-eb58d56650c3</ontrue><onfalse>178b5250-533c-4644-b0c0-f09fdd486064</onfalse></stage><stage stageid="3a2d5706-4928-4164-9910-7018ea8ace3a" name="Add Row" type="Action"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>150</displayx><displayy>570</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>aaefba51-ba84-4703-8fb2-bc85e4fcb46c</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="75bbf6b1-d7c0-4f21-98ea-2b94c03ad051" name="Remove Row" type="Action"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>150</displayx><displayy>735</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>41122edb-dc24-4889-b11e-b4cd975d5c96</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="aaefba51-ba84-4703-8fb2-bc85e4fcb46c" name="Populate Row" type="MultipleCalculation"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>150</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>01d0000c-9e21-477f-be2b-6887b7cac1aa</onsuccess><steps><calculation expression="[Item Key]" stage="New Item Data.Item Key" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Account ID]" stage="New Item Data.Account ID" /><calculation expression="[Source Data.Product Type]" stage="New Item Data.Product Type" /></steps></stage><stage stageid="01d0000c-9e21-477f-be2b-6887b7cac1aa" name="Add to Queue" type="Action"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>150</displayx><displayy>690</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>75bbf6b1-d7c0-4f21-98ea-2b94c03ad051</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="e56cdea9-0f14-4549-a264-16f241fd583b" name="Note4" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>An item with the same key exists and is currently incomplete, so do not add another.</narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>46ef2465-de29-493b-8dd7-a3dcb89ccf15</onsuccess></stage><stage stageid="178b5250-533c-4644-b0c0-f09fdd486064" name="Note4" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>An item with the same key does not exist in the queue, so add the new item.</narrative><displayx>150</displayx><displayy>315</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>3a2d5706-4928-4164-9910-7018ea8ace3a</onsuccess></stage><stage stageid="46ef2465-de29-493b-8dd7-a3dcb89ccf15" name="anchor7" type="Anchor"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>15</displayx><displayy>780</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>689dfb32-347d-4e0f-946e-3436d289415c</onsuccess></stage><stage stageid="43ef2ffd-38b3-445b-aa2a-44e050289d3b" name="Item IDs" type="Collection"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>480</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="332faab6-3c11-4f2d-bbdb-ac42bb14cdbd" name="Item IDs" type="LoopStart"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>300</displayx><displayy>285</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4ae6b460-d9dc-4147-8f04-26e3f6962323</onsuccess><groupid>9d5bf8f4-6f13-472c-9668-f305ed88e6a8</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="a59c9018-59f0-4d17-931a-019ee0a900b9" name="Item IDs" type="LoopEnd"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>300</displayx><displayy>495</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>78a47f2a-f65e-4d95-aa9c-c8b85d9245ce</onsuccess><groupid>9d5bf8f4-6f13-472c-9668-f305ed88e6a8</groupid></stage><stage stageid="4ae6b460-d9dc-4147-8f04-26e3f6962323" name="Get Loaded Date" type="Action"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>300</displayx><displayy>345</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to get data from. An error will be raised if this item does not exist." expr="[Item IDs.Item ID]" /></inputs><outputs><output type="text" name="Key" narrative="The key value of the item." stage="" /><output type="text" name="Status" narrative="The status of the item." stage="" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="" /><output type="timespan" name="Worktime" narrative="The total time spent on this item (including previous attempts)" stage="" /><output type="timespan" name="Attempt Worktime" narrative="The amount of time spent on this particular attempt of the item" stage="" /><output type="datetime" name="Loaded DateTime" narrative="The date and time at which this item was first loaded into the queue." stage="Item Loaded" /><output type="datetime" name="Deferred DateTime" narrative="The date and time at which this item has been deferred to. Empty if this item has not been deferred." stage="" /><output type="datetime" name="Completed DateTime" narrative="The date and time at which this item was marked as complete. Empty if this item has not been marked as complete" stage="" /><output type="datetime" name="Exception DateTime" narrative="The date and time at which this item was marked as an exception. Empty if there has never been an exception on this item." stage="" /><output type="text" name="Exception Reason" narrative="The exception reason recorded against this item." stage="" /><output type="text" name="Tags" narrative="The semi-colon separated set of tags which apply to the item. " stage="" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="" /></outputs><onsuccess>9b6f06b3-86cc-41b2-8c34-84c7aaad6997</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Item Data" /></stage><stage stageid="9b6f06b3-86cc-41b2-8c34-84c7aaad6997" name="Loaded Recently?" type="Decision"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>300</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item Loaded]+[Item Lifespan]>=Now()" /><ontrue>b1337f0f-1ab8-4845-a8bc-5e78df9f84d0</ontrue><onfalse>a59c9018-59f0-4d17-931a-019ee0a900b9</onfalse></stage><stage stageid="785c61bc-7252-4a54-b8d9-616bff193f35" name="Item Lifespan" type="Data"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>480</displayx><displayy>345</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>90.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="720f122d-9ae0-4d53-8e62-81967fd5f033" name="Item Loaded" type="Data"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>480</displayx><displayy>315</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bb3f4532-11a8-4b72-8dbe-eb58d56650c3" name="Note4" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>An item with the same key has been worked previously, so check how long ago.</narrative><displayx>300</displayx><displayy>225</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>332faab6-3c11-4f2d-bbdb-ac42bb14cdbd</onsuccess></stage><stage stageid="78a47f2a-f65e-4d95-aa9c-c8b85d9245ce" name="Note4" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>An item with the same key has been worked previously but not recently, so add the new item.</narrative><displayx>300</displayx><displayy>570</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>3a2d5706-4928-4164-9910-7018ea8ace3a</onsuccess></stage><stage stageid="b1337f0f-1ab8-4845-a8bc-5e78df9f84d0" name="anchor8" type="Anchor"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>450</displayx><displayy>420</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>1e3e9d29-5e05-4aab-844b-0a48132860e3</onsuccess></stage><stage stageid="96a716b1-8731-4c58-9a77-67c61083f80c" name="anchor9" type="Anchor"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative></narrative><displayx>450</displayx><displayy>780</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>41122edb-dc24-4889-b11e-b4cd975d5c96</onsuccess></stage><stage stageid="1e3e9d29-5e05-4aab-844b-0a48132860e3" name="Note4" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>An item with the same key has been worked recently, so do not add another.</narrative><displayx>450</displayx><displayy>570</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>96a716b1-8731-4c58-9a77-67c61083f80c</onsuccess></stage><stage stageid="2446b5a8-b56e-4668-af49-3f85ea354e0d" name="Note2" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>** NB A combination of source data has been used in the key field</narrative><displayx>270</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>6f4dec3d-0328-4857-8dc7-46b45e138994</onsuccess></stage><stage stageid="56c3f142-6e11-43c0-9ef3-8d56c7f49466" name="Note2" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>300</displayx><displayy>870</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>75bbf6b1-d7c0-4f21-98ea-2b94c03ad051</onsuccess></stage><stage stageid="c141ace7-cc1f-41d9-bc92-291de2c4e102" name="Note2" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>** NB In this example if the item key is found in the queue the new item will only be added if the existing item is not recent.</narrative><displayx>315</displayx><displayy>90</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>1f552cd5-1175-41b1-bf2a-3e2958046e11</onsuccess></stage><stage stageid="b6a4a5e7-e778-45ac-9ccc-75e906f42b2e" name="Note2" type="Note"><subsheetid>9a801d71-045e-4cf6-94b5-6474d7a34a65</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>225</displayx><displayy>-195</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>894025f5-4208-4bf0-a147-b8858f2436cd</onsuccess></stage><stage stageid="d825d5a5-8235-48d6-8a9c-414048675390" name="Note2" type="Note"><subsheetid>756db72c-cee4-4f4b-a658-d3061b7679d2</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>240</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>5d30af94-572e-46b7-8f71-2913186d84f4</onsuccess></stage><stage stageid="2381a72b-ad1a-447d-9a14-5982c103c072" name="Note2" type="Note"><subsheetid>5eda4475-74e9-4ec9-89cd-cf7ee636ce4a</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>345</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>b0ee2e59-8afa-4348-9f3e-3b945db26f93</onsuccess></stage><stage stageid="2aa37722-08d6-4e26-a27a-da740f0d90c9" name="Note2" type="Note"><subsheetid>79a39e7a-3b75-49a0-af37-d13ff918c434</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>315</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>015f1b63-0d84-4bc1-bea2-a23230f491b6</onsuccess></stage><stage stageid="dd2e5d87-3b64-437d-a44e-6aae22b2f06e" name="Note2" type="Note"><subsheetid>020feaff-d29c-47af-bef4-a6272df073d3</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>330</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>7fb17b52-9a27-4903-b293-aa1d9a5059d4</onsuccess></stage><stage stageid="ac9b49e1-2949-4ada-9e26-854214ed8c18" name="Note2" type="Note"><subsheetid>6da72cc7-81b7-481e-93de-9f5b8f3c0796</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>330</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>e7eed557-4b5e-40a2-a8ae-d5d97ba0f575</onsuccess></stage><stage stageid="aabb051c-13b0-45ea-8dd4-d37d5c4dc97a" name="Note2" type="Note"><subsheetid>9393ea8b-0143-410d-b266-ccb025a1ac82</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>225</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>97e7d9df-85de-43e7-b95a-9068be04181a</onsuccess></stage><stage stageid="d42ae280-a024-466d-80df-fd9ee8bd2cb0" name="Note2" type="Note"><subsheetid>01ebfcac-c1a9-4bd5-be3d-a65068ac9dbc</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>225</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>9b7fdb6b-496e-4cb5-b2fd-220cd8b4cc60</onsuccess></stage><stage stageid="86656d48-906e-4370-b03f-893505e509c9" name="Note2" type="Note"><subsheetid>6ff74152-eba4-44cb-97d7-eb691c7455b2</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>210</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>02ed8665-2a36-477e-a41f-cb536fd5538d</onsuccess></stage><stage stageid="7e6c1452-aea7-417f-a6d0-b1e919f08364" name="Populate Queue (mark duplicate item key)" type="SubSheetInfo"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative>In this example all source data is added to the queue - items with existing keys are marked duplicates.
Instead of ignoring duplicate cases, all input cases are accounted for and any duplicates are identified.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>180</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="7ecd77bf-1e92-4aa4-b1ea-6a5928f966ee" name="Start" type="Start"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5abfee54-943d-4fd1-a413-63ea02d3635d</onsuccess></stage><stage stageid="7ff64395-4489-4adc-9b45-45703985c796" name="Source Data" type="Collection"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="10001" /><field name="Surname" type="text" value="Smith" /><field name="Product Type" type="text" value="X" /></row><row><field name="Account ID" type="text" value="10002" /><field name="Surname" type="text" value="Brown" /><field name="Product Type" type="text" value="Y" /></row><row><field name="Account ID" type="text" value="10003" /><field name="Surname" type="text" value="Jones" /><field name="Product Type" type="text" value="Z" /></row></initialvalue></stage><stage stageid="5abfee54-943d-4fd1-a413-63ea02d3635d" name="Source Data" type="LoopStart"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>01b7443f-1cea-45d2-a0e0-44034acced62</onsuccess><groupid>e0d6caf5-06f4-44bc-830d-acc5f490a5d8</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="53fb01a1-1ca8-483f-bb95-da87fb935de8" name="Source Data" type="LoopEnd"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>390</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fc4052b5-f00c-423a-9bd4-e024c85f6541</onsuccess><groupid>e0d6caf5-06f4-44bc-830d-acc5f490a5d8</groupid></stage><stage stageid="025f5c64-a255-462c-b23a-f7660e8f871e" name="New Item Data" type="Collection"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /><field name="Duplicate Item Key" type="flag" /></collectioninfo></stage><stage stageid="21a52a85-2ad4-425e-923d-461cb2a788d4" name="Add Row" type="Action"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>17c5b743-d50b-4dd8-b125-3301d12e6def</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="5d138ca4-812c-421e-8556-89545895d836" name="Remove Row" type="Action"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>53fb01a1-1ca8-483f-bb95-da87fb935de8</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="17c5b743-d50b-4dd8-b125-3301d12e6def" name="Populate Row" type="MultipleCalculation"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a9c91632-cf3a-4257-afba-f1e9509bb82c</onsuccess><steps><calculation expression="[Item Key]" stage="New Item Data.Item Key" /><calculation expression="[Item Key Exists]" stage="New Item Data.Duplicate Item Key" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Account ID]" stage="New Item Data.Account ID" /><calculation expression="[Source Data.Product Type]" stage="New Item Data.Product Type" /></steps></stage><stage stageid="fc4052b5-f00c-423a-9bd4-e024c85f6541" name="End1" type="End"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>450</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a9c91632-cf3a-4257-afba-f1e9509bb82c" name="Add to Queue" type="Action"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>285</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>5d138ca4-812c-421e-8556-89545895d836</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="a9a1dfa5-1566-4b0b-9d71-92baa65b7bcb" name="Queue Name" type="Data"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>285</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="fa7b73ee-d2cf-4196-8539-dcad2bc9d451" name="Note2" type="Note"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative>** NB A combination of source data has been used in the key field</narrative><displayx>240</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>01b7443f-1cea-45d2-a0e0-44034acced62</onsuccess></stage><stage stageid="00dd90e9-60d0-475b-a157-c4fc0834f360" name="Note2" type="Note"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>240</displayx><displayy>390</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>5d138ca4-812c-421e-8556-89545895d836</onsuccess></stage><stage stageid="b9d00f15-1a61-4401-b090-a6f5f541baa8" name="Check Item Key Exists" type="Action"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to check" expr="[Queue Name]" /><input type="text" name="Key" narrative="The key to check." expr="[Item Key]" /><input type="flag" name="Include Pending" narrative="Check any items in the queue which are currently awaiting being worked. This will include any deferred items which have a deferral date in the past and any locked items. Optional - Default is True" expr="True" /><input type="flag" name="Include Deferred" narrative="Check any items in the queue which are currently deferred to a later date. Optional - Default is True" expr="True" /><input type="flag" name="Include Completed" narrative="Check any items in the queue which are completed. Optional - Default is True" expr="True" /><input type="flag" name="Include Terminated" narrative="Check any items in the queue which have been fully terminated. Optional - Default is True" expr="True" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The Item IDs which represent the work items found with the given key" stage="" /><output type="flag" name="Result" narrative="True if an item with the given key is in the queue, False otherwise." stage="Item Key Exists" /></outputs><onsuccess>21a52a85-2ad4-425e-923d-461cb2a788d4</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Is Item In Queue" /></stage><stage stageid="8c15a98c-eaac-485b-9611-a9bf37faadad" name="Item Key Exists" type="Data"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c57a53f7-6e26-4305-8151-4b5a8eb024b6" name="Note2" type="Note"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative>** NB The new item is added even if the item key already exists in the queue. However the new item data contains a flag indicating whether the item is a duplicate or not.</narrative><displayx>240</displayx><displayy>240</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>17c5b743-d50b-4dd8-b125-3301d12e6def</onsuccess></stage><stage stageid="01b7443f-1cea-45d2-a0e0-44034acced62" name="Item Key" type="Calculation"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b9d00f15-1a61-4401-b090-a6f5f541baa8</onsuccess><calculation expression="[Source Data.Account ID]&"-"&[Source Data.Surname]" stage="Item Key" /></stage><stage stageid="428575f1-37cd-42a2-bb67-17d30e6de4b7" name="Item Key" type="Data"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5421c06f-0b20-4392-811f-9300b6c36524" name="Note2" type="Note"><subsheetid>c3151635-b6fc-4ce0-b2ed-c3eb440e4b09</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>240</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>5abfee54-943d-4fd1-a413-63ea02d3635d</onsuccess></stage><stage stageid="5e2c44c9-19f0-495e-998c-1f1098530a1d" name="Populate Queue (ignore blank rows)" type="SubSheetInfo"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative>In this example not all source data might be loaded - blank rows in the source collection are ignored and not added to the queue.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="5188c787-f3fc-4011-a8b6-bc7dd45a96da" name="Start" type="Start"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>ca632a39-7bdc-469f-ac4c-24ff2d28fa54</onsuccess></stage><stage stageid="1d022bc0-1185-4dec-8269-c8324f186b5e" name="Source Data" type="Collection"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="10001" /><field name="Surname" type="text" value="Smith" /><field name="Product Type" type="text" value="X" /></row><row><field name="Account ID" type="text" value="10002" /><field name="Surname" type="text" value="Brown" /><field name="Product Type" type="text" value="Y" /></row><row><field name="Account ID" type="text" value="10003" /><field name="Surname" type="text" value="Jones" /><field name="Product Type" type="text" value="Z" /></row></initialvalue></stage><stage stageid="ca632a39-7bdc-469f-ac4c-24ff2d28fa54" name="Source Data" type="LoopStart"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>94d2ea0a-ea23-4d03-95f9-3b2db5e940f9</onsuccess><groupid>1c640047-eacd-4e5b-a426-cf6ba65642f7</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="0cb8d5fe-98dd-4681-ac5c-de8c74720d18" name="Source Data" type="LoopEnd"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>1ade38f9-e850-4dfd-b075-ab8b9c754706</onsuccess><groupid>1c640047-eacd-4e5b-a426-cf6ba65642f7</groupid></stage><stage stageid="afbdbd6d-f7ba-4f14-b786-c26f20fef214" name="New Item Data" type="Collection"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Account ID" type="text" /><field name="Surname" type="text" /><field name="Product Type" type="text" /></collectioninfo></stage><stage stageid="f28ad9df-49f7-4817-bffe-84891aa6eef9" name="Add Row" type="Action"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>0c614af6-ea98-445e-bfcd-d853cebc49f6</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="c4a4c3bb-ea59-4b59-8a1f-091a0e510d20" name="Remove Row" type="Action"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>300</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>0cb8d5fe-98dd-4681-ac5c-de8c74720d18</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="0c614af6-ea98-445e-bfcd-d853cebc49f6" name="Populate Row" type="MultipleCalculation"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7c5d947b-967f-40ab-9a56-4492c66c18f5</onsuccess><steps><calculation expression="[Source Data.Account ID]&"-"&[Source Data.Surname]" stage="New Item Data.Item Key" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Account ID]" stage="New Item Data.Account ID" /><calculation expression="[Source Data.Product Type]" stage="New Item Data.Product Type" /></steps></stage><stage stageid="1ade38f9-e850-4dfd-b075-ab8b9c754706" name="End1" type="End"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>420</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="7c5d947b-967f-40ab-9a56-4492c66c18f5" name="Add to Queue" type="Action"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>c4a4c3bb-ea59-4b59-8a1f-091a0e510d20</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="df082204-0b79-43c7-9216-2316beaea48d" name="Queue Name" type="Data"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="06362759-a530-45c2-b847-7eccede8aa7e" name="Note2" type="Note"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative>** NB A combination of source data has been used in the key field</narrative><displayx>240</displayx><displayy>225</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>0c614af6-ea98-445e-bfcd-d853cebc49f6</onsuccess></stage><stage stageid="14c2aae1-c027-4f50-a5ab-7e075a968023" name="Note2" type="Note"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>240</displayx><displayy>390</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>c4a4c3bb-ea59-4b59-8a1f-091a0e510d20</onsuccess></stage><stage stageid="94d2ea0a-ea23-4d03-95f9-3b2db5e940f9" name="Blank Row?" type="Decision"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="Trim([Source Data.Account ID]&[Source Data.Surname]&[Source Data.Product Type])=""" /><ontrue>ec4cf7e7-c632-4712-ab04-04fc85c2c6f1</ontrue><onfalse>f28ad9df-49f7-4817-bffe-84891aa6eef9</onfalse></stage><stage stageid="28651805-285d-4892-9a3d-6387f7d9c95b" name="Note2" type="Note"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative>** NB If the source collection contains a blank row, a new item is not added.</narrative><displayx>240</displayx><displayy>75</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>94d2ea0a-ea23-4d03-95f9-3b2db5e940f9</onsuccess></stage><stage stageid="ec4cf7e7-c632-4712-ab04-04fc85c2c6f1" name="anchor5" type="Anchor"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>45</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>f43fb9bb-0de0-4ea8-8869-80de16c4b79f</onsuccess></stage><stage stageid="f43fb9bb-0de0-4ea8-8869-80de16c4b79f" name="anchor6" type="Anchor"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>360</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0cb8d5fe-98dd-4681-ac5c-de8c74720d18</onsuccess></stage><stage stageid="f72994f9-b422-4f30-8ae0-1146a44aa4de" name="Note2" type="Note"><subsheetid>f32dda70-fb05-4de5-8fe5-2f8e0e561f2a</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>240</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>ca632a39-7bdc-469f-ac4c-24ff2d28fa54</onsuccess></stage><stage stageid="990f81ab-a5c8-4048-83ec-7f04f461f64a" name="Populate Queue (with permission)" type="SubSheetInfo"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative>In this example an environment lock is used to ensure that multiple machines do not populate the queue at the same time. This is useful way to prevent a data source (eg a spreadsheet) being simultaneously read by two machines.
The lock represents 'permission' to load the queue, and only one machine can ever have the lock at one time. Once the queue loading is complete, the lock is released to enable other machines to get permission. An exception block is used to enable the lock to be released in the event of a problem.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="89b880e4-a69c-4f14-95bf-a4296cf4a363" name="Start" type="Start"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d0620d99-5390-4130-a5bf-fe5c29f63469</onsuccess></stage><stage stageid="31f0e5ad-7b07-475f-b813-e6848d8dc8fc" name="Get Lock" type="Action"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the required lock. Mandatory parameter." expr="[Lock Name]" /><input type="timespan" name="Timeout" narrative="The maximum amount of time to await the lock. Default is to wait forever" expr="[Lock Timeout]" /><input type="text" name="Preferred Token" narrative="The preferred token to use for the lock. Default behaviour is to generate a new unique token." expr="" /><input type="text" name="Comment" narrative="The comments to set on the lock" expr="" /></inputs><outputs><output type="text" name="Token" narrative="The token registered against the lock. This will be empty if the lock could not be acquired" stage="Lock Token" /></outputs><onsuccess>d3aa11c4-88dc-42b9-9efd-8671c9ab7663</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Acquire Lock" /></stage><stage stageid="d3aa11c4-88dc-42b9-9efd-8671c9ab7663" name="Got Lock?" type="Decision"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Lock Token]<>""" /><ontrue>82adb55f-b202-421a-9ca4-43ac12dd991f</ontrue><onfalse>41a13165-f563-4583-9a1f-dc5214abda04</onfalse></stage><stage stageid="41a13165-f563-4583-9a1f-dc5214abda04" name="Note5" type="Note"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative>The lock is held elsewhere, probably because this work is currently being done on another machine.</narrative><displayx>150</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>bf6525d1-a5d6-414b-9282-c57466df72db</onsuccess></stage><stage stageid="5ec1a4a7-bfff-45c2-8027-fc2009f4962a" name="Lock Name" type="Data"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0c891cef-4a0d-479e-a967-c1bb7ec6d65e" name="Lock Token" type="Data"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d0620d99-5390-4130-a5bf-fe5c29f63469" name="Lock Name" type="Calculation"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>31f0e5ad-7b07-475f-b813-e6848d8dc8fc</onsuccess><calculation expression=""Populate Queue: "&[Queue Name]" stage="Lock Name" /></stage><stage stageid="9e1b1de3-fea3-4d5c-96ef-16901de5bd6e" name="Lock Timeout" type="Data"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>0.00:05:00</initialvalue><private /><alwaysinit /></stage><stage stageid="896bee4f-4fb2-440a-b96d-2aa633bad77c" name="Queue Name" type="Data"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="aa0d7115-4875-4305-b177-cd9bbd507f98" name="End" type="End"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>585</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="6eac3a02-a093-48be-bf9a-033c41c6f2fd" name="Recover" type="Recover"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>465</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>06fef0e4-bcaa-4696-8972-a485dda4a9ed</onsuccess></stage><stage stageid="06fef0e4-bcaa-4696-8972-a485dda4a9ed" name="Release Lock" type="Action"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>525</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="ExceptionDetail()" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>101abd1e-c251-4ba5-84b8-01cf346929d3</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="101abd1e-c251-4ba5-84b8-01cf346929d3" name="Throw" type="Exception"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>585</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="c2d1b1f0-9aab-4d62-8c4f-74128a10f62b" name="Release Lock" type="Action"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>525</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>aa0d7115-4875-4305-b177-cd9bbd507f98</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="82adb55f-b202-421a-9ca4-43ac12dd991f" name="Note1" type="Note"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative>The lock has been obtained, meaning permission to populate queue is granted.</narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>b0233cfb-d727-41cf-951c-2faebf84bbd7</onsuccess></stage><stage stageid="3996bb27-0819-436e-be18-36ddd22107cc" name="Block1" type="Block"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>285</displayy><displaywidth>255</displaywidth><displayheight>210</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="b343353d-47a8-4fc4-801f-f2ef816e881c" name="Note2" type="Note"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative>** NB In the event of an exception the lock must be released.</narrative><displayx>330</displayx><displayy>630</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>06fef0e4-bcaa-4696-8972-a485dda4a9ed</onsuccess></stage><stage stageid="e3269484-825a-4cda-80a8-0f728103d9eb" name="Note2" type="Note"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative>** NB After populating the queue, the lock is released.</narrative><displayx>-180</displayx><displayy>630</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>c2d1b1f0-9aab-4d62-8c4f-74128a10f62b</onsuccess></stage><stage stageid="bf6525d1-a5d6-414b-9282-c57466df72db" name="End2" type="End"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative></narrative><displayx>270</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b0233cfb-d727-41cf-951c-2faebf84bbd7" name="Note1" type="Note"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative>Logic to poulate the queue goes here, inside the exception block.</narrative><displayx>15</displayx><displayy>375</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>c2d1b1f0-9aab-4d62-8c4f-74128a10f62b</onsuccess></stage><stage stageid="a276b242-1d49-4a8a-a792-753c94ec08a9" name="Note2" type="Note"><subsheetid>43c65934-a5a6-4d89-9e30-a0e85aa4dc24</subsheetid><narrative>** NB In this example, if the lock does not become available the process will continue.</narrative><displayx>390</displayx><displayy>195</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>bf6525d1-a5d6-414b-9282-c57466df72db</onsuccess></stage><stage stageid="68ee9387-1075-45fe-8248-4333f8947721" name="Populate Queue (use transaction tag)" type="SubSheetInfo"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="3dd8940e-5f58-429c-8103-06327fa69ca1" name="Start" type="Start"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d553d2ac-66ca-4aec-894f-0d406010a252</onsuccess></stage><stage stageid="e0f3b36e-ee5a-453c-bbc4-568c26c2d826" name="Queue Name" type="Data"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="d342d5fa-6356-4312-9839-e14116a843a7" name="Add to Queue" type="Action"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>15</displayx><displayy>60</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="New Item IDs" /></outputs><onsuccess>c5b494f4-be90-4a79-bd18-a097e8b9c542</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="529e9b6d-dacb-44e1-8308-0d91367a834e" name="New Item Data" type="Collection"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Field1" type="text" /><field name="Field3" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Item Key" type="text" value="001" /><field name="Field1" type="text" value="A1" /><field name="Field3" type="text" value="B1" /><field name="Field5" type="text" value="C1" /></row><row><field name="Item Key" type="text" value="002" /><field name="Field1" type="text" value="A2" /><field name="Field3" type="text" value="B2" /><field name="Field5" type="text" value="C2" /></row><row><field name="Item Key" type="text" value="003" /><field name="Field1" type="text" value="A3" /><field name="Field3" type="text" value="B3" /><field name="Field5" type="text" value="C3" /></row></initialvalue></stage><stage stageid="ba94b033-dbc1-4f47-a674-34e6309f74da" name="New Item IDs" type="Collection"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="73faea4f-dc2e-4efa-8152-63f237b9065c" name="New Item IDs" type="LoopStart"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>15</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>472df0bc-9eec-42c2-b506-30b80ed01b9b</onsuccess><groupid>43ba656c-2be9-4f82-bc68-5ff71d22408e</groupid><looptype>ForEach</looptype><loopdata>New Item IDs</loopdata></stage><stage stageid="61bb6da7-a738-42ac-8d27-a565c25da09e" name="New Item IDs" type="LoopEnd"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>15</displayx><displayy>450</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7feb1876-f532-44bc-bf3b-5d7ffec251a1</onsuccess><groupid>43ba656c-2be9-4f82-bc68-5ff71d22408e</groupid></stage><stage stageid="472df0bc-9eec-42c2-b506-30b80ed01b9b" name="Tag Item" type="Action"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>15</displayx><displayy>405</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[New Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr=""Ready"" /></inputs><onsuccess>61bb6da7-a738-42ac-8d27-a565c25da09e</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="fbfde68f-c240-4c82-88e3-f1863650fbb5" name="End3" type="End"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="5cbc9118-6ef4-4156-9a31-1f28024462d4" name="Recover" type="Recover"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><loginhibit /><narrative></narrative><displayx>210</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>aa55cb0b-9a1f-4c3d-b06a-116b22337cfe</onsuccess></stage><stage stageid="271b32f3-a52b-4001-8daf-6f580468dc61" name="New Item IDs" type="LoopStart"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>210</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d2c250bd-ad87-466c-baf5-50c8795cf159</onsuccess><groupid>3e7d2a50-f0ac-474b-9716-fd229a0bcacb</groupid><looptype>ForEach</looptype><loopdata>New Item IDs</loopdata></stage><stage stageid="c6f3d69d-d405-435a-8da6-24f8ef585b69" name="New Item IDs" type="LoopEnd"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>210</displayx><displayy>450</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b3fd0205-bf63-4aae-9459-6a9a268da34d</onsuccess><groupid>3e7d2a50-f0ac-474b-9716-fd229a0bcacb</groupid></stage><stage stageid="d2c250bd-ad87-466c-baf5-50c8795cf159" name="Delete Item" type="Action"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>210</displayx><displayy>405</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to delete. An error will be raised if this item does not exist, or is locked." expr="[New Item IDs.Item ID]" /></inputs><onsuccess>c6f3d69d-d405-435a-8da6-24f8ef585b69</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Delete Item" /></stage><stage stageid="b3fd0205-bf63-4aae-9459-6a9a268da34d" name="Throw" type="Exception"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><loginhibit /><narrative></narrative><displayx>210</displayx><displayy>510</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="c5b494f4-be90-4a79-bd18-a097e8b9c542" name="Note6" type="Note"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative>Complete the transaction by marking the source as read (eg move spreadsheet to an archive folder).</narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>22a15319-93dd-4e90-9afd-fce88a5b532a</onsuccess></stage><stage stageid="dcb6d3d9-020b-4747-9439-251b97b5a90e" name="Block2" type="Block"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>90</displayy><displaywidth>375</displaywidth><displayheight>135</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="d553d2ac-66ca-4aec-894f-0d406010a252" name="Note6" type="Note"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative>Begin a transaction by reading data source (eg a spreadsheet).</narrative><displayx>15</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>d342d5fa-6356-4312-9839-e14116a843a7</onsuccess></stage><stage stageid="65671757-edbb-48c8-be04-38a6c2885dc4" name="Note2" type="Note"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative>** NB This example assumes the New Item Data collection has been filled from elsewhere.</narrative><displayx>210</displayx><displayy>0</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>d342d5fa-6356-4312-9839-e14116a843a7</onsuccess></stage><stage stageid="22a15319-93dd-4e90-9afd-fce88a5b532a" name="Note6" type="Note"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative>Once the transaction is complete, the new items are marked to indicate that they can be worked, in this example with the tag 'Ready'.</narrative><displayx>15</displayx><displayy>285</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>73faea4f-dc2e-4efa-8152-63f237b9065c</onsuccess></stage><stage stageid="7feb1876-f532-44bc-bf3b-5d7ffec251a1" name="Note6" type="Note"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative>This example assumes that only items tagged as 'Ready' will be worked and that any item not tagged will be ignored (eg the 'Tag Filter' parameter will be used on the 'Get Next Item' action).</narrative><displayx>15</displayx><displayy>540</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>fbfde68f-c240-4c82-88e3-f1863650fbb5</onsuccess></stage><stage stageid="aa55cb0b-9a1f-4c3d-b06a-116b22337cfe" name="Note6" type="Note"><subsheetid>bf0bd98c-a671-44c0-b5ea-bcc27c806e93</subsheetid><narrative>Roll back the transaction in the event of a problem - the new items are deemed invalid and can be deleted.</narrative><displayx>210</displayx><displayy>285</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>271b32f3-a52b-4001-8daf-6f580468dc61</onsuccess></stage><stage stageid="acc394c2-a830-47b2-9cf4-e32cdfcb80b2" name="Populate Queue (add items using different collections)" type="SubSheetInfo"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative>In this example the source data is used to determine the type of item to create ( Gas, Electrc or Dual Fuel) and what data collection to use.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e938e7b9-3c65-4e3a-8f23-661058f820f2" name="Start" type="Start"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>92b1a623-dcde-4279-8e85-1b2f434d56c2</onsuccess></stage><stage stageid="cc43e0aa-eb9c-4792-8d7b-86d42e5b4e9f" name="Source Data" type="Collection"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Fuel Type" type="text" /><field name="Gas Reading" type="text" /><field name="Electric Reading" type="text" /><field name="Electric Meter Type" type="text" /></collectioninfo><initialvalue><row><field name="Account ID" type="text" value="1001" /><field name="Fuel Type" type="text" value="Gas" /><field name="Gas Reading" type="text" value="100001" /><field name="Electric Reading" type="text" value="" /><field name="Electric Meter Type" type="text" value="" /></row><row><field name="Account ID" type="text" value="2002" /><field name="Fuel Type" type="text" value="Electric" /><field name="Gas Reading" type="text" value="200000002" /><field name="Electric Reading" type="text" value="" /><field name="Electric Meter Type" type="text" value="4 Dial" /></row><row><field name="Account ID" type="text" value="3003" /><field name="Fuel Type" type="text" value="Gas" /><field name="Gas Reading" type="text" value="300003" /><field name="Electric Reading" type="text" value="" /><field name="Electric Meter Type" type="text" value="" /></row><row><field name="Account ID" type="text" value="4004" /><field name="Fuel Type" type="text" value="Dual Fuel" /><field name="Gas Reading" type="text" value="400004" /><field name="Electric Reading" type="text" value="400000004" /><field name="Electric Meter Type" type="text" value="Digital" /></row><row><field name="Account ID" type="text" value="5005" /><field name="Fuel Type" type="text" value="Electric" /><field name="Gas Reading" type="text" value="500000005" /><field name="Electric Reading" type="text" value="" /><field name="Electric Meter Type" type="text" value="5 Dial" /></row></initialvalue></stage><stage stageid="92b1a623-dcde-4279-8e85-1b2f434d56c2" name="Source Data" type="LoopStart"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>bde1ada5-5d6b-4ec4-96f7-fa490670cdfa</onsuccess><groupid>834b35cb-6108-4a34-ab8b-d7ffe8f1b1b6</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="49043f8d-c633-4cab-99e6-28636d733a66" name="Source Data" type="LoopEnd"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>450</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>99aba44a-56d4-4da9-84da-54cd99794d19</onsuccess><groupid>834b35cb-6108-4a34-ab8b-d7ffe8f1b1b6</groupid></stage><stage stageid="2900cf57-d612-4cca-8d59-928cb99b2ac9" name="Remove Row" type="Action"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>390</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>49043f8d-c633-4cab-99e6-28636d733a66</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="99aba44a-56d4-4da9-84da-54cd99794d19" name="End1" type="End"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>510</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="2f1f75f4-f70b-4b30-b267-f91383eb809f" name="Add to Queue" type="Action"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data - Gas]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="[Tag]" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>2900cf57-d612-4cca-8d59-928cb99b2ac9</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="7704a50b-1a4b-4b8e-a14a-6b9dcb25eded" name="Queue Name" type="Data"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="91eda471-b00a-427b-86ca-157c486bdf79" name="Note2" type="Note"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>210</displayx><displayy>480</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>2900cf57-d612-4cca-8d59-928cb99b2ac9</onsuccess></stage><stage stageid="1e79e1ec-0862-4d59-823c-eab279d0243e" name="Note2" type="Note"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>210</displayx><displayy>-90</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>92b1a623-dcde-4279-8e85-1b2f434d56c2</onsuccess></stage><stage stageid="bde1ada5-5d6b-4ec4-96f7-fa490670cdfa" name="Gas?" type="Decision"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Source Data.Fuel Type]="Gas"" /><ontrue>50576105-96ab-44a2-a4c5-84229cf6d1e9</ontrue><onfalse>b91a9f52-cc1e-4382-a178-37c97ee79c0c</onfalse></stage><stage stageid="b91a9f52-cc1e-4382-a178-37c97ee79c0c" name="Electric?" type="Decision"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>180</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Source Data.Fuel Type]="Electric"" /><ontrue>dc8cda74-2c10-4100-b6cc-d0c81bb05f82</ontrue><onfalse>340ca50f-cf1c-4566-a51d-4d76c81d938e</onfalse></stage><stage stageid="50576105-96ab-44a2-a4c5-84229cf6d1e9" name="Add Row" type="Action"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data - Gas"" /></inputs><onsuccess>bd7bac3c-f61e-46e7-afb6-ee44ad283965</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="bd7bac3c-f61e-46e7-afb6-ee44ad283965" name="Populate Row" type="MultipleCalculation"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fd3d6475-b012-411c-95ec-c609cedb8104</onsuccess><steps><calculation expression="[Source Data.Account ID]" stage="New Item Data - Gas.Account ID" /><calculation expression="[Source Data.Gas Reading]" stage="New Item Data - Gas.Reading" /><calculation expression=""G "&[Source Data.Account ID]" stage="New Item Data - Gas.Item Key" /></steps></stage><stage stageid="327c52ac-2bc3-43cf-bcab-6fd0ac80a38e" name="New Item Data - Gas" type="Collection"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Reading" type="text" /><field name="Item Key" type="text" /></collectioninfo></stage><stage stageid="2598f279-000b-4449-8dee-3373878c677a" name="New Item Data - Dual Fuel" type="Collection"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>300</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Gas Reading" type="text" /><field name="Electric Reading" type="text" /><field name="Item Key" type="text" /></collectioninfo></stage><stage stageid="dc8cda74-2c10-4100-b6cc-d0c81bb05f82" name="Add Row" type="Action"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>180</displayx><displayy>105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data - Electric"" /></inputs><onsuccess>2d68f144-5129-4a69-8f83-fc98631faa77</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="2d68f144-5129-4a69-8f83-fc98631faa77" name="Populate Row" type="MultipleCalculation"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>180</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>92e53ef2-1709-49f9-8495-a978701f819a</onsuccess><steps><calculation expression="[Source Data.Account ID]" stage="New Item Data - Electric.Account ID" /><calculation expression="[Source Data.Electric Reading]" stage="New Item Data - Electric.Reading" /><calculation expression=""E "&[Source Data.Account ID]" stage="New Item Data - Electric.Item Key" /></steps></stage><stage stageid="78d3da95-727b-4d04-a862-88966501507d" name="anchor10" type="Anchor"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>180</displayx><displayy>390</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2900cf57-d612-4cca-8d59-928cb99b2ac9</onsuccess></stage><stage stageid="ceaf28e4-5f9d-4fab-a416-8906aa757e85" name="Add Row" type="Action"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>345</displayx><displayy>105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data - Dual Fuel"" /></inputs><onsuccess>3600397a-b9c8-4b2b-ad18-aea6e8de7e0d</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="3600397a-b9c8-4b2b-ad18-aea6e8de7e0d" name="Populate Row" type="MultipleCalculation"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>345</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c33f9978-f82f-4b18-8e11-7e2c315680b4</onsuccess><steps><calculation expression="[Source Data.Account ID]" stage="New Item Data - Dual Fuel.Account ID" /><calculation expression="[Source Data.Electric Reading]" stage="New Item Data - Dual Fuel.Electric Reading" /><calculation expression="[Source Data.Gas Reading]" stage="New Item Data - Dual Fuel.Gas Reading" /><calculation expression=""D "&[Source Data.Account ID]" stage="New Item Data - Dual Fuel.Item Key" /></steps></stage><stage stageid="340ca50f-cf1c-4566-a51d-4d76c81d938e" name="Note7" type="Note"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative>Must be Dual Fuel</narrative><displayx>345</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>ceaf28e4-5f9d-4fab-a416-8906aa757e85</onsuccess></stage><stage stageid="c63bcd33-4173-482b-9e99-d913dafca149" name="New Item Data - Electric" type="Collection"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>240</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Account ID" type="text" /><field name="Reading" type="text" /><field name="Meter Type" type="unknown" /><field name="Item Key" type="text" /></collectioninfo></stage><stage stageid="8a5b2749-dc9e-4982-aa32-7db67c4d3fd5" name="Tag" type="Data"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c6cb86fb-595d-4686-af97-cff3b8c654eb" name="anchor11" type="Anchor"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>345</displayx><displayy>390</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>78d3da95-727b-4d04-a862-88966501507d</onsuccess></stage><stage stageid="fd3d6475-b012-411c-95ec-c609cedb8104" name="Set Tag" type="Calculation"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2f1f75f4-f70b-4b30-b267-f91383eb809f</onsuccess><calculation expression=""G"" stage="Tag" /></stage><stage stageid="92e53ef2-1709-49f9-8495-a978701f819a" name="Set Tag" type="Calculation"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>180</displayx><displayy>255</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d65aef72-9875-448b-85f9-cebb2a74c4a9</onsuccess><calculation expression=""E"" stage="Tag" /></stage><stage stageid="c33f9978-f82f-4b18-8e11-7e2c315680b4" name="Set Tag" type="Calculation"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>345</displayx><displayy>255</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a3f9efc8-d513-47ee-b4c0-686ae5e4a04f</onsuccess><calculation expression=""D"" stage="Tag" /></stage><stage stageid="d65aef72-9875-448b-85f9-cebb2a74c4a9" name="Add to Queue" type="Action"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>180</displayx><displayy>330</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data - Electric]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="[Tag]" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>78d3da95-727b-4d04-a862-88966501507d</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="a3f9efc8-d513-47ee-b4c0-686ae5e4a04f" name="Add to Queue" type="Action"><subsheetid>47332930-e6c1-484c-b26a-2ca9d8b881af</subsheetid><narrative></narrative><displayx>345</displayx><displayy>330</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data - Dual Fuel]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="[Tag]" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>c6cb86fb-595d-4686-af97-cff3b8c654eb</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="d0d58eb1-a2b5-4164-a296-62cde8a1f525" name="End1" type="End"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="48f031c8-4f88-4a29-94ba-ccab421cc186" name="Note3" type="Note"><narrative>This process has not been designed to run, it is merely a collection diagram fragments based on a common theme.
Each page is an example intended to illustrate how a particular task might be acheived in Blue Prism.
These examples may be copied into a new diagram and modified to suit your needs.</narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>d0d58eb1-a2b5-4164-a296-62cde8a1f525</onsuccess></stage></process></process>
<process id="c83b860a-d412-44dc-b615-3cfd3efd3043" name="Process Examples - Collections" xmlns="http://www.blueprism.co.uk/product/process"><process name="Process Examples - Collections" version="1.0" narrative="Various examples of working with collections"><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="b2a746ec-3c8d-451f-a1e2-40445ab4c063" type="Normal" published="False"><name>Add Rows</name><view><camerax>0</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="447be6f3-3a3d-4602-9289-b6a359736ae0" type="Normal" published="False"><name>Remove Rows</name><view><camerax>0</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="ea3944df-29d7-4242-82a8-af59bd1d5a7e" type="Normal" published="False"><name>Remove All Rows</name><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="cdd44f21-cbbb-4199-b9df-a802f8c35662" type="Normal" published="False"><name>Reuse Collection</name><view><camerax>86</camerax><cameray>40</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="75b229cc-66bc-4341-aead-208935e2f394" type="Normal" published="False"><name>Copy Rows</name><view><camerax>32</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="851d80ad-6d5e-4070-ac9b-7d6a0ca49a56" type="Normal" published="False"><name>Append Rows</name><view><camerax>0</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="bf91e119-c6ab-49ad-ab0d-c0eab1c78402" type="Normal" published="False"><name>Append Columns</name><view><camerax>0</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="77e79fff-ba01-488e-a08f-9b3d807aa339" type="Normal" published="False"><name>Copy Collection</name><view><camerax>108</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="5944210c-9a30-46f6-a8b9-7c151279c0da" type="Normal" published="False"><name>Sort Collection</name><view><camerax>0</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53" type="Normal" published="False"><name>Filter Collection</name><view><camerax>0</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="ab6c92e2-2818-41b7-a4c1-b1a9210a6812" type="Normal" published="False"><name>Empty Collection Test (1)</name><view><camerax>0</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="8a5011b9-e536-4145-870c-d1f049ab4a47" type="Normal" published="False"><name>Empty Collection Test (2)</name><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee" type="Normal" published="False"><name>Collection Structure Test (1)</name><view><camerax>106</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="5c6f0c0b-2368-4b00-b63a-d730243a4056" type="Normal" published="False"><name>Collection Structure Test (2)</name><view><camerax>213</camerax><cameray>42</cameray><zoom>1.2</zoom></view></subsheet><stage stageid="4ec22dfb-5f72-4e43-bafe-235f3db1309f" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>ad83496c-8a27-448a-b3ba-a7f67d6cbaa1</onsuccess></stage><stage stageid="975079a8-bb0c-402b-9f17-1d88276a81f6" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="86738c0c-ee8f-4101-8662-fa88b0bd3242" name="End1" type="End"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="ad83496c-8a27-448a-b3ba-a7f67d6cbaa1" name="Note3" type="Note"><narrative>This process has not been designed to run, it is merely a collection diagram fragments based on a common theme.
Each page is an example intended to illustrate how a particular task might be acheived in Blue Prism.
These examples may be copied into a new diagram and modified to suit your needs.</narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>86738c0c-ee8f-4101-8662-fa88b0bd3242</onsuccess></stage><stage stageid="7d6cd340-fd19-4a91-a6a8-86e193601f78" name="Remove Rows" type="SubSheetInfo"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative>This example checks whether the values on a row are all empty. If they are, the row is removed from the collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a2782cf6-f503-417b-a8c7-6bd8f812ae71" name="Start" type="Start"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3b2e17f0-fe23-4883-b433-f2b239311c32</onsuccess></stage><stage stageid="29ac50bf-502a-4fa2-9f23-5539ab79e333" name="End" type="End"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="3b2e17f0-fe23-4883-b433-f2b239311c32" name="My Collection" type="LoopStart"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b8846ba5-d636-4c60-9a91-e7fe926f902d</onsuccess><groupid>0de75aec-9e57-43b9-b5ba-da0e8c605536</groupid><looptype>ForEach</looptype><loopdata>My Collection</loopdata></stage><stage stageid="913fcee1-7156-4916-9c36-de181de9bb4e" name="My Collection" type="LoopEnd"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>29ac50bf-502a-4fa2-9f23-5539ab79e333</onsuccess><groupid>0de75aec-9e57-43b9-b5ba-da0e8c605536</groupid></stage><stage stageid="900f5dbe-46c3-445e-90a4-0a0942b5b1c6" name="anchor1" type="Anchor"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative></narrative><displayx>135</displayx><displayy>120</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>913fcee1-7156-4916-9c36-de181de9bb4e</onsuccess></stage><stage stageid="b8846ba5-d636-4c60-9a91-e7fe926f902d" name="Blank Row?" type="Decision"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="Trim([My Collection.Field1]&[My Collection.Field2]&[My Collection.Field3]&[My Collection.Field4]&[My Collection.Field5])=""" /><ontrue>c4c3e4a8-a922-4f72-b5f3-baa40e5b858a</ontrue><onfalse>913fcee1-7156-4916-9c36-de181de9bb4e</onfalse></stage><stage stageid="c4c3e4a8-a922-4f72-b5f3-baa40e5b858a" name="Remove Row" type="Action"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative></narrative><displayx>135</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""My Collection"" /></inputs><onsuccess>900f5dbe-46c3-445e-90a4-0a0942b5b1c6</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove Row" /></stage><stage stageid="f8030d07-f65c-4a67-b98c-82cbb7d2c2af" name="My Collection" type="Collection"><subsheetid>447be6f3-3a3d-4602-9289-b6a359736ae0</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="" /><field name="Field2" type="text" value="" /><field name="Field3" type="text" value="" /><field name="Field4" type="text" value="" /><field name="Field5" type="text" value="" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row><row><field name="Field1" type="text" value="" /><field name="Field2" type="text" value="" /><field name="Field3" type="text" value="" /><field name="Field4" type="text" value="" /><field name="Field5" type="text" value="" /></row><row><field name="Field1" type="text" value="" /><field name="Field2" type="text" value="" /><field name="Field3" type="text" value="" /><field name="Field4" type="text" value="" /><field name="Field5" type="text" value="" /></row></initialvalue></stage><stage stageid="d4562d6e-fc69-4f87-aae2-86ba9a7377eb" name="Add Rows" type="SubSheetInfo"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative>This example repeatedly adds a new row to the collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="db09525a-406e-434d-8eb6-994969a75408" name="Start" type="Start"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0df63a2d-eb01-492a-8b99-08f18b88d22a</onsuccess></stage><stage stageid="9c0d7693-356f-46bf-91b6-56008e3e1cfa" name="End" type="End"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="eda58b7e-b884-429d-a425-e2c5841d59ed" name="My Collection" type="Collection"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="number" /><field name="Field3" type="datetime" /></collectioninfo></stage><stage stageid="44942c17-fbaf-4052-b0a9-a47c716cab60" name="anchor1" type="Anchor"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>135</displayx><displayy>-45</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0df63a2d-eb01-492a-8b99-08f18b88d22a</onsuccess></stage><stage stageid="0df63a2d-eb01-492a-8b99-08f18b88d22a" name="Add Row" type="Action"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""My Collection"" /></inputs><onsuccess>5dd06a58-7864-475e-b3e5-e1bba78ca851</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="5dd06a58-7864-475e-b3e5-e1bba78ca851" name="Popuate Row" type="MultipleCalculation"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>f7539327-238a-4a3c-be7f-badf3bf817e4</onsuccess><steps><calculation expression="Chr(64+[Counter])" stage="My Collection.Field1" /><calculation expression="[Counter]" stage="My Collection.Field2" /><calculation expression="Now()" stage="My Collection.Field3" /></steps></stage><stage stageid="ab3385f4-2a60-4489-9d38-abae6f1c02fe" name="Counter" type="Data"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>1</initialvalue><private /><alwaysinit /></stage><stage stageid="f7539327-238a-4a3c-be7f-badf3bf817e4" name="Stop?" type="Decision"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Counter]>=[Limit]" /><ontrue>9c0d7693-356f-46bf-91b6-56008e3e1cfa</ontrue><onfalse>4db53388-791f-42df-8d1a-83f8df01a5ee</onfalse></stage><stage stageid="4db53388-791f-42df-8d1a-83f8df01a5ee" name="Count" type="Calculation"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>135</displayx><displayy>120</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>44942c17-fbaf-4052-b0a9-a47c716cab60</onsuccess><calculation expression="[Counter]+1" stage="Counter" /></stage><stage stageid="7d72104d-1340-4653-ae9c-8649a6f3f6e7" name="Limit" type="Data"><subsheetid>b2a746ec-3c8d-451f-a1e2-40445ab4c063</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>10</initialvalue><private /><alwaysinit /></stage><stage stageid="a44460ab-fcb8-4a77-ab70-8d0f89e59dd1" name="Remove All Rows" type="SubSheetInfo"><subsheetid>ea3944df-29d7-4242-82a8-af59bd1d5a7e</subsheetid><narrative>This example removes all rows from the collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="ae8ffcbb-d4d3-448a-a904-c3eabf06422e" name="Start" type="Start"><subsheetid>ea3944df-29d7-4242-82a8-af59bd1d5a7e</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>09e057ee-9a34-4ee1-9451-67744357b381</onsuccess></stage><stage stageid="5dc0941c-ba3f-4ca1-9add-ae528a2ef04d" name="End" type="End"><subsheetid>ea3944df-29d7-4242-82a8-af59bd1d5a7e</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="09e057ee-9a34-4ee1-9451-67744357b381" name="Remove All Rows" type="Action"><subsheetid>ea3944df-29d7-4242-82a8-af59bd1d5a7e</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""My Collection"" /></inputs><onsuccess>5dc0941c-ba3f-4ca1-9add-ae528a2ef04d</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="0949d1c1-c3a4-4266-8072-1ce3533ff7c4" name="My Collection" type="Collection"><subsheetid>ea3944df-29d7-4242-82a8-af59bd1d5a7e</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row></initialvalue></stage><stage stageid="1861773b-3910-4a27-bbac-d91b23b50fae" name="Reuse Collection" type="SubSheetInfo"><subsheetid>cdd44f21-cbbb-4199-b9df-a802f8c35662</subsheetid><narrative>This example erases all values from a collection before adding a new, clean row that is then filled with data.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="8685abf3-6e5a-41cd-a057-2450fef13773" name="Start" type="Start"><subsheetid>cdd44f21-cbbb-4199-b9df-a802f8c35662</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>cbec19b2-4c3e-46f6-b016-905dfe6091dd</onsuccess></stage><stage stageid="fcf6a2c2-282a-4d79-8860-5ca56b423f30" name="End" type="End"><subsheetid>cdd44f21-cbbb-4199-b9df-a802f8c35662</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="cbec19b2-4c3e-46f6-b016-905dfe6091dd" name="Erase Existing Values" type="Action"><subsheetid>cdd44f21-cbbb-4199-b9df-a802f8c35662</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""My Collection"" /></inputs><onsuccess>4c1b5fdd-5d23-4ac7-8550-6a7013033c8f</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="8486f948-1f07-4cbc-83cf-f18cbb13babd" name="My Collection" type="Collection"><subsheetid>cdd44f21-cbbb-4199-b9df-a802f8c35662</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /></row></initialvalue></stage><stage stageid="4c1b5fdd-5d23-4ac7-8550-6a7013033c8f" name="Add New Row" type="Action"><subsheetid>cdd44f21-cbbb-4199-b9df-a802f8c35662</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""My Collection"" /></inputs><onsuccess>c5e49d6e-ad98-4e02-91b0-a6fcd5a46eb9</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="c5e49d6e-ad98-4e02-91b0-a6fcd5a46eb9" name="Popuate New Row" type="MultipleCalculation"><subsheetid>cdd44f21-cbbb-4199-b9df-a802f8c35662</subsheetid><narrative></narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fcf6a2c2-282a-4d79-8860-5ca56b423f30</onsuccess><steps><calculation expression=""a2"" stage="My Collection.Field1" /><calculation expression=""b2"" stage="My Collection.Field2" /><calculation expression=""c2"" stage="My Collection.Field3" /></steps></stage><stage stageid="42e15b05-18fb-4a79-b710-faf4445afb73" name="Note2" type="Note"><subsheetid>cdd44f21-cbbb-4199-b9df-a802f8c35662</subsheetid><narrative>** NB Although the existing row could simply be overwitten with the new data, the safest way to ensure the old data is not used is to remove the old row and then populate a new one.</narrative><displayx>210</displayx><displayy>135</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>c5e49d6e-ad98-4e02-91b0-a6fcd5a46eb9</onsuccess></stage><stage stageid="87f13a1c-902e-476a-909d-72729858e507" name="Copy Rows" type="SubSheetInfo"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative>This example copies a subset of rows from a collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="2590b0db-38fb-4f80-b855-22c84aa00c49" name="Start" type="Start"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>dbb9934a-f705-455f-99ac-85e906cd3821</onsuccess></stage><stage stageid="39245a15-3e57-46b0-8980-655202f824bf" name="End" type="End"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative></narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="58a74da9-1dad-4862-a125-2a13e4e5a45e" name="Collection A" type="Collection"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row></initialvalue></stage><stage stageid="dbb9934a-f705-455f-99ac-85e906cd3821" name="Copy From A to B" type="Action"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to copy rows from" expr=""Collection A"" /><input type="number" name="Start Row" narrative="The first row to include, 0-n" expr="0" /><input type="number" name="End Row" narrative="The last row to include, 0-n" expr="1" /></inputs><outputs><output type="collection" name="Result" narrative="A collection which contains the rows copied from the input collection" stage="Collection B" /></outputs><onsuccess>d1209530-cc97-4dd6-8d4a-edfaaaef0dcf</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Copy Rows" /></stage><stage stageid="b30fabbf-7deb-4851-b3be-59ec2f586bcd" name="Collection B" type="Collection"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="d1209530-cc97-4dd6-8d4a-edfaaaef0dcf" name="Copy From A to C" type="Action"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative></narrative><displayx>15</displayx><displayy>60</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to copy rows from" expr=""Collection A"" /><input type="number" name="Start Row" narrative="The first row to include, 0-n" expr="2" /><input type="number" name="End Row" narrative="The last row to include, 0-n" expr="2" /></inputs><outputs><output type="collection" name="Result" narrative="A collection which contains the rows copied from the input collection" stage="Collection C" /></outputs><onsuccess>39245a15-3e57-46b0-8980-655202f824bf</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Copy Rows" /></stage><stage stageid="465196c9-67c0-4361-8240-78e92570c4df" name="Collection C" type="Collection"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo></stage><stage stageid="81fb3927-ada4-41d5-83f9-a2c54cb0f042" name="Note2" type="Note"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative>** NB Collection B has no defined fields but is able to store the copied rows. This is an example of an undefined collection.</narrative><displayx>285</displayx><displayy>-75</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>dbb9934a-f705-455f-99ac-85e906cd3821</onsuccess></stage><stage stageid="1660223f-57f9-43f6-99f6-18bf44052af8" name="Note2" type="Note"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative>** NB The row numbers start a zero, ie the first row is 0, the second 1, etc.</narrative><displayx>285</displayx><displayy>105</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>d1209530-cc97-4dd6-8d4a-edfaaaef0dcf</onsuccess></stage><stage stageid="8bc4628c-e18f-446d-a7ed-9c4db95f2f10" name="Copy Collection" type="SubSheetInfo"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative>This example simply uses a calculation to copy collections.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="becd1eac-7f65-4a1d-a839-890f71f868e5" name="Start" type="Start"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>ad8b1976-9729-44b7-b077-8b46e5e91802</onsuccess></stage><stage stageid="7bbe0e62-7701-4f78-ab1a-4d27280eb9a0" name="End" type="End"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="704f8cf2-658d-46fc-b188-895424df7739" name="Collection A" type="Collection"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row></initialvalue></stage><stage stageid="b34d3b94-781e-4a46-aed5-591b3569f39b" name="Collection C" type="Collection"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="d1e4d9ff-201f-41bf-92f8-3d524fc28245" name="Collection B" type="Collection"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo></stage><stage stageid="ad8b1976-9729-44b7-b077-8b46e5e91802" name="Copy From A to B" type="Calculation"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-15</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>55a039fc-dcbe-4fba-b9c7-10bd7dabde47</onsuccess><calculation expression="[Collection A]" stage="Collection B" /></stage><stage stageid="55a039fc-dcbe-4fba-b9c7-10bd7dabde47" name="Copy From A to C" type="Calculation"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7bbe0e62-7701-4f78-ab1a-4d27280eb9a0</onsuccess><calculation expression="[Collection A]" stage="Collection C" /></stage><stage stageid="5f310aa0-e537-4771-b61a-0ed232021943" name="Note2" type="Note"><subsheetid>75b229cc-66bc-4341-aead-208935e2f394</subsheetid><narrative>** NB Collection C has fields defined but these must match the fields in Collection A exactly.</narrative><displayx>285</displayx><displayy>15</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>d1209530-cc97-4dd6-8d4a-edfaaaef0dcf</onsuccess></stage><stage stageid="a1b33e4b-ec64-4587-8dd2-8f3b3ff39182" name="Note2" type="Note"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative>** NB Collection B has no defined fields but can still be used as the 'Store In' value in the calculation. This is an example of an undefined collection.</narrative><displayx>270</displayx><displayy>-45</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>ad8b1976-9729-44b7-b077-8b46e5e91802</onsuccess></stage><stage stageid="31399670-07bb-4ec0-86c9-39165498bccc" name="Note2" type="Note"><subsheetid>77e79fff-ba01-488e-a08f-9b3d807aa339</subsheetid><narrative>** NB Collection C has fields defined but these must match the fields in Collection A exactly.</narrative><displayx>270</displayx><displayy>120</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>55a039fc-dcbe-4fba-b9c7-10bd7dabde47</onsuccess></stage><stage stageid="a743c2e8-1dd1-4a99-9afb-006c76a37b07" name="Sort Collection" type="SubSheetInfo"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative>This example sorts the rows in a collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b3f230a1-10d1-492e-8fd9-d849d6625aaf" name="Start" type="Start"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8b523a97-95f9-4ac4-a439-7a45a2607ba6</onsuccess></stage><stage stageid="4a6fe075-4899-46f4-8f78-d3a5c110106b" name="End" type="End"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b2e8f7ce-0943-40e5-8240-d3fd02158228" name="Collection A" type="Collection"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="A" /></row><row><field name="Field1" type="text" value="B" /></row><row><field name="Field1" type="text" value="C" /></row><row><field name="Field1" type="text" value="D" /></row><row><field name="Field1" type="text" value="E" /></row></initialvalue></stage><stage stageid="8b523a97-95f9-4ac4-a439-7a45a2607ba6" name="Sort A into B" type="Action"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection" narrative="The collection to sort." expr="[Collection A]" /><input type="text" name="Sort Field" narrative="The field to sort by." expr=""Field1"" /><input type="flag" name="Ascending Order" narrative="True to sort in ascending order." expr="False" /></inputs><outputs><output type="collection" name="Sorted Collection" narrative="The sorted collection." stage="Collection B" /><output type="flag" name="Success" narrative="True if sorting was successful." stage="Success" /><output type="text" name="Message" narrative="An error message when sorting failed." stage="Message" /></outputs><onsuccess>5329fee4-dedf-4de0-b370-d2e5d6c30347</onsuccess><resource object="Utility - Collection Manipulation" action="Sort Collection" /></stage><stage stageid="0f310d2b-6cb2-4037-9ab4-3dd0fa2925b2" name="Collection B" type="Collection"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="f8b513eb-a693-45a0-af8d-2dd1a3f3e7c3" name="Collection C" type="Collection"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="Z" /></row><row><field name="Field1" type="text" value="X" /></row><row><field name="Field1" type="text" value="Y" /></row></initialvalue></stage><stage stageid="5329fee4-dedf-4de0-b370-d2e5d6c30347" name="Sort C" type="Action"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection" narrative="The collection to sort." expr="[Collection C]" /><input type="text" name="Sort Field" narrative="The field to sort by." expr=""Field1"" /><input type="flag" name="Ascending Order" narrative="True to sort in ascending order." expr="True" /></inputs><outputs><output type="collection" name="Sorted Collection" narrative="The sorted collection." stage="Collection C" /><output type="flag" name="Success" narrative="True if sorting was successful." stage="Success" /><output type="text" name="Message" narrative="An error message when sorting failed." stage="Message" /></outputs><onsuccess>4a6fe075-4899-46f4-8f78-d3a5c110106b</onsuccess><resource object="Utility - Collection Manipulation" action="Sort Collection" /></stage><stage stageid="840052df-9203-4a95-8099-dd1cb73eb962" name="Success" type="Data"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6d22519d-eb7f-44b7-a18a-045a33138aa6" name="Message" type="Data"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b4c63113-ac71-43dc-8635-15b446bcac35" name="Note2" type="Note"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative>** NB Collection B has no defined fields but can still be used as the output from the sort action. This is an example of an undefined collection.</narrative><displayx>270</displayx><displayy>-75</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>8b523a97-95f9-4ac4-a439-7a45a2607ba6</onsuccess></stage><stage stageid="358fb781-0a87-48fa-9c6b-43465a18f518" name="Note2" type="Note"><subsheetid>5944210c-9a30-46f6-a8b9-7c151279c0da</subsheetid><narrative>** NB Collection C is used as both the input to and the output from the sort action.</narrative><displayx>270</displayx><displayy>120</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>5329fee4-dedf-4de0-b370-d2e5d6c30347</onsuccess></stage><stage stageid="1bf849bf-43ac-4303-9897-49cce448cd4c" name="Filter Collection" type="SubSheetInfo"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative>This example filters rows in a collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="30d5ccb0-3c75-4a22-877f-b4d843297b5b" name="Start" type="Start"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c873b68e-7953-4cbe-894c-2254e475d44c</onsuccess></stage><stage stageid="9d101c1d-cb7f-4979-8348-c8e332226a2b" name="Collection A" type="Collection"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Product Name" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Product Name" type="text" value="Apple" /><field name="Product Type" type="text" value="Fruit" /></row><row><field name="Product Name" type="text" value="Potato" /><field name="Product Type" type="text" value="Vegetable" /></row><row><field name="Product Name" type="text" value="Carrot" /><field name="Product Type" type="text" value="Vegetable" /></row><row><field name="Product Name" type="text" value="Pear" /><field name="Product Type" type="text" value="Fruit" /></row><row><field name="Product Name" type="text" value="Peach" /><field name="Product Type" type="text" value="Fruit" /></row></initialvalue></stage><stage stageid="c873b68e-7953-4cbe-894c-2254e475d44c" name="Filter A into B" type="Action"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection In" narrative="The collection to filter." expr="[Collection A]" /><input type="text" name="Filter" narrative="The filter query." expr=""[Product Type]='Vegetable'"" /></inputs><outputs><output type="collection" name="Collection Out" narrative="The filtered collection." stage="Collection B" /></outputs><onsuccess>dbc77c79-6efb-4c59-b4cc-400ac8dff597</onsuccess><resource object="Utility - Collection Manipulation" action="Filter Collection" /></stage><stage stageid="75310917-59c5-4577-b886-349450b8f265" name="Collection B" type="Collection"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="0af23024-a72b-4427-bbac-6604e94ff0cf" name="Success" type="Data"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f1fb3e71-e12b-4754-a041-ac377575b088" name="Message" type="Data"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1508e8fb-1440-4294-9236-59a57bead72c" name="Note2" type="Note"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative>** NB Collection B has no defined fields but can still be used as the output from the filter action. This is an example of an undefined collection.</narrative><displayx>270</displayx><displayy>-60</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>c873b68e-7953-4cbe-894c-2254e475d44c</onsuccess></stage><stage stageid="28608a0f-ca81-474b-8401-ccd382ef4361" name="Note2" type="Note"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative>** NB Collection C is used as both the input to and the output from the filter action.</narrative><displayx>270</displayx><displayy>120</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>dbc77c79-6efb-4c59-b4cc-400ac8dff597</onsuccess></stage><stage stageid="60a43ebf-7202-4d2c-9c17-66ab36aece40" name="Collection C" type="Collection"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Product Name" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Product Name" type="text" value="Apple" /><field name="Product Type" type="text" value="Fruit" /></row><row><field name="Product Name" type="text" value="Potato" /><field name="Product Type" type="text" value="Vegetable" /></row><row><field name="Product Name" type="text" value="Carrot" /><field name="Product Type" type="text" value="Vegetable" /></row><row><field name="Product Name" type="text" value="Pear" /><field name="Product Type" type="text" value="Fruit" /></row><row><field name="Product Name" type="text" value="Peach" /><field name="Product Type" type="text" value="Fruit" /></row></initialvalue></stage><stage stageid="dbc77c79-6efb-4c59-b4cc-400ac8dff597" name="Filter C" type="Action"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection In" narrative="The collection to filter." expr="[Collection C]" /><input type="text" name="Filter" narrative="The filter query." expr=""[Product Name] LIKE 'P%'"" /></inputs><outputs><output type="collection" name="Collection Out" narrative="The filtered collection." stage="Collection C" /></outputs><onsuccess>7cead5f3-fad5-4b61-a4ac-9a15717168a7</onsuccess><resource object="Utility - Collection Manipulation" action="Filter Collection" /></stage><stage stageid="7cead5f3-fad5-4b61-a4ac-9a15717168a7" name="End2" type="End"><subsheetid>dddf6dfa-465c-4b6c-86fe-e9ea9fbf6c53</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="f639dc30-96bc-4124-a6fa-ded05ffa37b1" name="Append Rows" type="SubSheetInfo"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative>This example combines collections by appending rows.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="03932316-025c-4138-a85b-2d4a2b0efa29" name="Start" type="Start"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7bcf60d0-4f83-4e11-bab0-abe40d524c5d</onsuccess></stage><stage stageid="75cd06a3-bc0b-4589-bcee-e374b096d03c" name="End" type="End"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="4dba8924-67da-40fb-b0e7-9fdae40466bc" name="Collection A" type="Collection"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /></row></initialvalue></stage><stage stageid="dcca12e1-76cb-4167-b3d6-d6e2fe404d2a" name="Collection D" type="Collection"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="x1" /><field name="Field2" type="text" value="y1" /><field name="Field3" type="text" value="z1" /></row><row><field name="Field1" type="text" value="x2" /><field name="Field2" type="text" value="y2" /><field name="Field3" type="text" value="z2" /></row><row><field name="Field1" type="text" value="x3" /><field name="Field2" type="text" value="y3" /><field name="Field3" type="text" value="z3" /></row></initialvalue></stage><stage stageid="7bcf60d0-4f83-4e11-bab0-abe40d524c5d" name="Append A to B to make C" type="Action"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Main Collection" narrative="The collection to append to." expr="[Collection A]" /><input type="collection" name="Collection to Append" narrative="The collection to append." expr="[Collection B]" /></inputs><outputs><output type="collection" name="Combined Collection" narrative="The combined collection." stage="Collection C" /></outputs><onsuccess>5cf9f7c0-f758-4ec1-b7b9-357fc83a6bc1</onsuccess><resource object="Utility - Collection Manipulation" action="Append Rows to Collection" /></stage><stage stageid="fa214acd-13dd-409e-895e-eabe38d3a049" name="Collection C" type="Collection"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="5cf9f7c0-f758-4ec1-b7b9-357fc83a6bc1" name="Append A to D" type="Action"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Main Collection" narrative="The collection to append to." expr="[Collection A]" /><input type="collection" name="Collection to Append" narrative="The collection to append." expr="[Collection D]" /></inputs><outputs><output type="collection" name="Combined Collection" narrative="The combined collection." stage="Collection D" /></outputs><onsuccess>75cd06a3-bc0b-4589-bcee-e374b096d03c</onsuccess><resource object="Utility - Collection Manipulation" action="Append Rows to Collection" /></stage><stage stageid="68bed20b-212f-471a-a205-cedb07dd9184" name="Collection B" type="Collection"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a4" /><field name="Field2" type="text" value="b4" /><field name="Field3" type="text" value="c4" /></row><row><field name="Field1" type="text" value="a5" /><field name="Field2" type="text" value="b5" /><field name="Field3" type="text" value="c5" /></row><row><field name="Field1" type="text" value="a6" /><field name="Field2" type="text" value="b6" /><field name="Field3" type="text" value="c6" /></row></initialvalue></stage><stage stageid="62c9715a-6ddc-49b9-81b8-1a8602f9330b" name="Note2" type="Note"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative>** NB Collection B has no defined fields but can still be used as the output from the sort action. This is an example of an undefined collection.</narrative><displayx>270</displayx><displayy>-75</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>7bcf60d0-4f83-4e11-bab0-abe40d524c5d</onsuccess></stage><stage stageid="7a82620e-2e6d-4591-8a38-138a16a123a4" name="Note2" type="Note"><subsheetid>851d80ad-6d5e-4070-ac9b-7d6a0ca49a56</subsheetid><narrative>** NB Collection D is used as both the input to and the output from the action.</narrative><displayx>270</displayx><displayy>135</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>5cf9f7c0-f758-4ec1-b7b9-357fc83a6bc1</onsuccess></stage><stage stageid="04003357-5f61-448e-8200-9152920a30d7" name="Append Columns" type="SubSheetInfo"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative>This example combines collections by appending columns.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="c23d8f97-e69a-4107-9dee-e079fc80b93c" name="Start" type="Start"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>dec6b8d3-cfa9-428a-9edf-f0c8819e4cf8</onsuccess></stage><stage stageid="1dd22ae2-9acf-419b-9823-217398442b7c" name="End" type="End"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="ba68f631-f8ff-4542-a3e4-f449b7e89d0e" name="Collection A" type="Collection"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Product Name" type="text" /><field name="Product Type" type="text" /></collectioninfo><initialvalue><row><field name="Product Name" type="text" value="Apple" /><field name="Product Type" type="text" value="Fruit" /></row><row><field name="Product Name" type="text" value="Potato" /><field name="Product Type" type="text" value="Vegetable" /></row><row><field name="Product Name" type="text" value="Carrot" /><field name="Product Type" type="text" value="Vegetable" /></row><row><field name="Product Name" type="text" value="Pear" /><field name="Product Type" type="text" value="Fruit" /></row><row><field name="Product Name" type="text" value="Peach" /><field name="Product Type" type="text" value="Fruit" /></row></initialvalue></stage><stage stageid="5da8dfc3-9864-41b3-8ae2-4cc5ca6a92d8" name="Collection B" type="Collection"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Unit Price" type="number" /></collectioninfo><initialvalue><row><field name="Unit Price" type="number" value="0.12" /></row><row><field name="Unit Price" type="number" value="0.34" /></row><row><field name="Unit Price" type="number" value="0.56" /></row><row><field name="Unit Price" type="number" value="0.78" /></row><row><field name="Unit Price" type="number" value="0.90" /></row></initialvalue></stage><stage stageid="3babeb2b-a9fc-481f-a09c-3936e3aba711" name="Collection C" type="Collection"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Product Name" type="text" /><field name="Product Type" type="text" /><field name="Unit Price" type="number" /></collectioninfo></stage><stage stageid="dec6b8d3-cfa9-428a-9edf-f0c8819e4cf8" name="Merge A and B to make C" type="Action"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection 1" narrative="The first collection to be merged." expr="[Collection A]" /><input type="collection" name="Collection 2" narrative="The second collection to be merged." expr="[Collection B]" /></inputs><outputs><output type="collection" name="Collection 3" narrative="The resulting merged collection." stage="Collection C" /></outputs><onsuccess>2af7db27-dd95-445b-a929-82ea6370c87f</onsuccess><resource object="Utility - Collection Manipulation" action="Merge Collection" /></stage><stage stageid="2af7db27-dd95-445b-a929-82ea6370c87f" name="Merge A and B to make D" type="Action"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection 1" narrative="The first collection to be merged." expr="[Collection A]" /><input type="collection" name="Collection 2" narrative="The second collection to be merged." expr="[Collection B]" /></inputs><outputs><output type="collection" name="Collection 3" narrative="The resulting merged collection." stage="Collection D" /></outputs><onsuccess>1dd22ae2-9acf-419b-9823-217398442b7c</onsuccess><resource object="Utility - Collection Manipulation" action="Merge Collection" /></stage><stage stageid="1598c950-6570-4423-9268-477f1581f374" name="Collection D" type="Collection"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="ee97eda2-8528-4922-b8ca-61d36b106db1" name="Note2" type="Note"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative>** NB Collection D has no defined fields but can still be used as the output from the action. This is an example of an undefined collection.</narrative><displayx>270</displayx><displayy>60</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>2af7db27-dd95-445b-a929-82ea6370c87f</onsuccess></stage><stage stageid="88992b20-ff1b-47f1-aea9-35f171ed3016" name="Note2" type="Note"><subsheetid>bf91e119-c6ab-49ad-ab0d-c0eab1c78402</subsheetid><narrative>** NB Collection C has fields defined fields but they must match the fields in A and B.</narrative><displayx>270</displayx><displayy>-60</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>dec6b8d3-cfa9-428a-9edf-f0c8819e4cf8</onsuccess></stage><stage stageid="308e1d8e-e026-4a87-922d-e1d4bcaf0a18" name="Empty Collection Test (1)" type="SubSheetInfo"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative>This example counts the rows in the collection and then checks if the number is zero.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="1f071711-d577-492e-b195-09f1736571b2" name="Start" type="Start"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4a020e2e-0e5c-4eb9-a31a-845452e8aa40</onsuccess></stage><stage stageid="d6384a0c-6519-4c17-bc1e-a8d2a6e526d8" name="End" type="End"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative></narrative><displayx>285</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e35d1da7-a61e-4075-b0ba-780349acbd70" name="Collection A" type="Collection"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row></initialvalue></stage><stage stageid="cdcacba2-878c-49ce-bdab-c5471844d687" name="Note1" type="Note"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative>If we get here, the collection has at least 1 row.</narrative><displayx>165</displayx><displayy>30</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>d6384a0c-6519-4c17-bc1e-a8d2a6e526d8</onsuccess></stage><stage stageid="f1cbef90-27c2-4037-a51c-0b56b66f563b" name="End" type="End"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e54ec4c1-aea6-4205-8048-5a63fa67ac85" name="Note1" type="Note"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative>If we get here, the collection has no rows.</narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>f1cbef90-27c2-4037-a51c-0b56b66f563b</onsuccess></stage><stage stageid="e3591763-a4d3-43ca-a212-f24bb877c881" name="Empty Collection Test (2)" type="SubSheetInfo"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative>This example uses a collection to determine if the collection has rows.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="fff95f3b-fcaa-4c53-a95c-aa8b8644f8db" name="Start" type="Start"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>ef71dc3c-8755-423a-912c-fb46faa9b682</onsuccess></stage><stage stageid="e85c2714-a59e-4041-97eb-70f20d793671" name="End" type="End"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative></narrative><displayx>285</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="134d0f9c-3fca-4fac-8c24-59ee6353a7f5" name="Collection A" type="Collection"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row></initialvalue></stage><stage stageid="ef71dc3c-8755-423a-912c-fb46faa9b682" name="Collection A" type="LoopStart"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c230979f-9057-4953-a1e0-95f9a117f5ae</onsuccess><groupid>299ac155-4531-49ba-95bb-6aa04c18e66a</groupid><looptype>ForEach</looptype><loopdata>Collection A</loopdata></stage><stage stageid="34bf6ce6-6169-44e2-a4dc-caf0ca967097" name="Collection A" type="LoopEnd"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative></narrative><displayx>15</displayx><displayy>0</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8a2b11ac-abbf-4cb7-bdc1-f3f3eeb3d6ab</onsuccess><groupid>299ac155-4531-49ba-95bb-6aa04c18e66a</groupid></stage><stage stageid="c230979f-9057-4953-a1e0-95f9a117f5ae" name="Note1" type="Note"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative>If we get here, the collection has at least 1 row.</narrative><displayx>165</displayx><displayy>-45</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>e85c2714-a59e-4041-97eb-70f20d793671</onsuccess></stage><stage stageid="dad733c8-34eb-4f4f-b5ca-8809108b2ccd" name="End" type="End"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative></narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="8a2b11ac-abbf-4cb7-bdc1-f3f3eeb3d6ab" name="Note1" type="Note"><subsheetid>8a5011b9-e536-4145-870c-d1f049ab4a47</subsheetid><narrative>If we get here, the collection has no rows.</narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>dad733c8-34eb-4f4f-b5ca-8809108b2ccd</onsuccess></stage><stage stageid="4a020e2e-0e5c-4eb9-a31a-845452e8aa40" name="Count Rows" type="Action"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection whose rows are to be counted" expr=""Collection A"" /></inputs><outputs><output type="number" name="Count" narrative="The number of rows counted in the collection" stage="Row Count" /></outputs><onsuccess>8a213970-b24c-4024-a525-14e1af535636</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Count Rows" /></stage><stage stageid="024525f9-991b-457d-8f4d-c53550ea1c74" name="Row Count" type="Data"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8a213970-b24c-4024-a525-14e1af535636" name="Row Count > 0" type="Decision"><subsheetid>ab6c92e2-2818-41b7-a4c1-b1a9210a6812</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Row Count]>0" /><ontrue>cdcacba2-878c-49ce-bdab-c5471844d687</ontrue><onfalse>e54ec4c1-aea6-4205-8048-5a63fa67ac85</onfalse></stage><stage stageid="41b51c1e-1ca3-4528-a8ec-5c33d06a7e0c" name="Collection Structure Test (1)" type="SubSheetInfo"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative>This example uses a calculation where a 'template' collection is used as the 'Store In' value. If the calculation does not generate an exception, the test collection matches the template.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="1cedeb5c-c451-40ae-82be-7cb9cce40ff0" name="Collection Structure Test (2)" type="SubSheetInfo"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative>This example uses a multi-calculation to repeated assign a test value. If the calculations do not generate an exception, the test collection contains the required fields.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="fe044544-0af8-447d-84a0-68620f353a72" name="Start" type="Start"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4533159f-28cf-4615-bdb2-3a1a2df7e321</onsuccess></stage><stage stageid="e2b65c37-035d-4a55-a598-32b1cc44b0ca" name="End" type="End"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>195</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="947dcd41-43f8-4b14-bf83-fd3995681e14" name="Test Collection" type="Collection"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /><field name="Unknown Field" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /><field name="Unknown Field" type="text" value="" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /><field name="Unknown Field" type="text" value="" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /><field name="Unknown Field" type="text" value="" /></row></initialvalue></stage><stage stageid="af173d61-338c-4e6b-85f8-8b43a8676360" name="Collection Template" type="Collection"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo></stage><stage stageid="3635055e-ffe7-4eee-b413-4bbedcf65892" name="Set Collection Template" type="Calculation"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>195</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0bea76b8-a355-4084-9458-cc91a86439e7</onsuccess><calculation expression="[Test Collection]" stage="Collection Template" /></stage><stage stageid="0bea76b8-a355-4084-9458-cc91a86439e7" name="Note1" type="Note"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative>If we get here, the collection has the same structure of the template.</narrative><displayx>195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>e2b65c37-035d-4a55-a598-32b1cc44b0ca</onsuccess></stage><stage stageid="4fb09719-5b10-447e-972f-39945e4777db" name="Note1" type="Note"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative>If we get here, the collection does not have the same structure of the template.</narrative><displayx>375</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>ea44cde5-8a88-4ffa-866d-ce2fdd3b6423</onsuccess></stage><stage stageid="ea44cde5-8a88-4ffa-866d-ce2fdd3b6423" name="Exception1" type="Exception"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>375</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="4533159f-28cf-4615-bdb2-3a1a2df7e321" name="Test Collection" type="LoopStart"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3635055e-ffe7-4eee-b413-4bbedcf65892</onsuccess><groupid>edacf5a7-106b-4f20-8803-db571416c51f</groupid><looptype>ForEach</looptype><loopdata>Test Collection</loopdata></stage><stage stageid="59ddc643-e32a-4333-a85f-6b4692168b01" name="Test Collection" type="LoopEnd"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b41e3261-3e2b-4808-85f6-6c31541497ed</onsuccess><groupid>edacf5a7-106b-4f20-8803-db571416c51f</groupid></stage><stage stageid="b41e3261-3e2b-4808-85f6-6c31541497ed" name="Note1" type="Note"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative>If we get here, the collection has no rows and the structure cannot be verified.</narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>be1d2bbc-e5f5-4dec-91a9-93894f655997</onsuccess></stage><stage stageid="be1d2bbc-e5f5-4dec-91a9-93894f655997" name="End4" type="End"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="c28c9371-ce17-40bf-8f5a-08cfc22bb5e6" name="Recover1" type="Recover"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>375</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4fb09719-5b10-447e-972f-39945e4777db</onsuccess></stage><stage stageid="431e6571-1fed-4537-a087-032fa22dfdc3" name="Block1" type="Block"><subsheetid>e97d31d8-35a5-48e8-91fd-7e6b2dd4c0ee</subsheetid><narrative></narrative><displayx>120</displayx><displayy>-75</displayy><displaywidth>300</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="2d5bdcd3-e140-4e0f-908d-64a745850669" name="Start" type="Start"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>27ae6453-a74e-4744-a842-86012f2d22c1</onsuccess></stage><stage stageid="2f26c127-3866-4015-bda0-1a0b2ef62462" name="End" type="End"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>195</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="be9cfdda-ec3a-41d5-89b1-839281f206e7" name="Recover1" type="Recover"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>375</displayx><displayy>-30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>94438616-e639-4e57-9790-d1f5b3ffbb0f</onsuccess></stage><stage stageid="44ba9a54-f2f2-4b00-a58b-ee47f8c55d37" name="Block1" type="Block"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>120</displayx><displayy>-75</displayy><displaywidth>300</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="94438616-e639-4e57-9790-d1f5b3ffbb0f" name="Note1" type="Note"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative>If we get here, the collection does not contain the required fields.</narrative><displayx>375</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>cf7d2706-d3ec-4d0a-9a29-0754018836a0</onsuccess></stage><stage stageid="836d3f0c-e7e8-4181-b90c-a50fdcd33d57" name="Test Value" type="Data"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="103de2b0-6848-405c-af52-313ba821abc7" name="Set Test Value" type="MultipleCalculation"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>195</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4f19dd9d-040c-46f1-a9bc-0d4bf54397d9</onsuccess><steps><calculation expression="[Test Collection.Mandatory Field 1]" stage="Test Value" /><calculation expression="[Test Collection.Mandatory Field 2]" stage="Test Value" /><calculation expression="[Test Collection.Mandatory Field 3]" stage="Test Value" /></steps></stage><stage stageid="4f19dd9d-040c-46f1-a9bc-0d4bf54397d9" name="Note1" type="Note"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative>If we get here, the collection contains the required fields.</narrative><displayx>195</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>2f26c127-3866-4015-bda0-1a0b2ef62462</onsuccess></stage><stage stageid="27ae6453-a74e-4744-a842-86012f2d22c1" name="Test Collection" type="LoopStart"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>103de2b0-6848-405c-af52-313ba821abc7</onsuccess><groupid>d9d12ac3-b11e-439c-8d0c-45174d129fa3</groupid><looptype>ForEach</looptype><loopdata>Test Collection</loopdata></stage><stage stageid="7abd4996-267c-4d63-b218-33a699dd5492" name="Test Collection" type="LoopEnd"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e1fcbd2d-536b-4273-b4a6-0ef2fa0b53f6</onsuccess><groupid>d9d12ac3-b11e-439c-8d0c-45174d129fa3</groupid></stage><stage stageid="e1fcbd2d-536b-4273-b4a6-0ef2fa0b53f6" name="Note1" type="Note"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative>If we get here, the collection has no rows and the structure cannot be verified.</narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>0fa5749c-fb48-4f62-9931-4d84244450b0</onsuccess></stage><stage stageid="0fa5749c-fb48-4f62-9931-4d84244450b0" name="End4" type="End"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="795251d9-8dc0-4c67-a494-a2ea970ebd66" name="Test Collection" type="Collection"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Mandatory Field 1" type="text" /><field name="Optional Field A" type="date" /><field name="Mandatory Field 2" type="datetime" /><field name="Mandatory Field 3" type="flag" /><field name="Optional Field B" type="number" /></collectioninfo><initialvalue><row><field name="Mandatory Field 1" type="text" value="A" /><field name="Optional Field A" type="date" value="2013/05/01" /><field name="Mandatory Field 2" type="datetime" value="2013-04-30 23:00:00Z" /><field name="Mandatory Field 3" type="flag" value="True" /><field name="Optional Field B" type="number" value="1" /></row><row><field name="Mandatory Field 1" type="text" value="B" /><field name="Optional Field A" type="date" value="2013/05/02" /><field name="Mandatory Field 2" type="datetime" value="2013-05-01 23:00:00Z" /><field name="Mandatory Field 3" type="flag" value="False" /><field name="Optional Field B" type="number" value="2" /></row></initialvalue></stage><stage stageid="cf7d2706-d3ec-4d0a-9a29-0754018836a0" name="Exception1" type="Exception"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative></narrative><displayx>375</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="9c1e1c67-9249-4bb2-afc2-83305a3014b3" name="Note2" type="Note"><subsheetid>5c6f0c0b-2368-4b00-b63a-d730243a4056</subsheetid><narrative>** NB Because the Test Value data item is data type Text, any other data types in the collection will be cast to text.</narrative><displayx>390</displayx><displayy>-135</displayy><displaywidth>300</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>103de2b0-6848-405c-af52-313ba821abc7</onsuccess></stage></process></process>
<process id="ba168919-f489-4afc-8a10-f1256aa6eceb" name="Process Examples - Databases" xmlns="http://www.blueprism.co.uk/product/process"><process name="Process Examples - Databases" version="1.0" narrative="Various examples of interacting with databases"><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="30fb5d0a-2581-49e9-adc2-dc0dbc760336" type="Normal" published="False"><name>Read SQL Server (basic)</name><view><camerax>0</camerax><cameray>210</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="eaa87818-4c0b-42c3-8767-5f6856f75b04" type="Normal" published="False"><name>Read OLEDB (basic)</name><view><camerax>0</camerax><cameray>110</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="7b69d790-c467-454e-adbe-ef13cbcf8922" type="Normal" published="False"><name>Update SQL Server (basic)</name><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="7fd86ab4-6159-40aa-bb10-8d76dd83de0d" type="Normal" published="False"><name>Read SQL Server (into a work queue)</name><view><camerax>150</camerax><cameray>33</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="5a940b40-36e6-48c7-aef2-f224b948aac2" type="Normal" published="False"><name>Update SQL Server (from a work queue)</name><view><camerax>50.8335</camerax><cameray>409</cameray><zoom>0.8</zoom></view></subsheet><stage stageid="0ed95b29-edee-4696-8823-5b1cb552aad9" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>becb77eb-aaa2-4010-b3fd-10b73ac6d9b1</onsuccess></stage><stage stageid="5200c717-d65a-44b9-8077-f01191467c1a" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="9afed447-d31b-4cea-b723-6f5f048b94cd" name="Read SQL Server (basic)" type="SubSheetInfo"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative>In this example a SQL statement is used to fill a collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="9bad081d-8e30-4fd9-acca-e3fca58cdd11" name="Start" type="Start"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>881b738c-4e95-4c34-8f36-9ccd870a51f7</onsuccess></stage><stage stageid="7013b126-2a75-4de9-84d5-72c3de6c7714" name="End" type="End"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="881b738c-4e95-4c34-8f36-9ccd870a51f7" name="Set Connection" type="Action"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Server" expr="[Server]" /><input type="text" name="Database" expr="[Database]" /><input type="text" name="User" expr="[User]" /><input type="text" name="Password" expr="[Password]" /></inputs><onsuccess>ed961f94-786b-40a8-b919-2518ceea6b31</onsuccess><resource object="SQL Server" action="Set Connection" /></stage><stage stageid="24bd1950-0880-4235-bc93-65b59e29c0f0" name="Server" type="Data"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="39a54ec2-9ba0-492a-b7d7-af8b9768c50e" name="Database" type="Data"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Database</initialvalue><private /><alwaysinit /></stage><stage stageid="bc15e0f2-4e76-43ab-8520-d46324454a45" name="User" type="Data"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="be9d1c27-479f-4163-bc22-3b9bf80a8268" name="Password" type="Data"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="6f1fa3b0-f4be-45bc-aef5-94db102bb2ee" name="SQL" type="Calculation"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>16ef194b-0a39-4b52-89f6-bdaf54f057d3</onsuccess><calculation expression=""SELECT Column1, Column2, Column3 FROM SomeTable"" stage="SQL" /></stage><stage stageid="ca7b51d1-3d02-479d-a592-5a84a5ed9213" name="SQL" type="Data"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="16ef194b-0a39-4b52-89f6-bdaf54f057d3" name="Get Collection" type="Action"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="SQL" expr="[SQL]" /></inputs><outputs><output type="flag" name="Success" stage="Success" /><output type="text" name="Message" stage="Message" /><output type="collection" name="Results" stage="Results" /></outputs><onsuccess>041a16e8-17f4-4800-94d8-b7dd6d543a46</onsuccess><resource object="SQL Server" action="Get Collection" /></stage><stage stageid="b76dd67b-b1ea-4d45-b3d7-1f8d062fad21" name="Success" type="Data"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="8c31bbb8-975d-440a-a02e-224900d38bce" name="Message" type="Data"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="978c3f95-daf9-46d2-ac2c-bd70f2f4d6d4" name="Results" type="Collection"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>240</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="ed961f94-786b-40a8-b919-2518ceea6b31" name="Open Connection" type="Action"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>15</displayx><displayy>0</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>6f1fa3b0-f4be-45bc-aef5-94db102bb2ee</onsuccess><resource object="SQL Server" action="Open" /></stage><stage stageid="15aaab21-a655-40ba-a348-68fd32c8c401" name="Close Connection" type="Action"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>15</displayx><displayy>270</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>7013b126-2a75-4de9-84d5-72c3de6c7714</onsuccess><resource object="SQL Server" action="Close" /></stage><stage stageid="9a2feafa-9668-44a1-8f74-004438d58313" name="Read OLEDB (basic)" type="SubSheetInfo"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative>In this example a SQL statement is used to fill a collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="fbacf563-d342-474f-8e89-1a4584a12c42" name="Start" type="Start"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3f594820-0b6b-49f0-a685-7a964cd124b8</onsuccess></stage><stage stageid="3f594820-0b6b-49f0-a685-7a964cd124b8" name="Set Connection" type="Action"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Database" expr="[Database]" /><input type="text" name="User" expr="[User]" /><input type="password" name="Password" expr="[Password]" /><input type="text" name="Provider" expr="[Provider]" /></inputs><onsuccess>8d8406d2-1c98-42ab-a0f4-d49a93667d24</onsuccess><resource object="Data - OLEDB" action="Set Connection" /></stage><stage stageid="d74e6463-2b6f-4731-b684-693b113300f4" name="End" type="End"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="435e8502-cee5-4483-8f1e-c7d0f720f051" name="Server" type="Data"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="1dda0d2d-164a-43e4-a91f-57037fe9442e" name="Database" type="Data"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Database</initialvalue><private /><alwaysinit /></stage><stage stageid="7ec0131f-2feb-4a52-9dff-d66920c36f3f" name="User" type="Data"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="de3906ad-08af-4342-a994-6a35ea1924a8" name="Password" type="Data"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="311a02a8-0d7b-4b1a-96d1-20172887ef44" name="SQL" type="Calculation"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>6f6b212d-fdb9-40cb-8b49-d68f52594353</onsuccess><calculation expression=""SELECT Column1, Column2, Column3 FROM SomeTable"" stage="SQL" /></stage><stage stageid="7dcd2b3e-1dcb-4aad-aab0-cb46de11224b" name="SQL" type="Data"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>150</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6f6b212d-fdb9-40cb-8b49-d68f52594353" name="Get Collection" type="Action"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="SQL" expr="[SQL]" /></inputs><outputs><output type="collection" name="Results" stage="Results" /></outputs><onsuccess>56784dee-8fc3-43c4-9535-ebe2592290b3</onsuccess><resource object="Data - OLEDB" action="Get Collection" /></stage><stage stageid="6d999eeb-7853-4b03-88a0-61dcab56016a" name="Success" type="Data"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="87eafa81-2c14-4499-afc3-32bbb6078cac" name="Message" type="Data"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4efe87bf-da56-4c49-bb47-172e5183dde3" name="Results" type="Collection"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>270</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="8d8406d2-1c98-42ab-a0f4-d49a93667d24" name="Open Connection" type="Action"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>15</displayx><displayy>0</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>311a02a8-0d7b-4b1a-96d1-20172887ef44</onsuccess><resource object="Data - OLEDB" action="Open" /></stage><stage stageid="56784dee-8fc3-43c4-9535-ebe2592290b3" name="Close Connection" type="Action"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d74e6463-2b6f-4731-b684-693b113300f4</onsuccess><resource object="Data - OLEDB" action="Close" /></stage><stage stageid="20fde5b0-5179-4685-a934-b4054d5ad396" name="Provider" type="Data"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Provider</initialvalue><private /><alwaysinit /></stage><stage stageid="f2ac80c7-9a19-448f-b93b-c8d7c63efe88" name="Recover" type="Recover"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>195</displayx><displayy>135</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8f327c00-7d43-40a6-89a3-32d6b4241ead</onsuccess></stage><stage stageid="8f327c00-7d43-40a6-89a3-32d6b4241ead" name="Close Connection" type="Action"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>195</displayx><displayy>195</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5605e2ae-6b2b-4efd-8882-d3b2a616645c</onsuccess><resource object="Data - OLEDB" action="Close" /></stage><stage stageid="5605e2ae-6b2b-4efd-8882-d3b2a616645c" name="Re-Throw" type="Exception"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>195</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="10e69a66-a09b-46b9-86d9-38908b9bdb30" name="Block1" type="Block"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>30</displayy><displaywidth>315</displaywidth><displayheight>135</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="041a16e8-17f4-4800-94d8-b7dd6d543a46" name="Success?" type="Decision"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>15aaab21-a655-40ba-a348-68fd32c8c401</ontrue><onfalse>54fba4a5-5683-494c-b4ad-6fdeab29b48e</onfalse></stage><stage stageid="54fba4a5-5683-494c-b4ad-6fdeab29b48e" name="System Exception" type="Exception"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>105</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="82418c40-b665-47a6-97e8-eb262b9c9360" name="Update SQL Server (basic)" type="SubSheetInfo"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative>In this example a SQL statement is used to update a table.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="f1488e35-d906-45ac-8ac3-a4d6d07431b3" name="Start" type="Start"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2a1238ca-98e0-4c46-b0f4-03fda6b41a83</onsuccess></stage><stage stageid="2a1238ca-98e0-4c46-b0f4-03fda6b41a83" name="Set Connection" type="Action"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Server" expr="[Server]" /><input type="text" name="Database" expr="[Database]" /><input type="text" name="User" expr="[User]" /><input type="text" name="Password" expr="[Password]" /></inputs><onsuccess>5731ad7b-caf9-49a6-a7b2-2193977665d9</onsuccess><resource object="SQL Server" action="Set Connection" /></stage><stage stageid="ec8a8fe6-8a98-4c1a-9883-45156cb53ded" name="Server" type="Data"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="99f1704c-f6f2-40a3-bcad-870c8c73c62a" name="Database" type="Data"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Database</initialvalue><private /><alwaysinit /></stage><stage stageid="97ace95e-bd13-4196-aba5-5647993b426e" name="User" type="Data"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="f3f8c7a4-e8ac-4718-8a0f-9f577ee1c7ab" name="Password" type="Data"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="7bf95304-ee66-46d4-a52f-b933484fb511" name="SQL" type="Calculation"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>f32c9f43-38f5-41be-b5da-b614db34081f</onsuccess><calculation expression=""UPDATE SomeTable SET Column1='ABC' WHERE ID=123"" stage="SQL" /></stage><stage stageid="68700931-87d4-4a3a-bc3d-851e901106a4" name="SQL" type="Data"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f32c9f43-38f5-41be-b5da-b614db34081f" name="Execute" type="Action"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Query" expr="[SQL]" /></inputs><outputs><output type="flag" name="Success" stage="Success" /><output type="text" name="Message" stage="Message" /></outputs><onsuccess>1f915d5b-319d-46c6-86f9-039cb9f13a20</onsuccess><resource object="SQL Server" action="Execute" /></stage><stage stageid="027e3333-1306-48e7-93b7-8222d6e3cf3a" name="Success" type="Data"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="039e33a4-267e-497b-a290-25618c83b99b" name="Message" type="Data"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5731ad7b-caf9-49a6-a7b2-2193977665d9" name="Open Connection" type="Action"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>15</displayx><displayy>0</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>7bf95304-ee66-46d4-a52f-b933484fb511</onsuccess><resource object="SQL Server" action="Open" /></stage><stage stageid="1495d040-8fcd-41ee-836e-7df104509257" name="Read SQL Server (into a work queue)" type="SubSheetInfo"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>In this example the results from a database query are used to load a work queue.
Each new item is added individually so the corresponding row in the database can be updated with detail from the new item.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>210</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="de5162ed-f358-4656-9b06-2a301aa8f508" name="Start" type="Start"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b4fa73ca-3d3f-4499-93a7-7a2af16803ea</onsuccess></stage><stage stageid="b4fa73ca-3d3f-4499-93a7-7a2af16803ea" name="Set Connection" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Server" expr="[Server]" /><input type="text" name="Database" expr="[Database]" /><input type="text" name="User" expr="[User]" /><input type="text" name="Password" expr="[Password]" /></inputs><onsuccess>12bccd09-9d47-4b13-b75c-d68abbc7f5f4</onsuccess><resource object="SQL Server" action="Set Connection" /></stage><stage stageid="b7452a3d-2073-488f-9532-ff8496cb1599" name="Server" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="4bdabaad-e847-45b0-8c43-2c5a945efb34" name="Database" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Database</initialvalue><private /><alwaysinit /></stage><stage stageid="06ba925a-6bf3-4acb-bdcb-9d3b3235d622" name="User" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="15651f7b-6dd6-4e2f-8c20-850b507c6379" name="Password" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="a29e1201-f709-4c3e-8e80-9e44a339ee67" name="Select SQL" type="Calculation"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7dc3bc9d-609f-48aa-b937-e518912af62a</onsuccess><calculation expression=""SELECT TOP 100 ID, Surame, Forename, Address, Postcode FROM SomeTable WHERE BP_ID IS NULL"" stage="SQL" /></stage><stage stageid="a667d78f-0859-466d-8889-f95193e8ea01" name="SQL" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7dc3bc9d-609f-48aa-b937-e518912af62a" name="Get Collection" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="SQL" expr="[SQL]" /></inputs><outputs><output type="flag" name="Success" stage="Success" /><output type="text" name="Message" stage="Message" /><output type="collection" name="Results" stage="Source Data" /></outputs><onsuccess>f81f5660-031f-471c-a938-ce4b2e25a861</onsuccess><resource object="SQL Server" action="Get Collection" /></stage><stage stageid="c6143a68-c1e2-47b1-90cd-99a643ded80e" name="Success" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="55456b20-79c6-4e97-baf4-6f1882aee4d5" name="Message" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="12bccd09-9d47-4b13-b75c-d68abbc7f5f4" name="Open Connection" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>0</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>a29e1201-f709-4c3e-8e80-9e44a339ee67</onsuccess><resource object="SQL Server" action="Open" /></stage><stage stageid="f81f5660-031f-471c-a938-ce4b2e25a861" name="Success?" type="Decision"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>01f243a6-4698-413d-a600-0d0d0f4d863c</ontrue><onfalse>3b587caa-4269-4613-b0e0-6a5a6a3e5a66</onfalse></stage><stage stageid="3b587caa-4269-4613-b0e0-6a5a6a3e5a66" name="System Exception" type="Exception"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>120</displayx><displayy>225</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="cbfefe28-0040-4d8d-826a-05d5cb0e8327" name="End" type="End"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>915</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="887ec17e-8d0b-48b0-a708-44ced81f34b2" name="Close Connection" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>735</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>a3be94c0-6d0f-4f71-b7b2-990ca2ee324d</onsuccess><resource object="SQL Server" action="Close" /></stage><stage stageid="01f243a6-4698-413d-a600-0d0d0f4d863c" name="Source Data" type="LoopStart"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>300</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5500f54e-b658-4553-8ec1-d38d34522d32</onsuccess><groupid>63028273-43fc-4b45-acd3-cbfc99dd4e81</groupid><looptype>ForEach</looptype><loopdata>Source Data</loopdata></stage><stage stageid="d219985a-d1af-4da0-a2d6-1e27e19307a9" name="Source Data" type="LoopEnd"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>600</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>887ec17e-8d0b-48b0-a708-44ced81f34b2</onsuccess><groupid>63028273-43fc-4b45-acd3-cbfc99dd4e81</groupid></stage><stage stageid="ff5a11ef-ce3f-4d59-bb32-16aae6762eae" name="Update SQL" type="Calculation"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>150</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7e3e22ee-e941-4f59-8d48-07cd1859701b</onsuccess><calculation expression=""UPDATE SomeTable SET BP_Loaded=GETDATE(), BP_ID='"&[New Item IDs.Item IDs]&"' WHERE ID="&[Source Data.ID]" stage="SQL" /></stage><stage stageid="671199fc-acef-4772-a11d-11dbfc21a63d" name="New Item Data" type="Collection"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="ID" type="text" /><field name="Surname" type="text" /><field name="Forename" type="text" /><field name="Postcode" type="text" /><field name="Item Key" type="text" /></collectioninfo></stage><stage stageid="9afc911b-ca76-42be-a44a-b0118627f552" name="Add Row" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>150</displayx><displayy>375</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>23b27463-67ef-4991-803f-98cd202cd98c</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="e724a124-f89c-4065-8658-3ebd68c634ae" name="Reset Collection" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>510</displayx><displayy>375</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>2da84235-7fc9-4e08-bbe6-4c42f297389a</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="23b27463-67ef-4991-803f-98cd202cd98c" name="Populate Row" type="MultipleCalculation"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>270</displayx><displayy>375</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7ea9c763-2345-41f1-80f9-7bcc41cbd4e1</onsuccess><steps><calculation expression="[Source Data.ID]" stage="New Item Data.ID" /><calculation expression="[Source Data.Surname]" stage="New Item Data.Surname" /><calculation expression="[Source Data.Forename]" stage="New Item Data.Forename" /><calculation expression="[Source Data.Postcode]" stage="New Item Data.Postcode" /><calculation expression="[Source Data.ID]&" "&[Source Data.Surname]" stage="New Item Data.Item Key" /></steps></stage><stage stageid="7ea9c763-2345-41f1-80f9-7bcc41cbd4e1" name="Add to Queue" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>390</displayx><displayy>375</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="New Item IDs" /></outputs><onsuccess>e724a124-f89c-4065-8658-3ebd68c634ae</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="6a2944f6-a79f-469c-be49-6a656f7b60f1" name="Queue Name" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>435</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="0f6c19c6-887a-47d5-92ba-1988e0408a6a" name="Source Data" type="Collection"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="ID" type="text" /><field name="Surname" type="text" /><field name="Forename" type="text" /><field name="Postcode" type="text" /></collectioninfo></stage><stage stageid="c18a9611-1b3d-4a93-94d7-77e73f7151df" name="New Item IDs" type="Collection"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>495</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="7e3e22ee-e941-4f59-8d48-07cd1859701b" name="Execute" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>270</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Query" expr="[SQL]" /></inputs><outputs><output type="flag" name="Success" stage="Success" /><output type="text" name="Message" stage="Message" /></outputs><onsuccess>65cebb3b-272d-47e1-b61c-c7688e0ff160</onsuccess><resource object="SQL Server" action="Execute" /></stage><stage stageid="65cebb3b-272d-47e1-b61c-c7688e0ff160" name="Success?" type="Decision"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>390</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>d70839d4-dec2-4193-85fc-beb16a19db53</ontrue><onfalse>c606b907-8b1c-4930-b7e6-6a5c1602fde7</onfalse></stage><stage stageid="52d46bca-c7b4-4ab2-85b8-a12b6f01f715" name="System Exception" type="Exception"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>615</displayx><displayy>495</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="2da84235-7fc9-4e08-bbe6-4c42f297389a" name="anchor2" type="Anchor"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>510</displayx><displayy>435</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>f3c479c2-80bb-4f60-a794-66b3a59438e0</onsuccess></stage><stage stageid="f3c479c2-80bb-4f60-a794-66b3a59438e0" name="anchor3" type="Anchor"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>435</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0d5d2c75-2a00-459a-9d86-e4206dba0847</onsuccess></stage><stage stageid="c606b907-8b1c-4930-b7e6-6a5c1602fde7" name="Delete Item" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>510</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to delete. An error will be raised if this item does not exist, or is locked." expr="[New Item IDs.Item ID]" /></inputs><onsuccess>52d46bca-c7b4-4ab2-85b8-a12b6f01f715</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Delete Item" /></stage><stage stageid="8884e53b-7462-48ac-a9cc-b258ee145493" name="Tag" type="Data"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>570</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Ready</initialvalue><private /><alwaysinit /></stage><stage stageid="4325133f-b61b-49a3-b29c-fed1108e4094" name="Note2" type="Note"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative>** NB The connection to the database is closed in the event of a problem.</narrative><displayx>420</displayx><displayy>180</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>df43b852-d350-4f91-9d5b-19fba3690e6a</onsuccess></stage><stage stageid="48aa2a1c-47ac-497a-b5f6-f6a388a57434" name="Note2" type="Note"><subsheetid>eaa87818-4c0b-42c3-8767-5f6856f75b04</subsheetid><narrative>** NB The connection to the database is closed in the event of a problem.</narrative><displayx>390</displayx><displayy>120</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>8f327c00-7d43-40a6-89a3-32d6b4241ead</onsuccess></stage><stage stageid="040594cc-21a9-423b-a735-7f35c6cacddd" name="Note2" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>** NB If the database could not be updated the new item is deleted.</narrative><displayx>780</displayx><displayy>390</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>c606b907-8b1c-4930-b7e6-6a5c1602fde7</onsuccess></stage><stage stageid="47a9ccbd-19b3-42ad-8528-da996eb35e43" name="Note2" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>** NB Once the new item has been added the collection row is removed to prevent the item being added again on the next loop.</narrative><displayx>570</displayx><displayy>255</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>e724a124-f89c-4065-8658-3ebd68c634ae</onsuccess></stage><stage stageid="5500f54e-b658-4553-8ec1-d38d34522d32" name="Note4" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>A single-row collection is assembled to create a new work queue item.</narrative><displayx>15</displayx><displayy>375</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>9afc911b-ca76-42be-a44a-b0118627f552</onsuccess></stage><stage stageid="0d5d2c75-2a00-459a-9d86-e4206dba0847" name="Note4" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>Once the new item is added the corresponding row in the database is updated.</narrative><displayx>15</displayx><displayy>495</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>ff5a11ef-ce3f-4d59-bb32-16aae6762eae</onsuccess></stage><stage stageid="03e613b9-fd3a-42ae-9b79-7bcd30cb8ad5" name="Note2" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>** In this example the database table has columns used to identify rows that have not been added to the work queue.</narrative><displayx>255</displayx><displayy>-30</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>a29e1201-f709-4c3e-8e80-9e44a339ee67</onsuccess></stage><stage stageid="d70839d4-dec2-4193-85fc-beb16a19db53" name="Note6" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>Once the transaction is complete, the new item is marked to indicate that it can be worked, in this example with the tag 'Ready'.</narrative><displayx>390</displayx><displayy>600</displayy><displaywidth>180</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>c6ea6887-0a0e-4d8c-958f-78d1f5c35053</onsuccess></stage><stage stageid="a3be94c0-6d0f-4f71-b7b2-990ca2ee324d" name="Note6" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>This example assumes that only items tagged as 'Ready' will be worked and that any item not tagged will be ignored (eg the 'Tag Filter' parameter will be used on the 'Get Next Item' action).</narrative><displayx>15</displayx><displayy>825</displayy><displaywidth>180</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>cbfefe28-0040-4d8d-826a-05d5cb0e8327</onsuccess></stage><stage stageid="c6ea6887-0a0e-4d8c-958f-78d1f5c35053" name="Tag Item" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>225</displayx><displayy>600</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[New Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Tag]" /></inputs><onsuccess>d219985a-d1af-4da0-a2d6-1e27e19307a9</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="f5eb099f-4b08-4f1c-bcc7-5921ccac12a9" name="Update SQL Server (from a work queue)" type="SubSheetInfo"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>In this example queue results are used to update the database from where the queue was originally loaded.
After each row is updated, the corresponding queue item is tagged so the update cannot be repeated. If the database row cannot be found, the queue item is tagged differently so it can be dealt with separately.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>270</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e877544f-83fc-4739-b742-1764c5f29beb" name="Start" type="Start"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>1d2a57d4-8552-4a69-9b88-a6eec7e29369</onsuccess></stage><stage stageid="46625673-000f-402e-b2d7-843b844dbf61" name="Item IDs" type="Collection"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item ID" type="text" description="The Item ID of the work queue item" /></collectioninfo></stage><stage stageid="df4a2d52-ffdd-4cbb-abb7-28a90674cb97" name="Item IDs" type="LoopStart"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>270</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7a428f7d-db04-4d47-918f-acca6fc8a8ec</onsuccess><groupid>e2c10847-5f4e-431a-aa6b-824f6518bba8</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="eb070447-bae7-458d-9179-decde34ddbaa" name="Item IDs" type="LoopEnd"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>510</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a129731b-5f54-4a5e-8f5f-a7003f6edcea</onsuccess><groupid>e2c10847-5f4e-431a-aa6b-824f6518bba8</groupid></stage><stage stageid="994c33e6-ee6f-422d-bed0-a4c984c1c64d" name="Get Completed Items" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to retrieve the completed items from" expr="[Queue Name]" /><input type="datetime" name="Start Date" narrative="The start date from which any items marked as complete should be returned. Optional - No date indicates no start date threshold" expr="[Period Start]" /><input type="datetime" name="End Date" narrative="The end date up to which any items marked as complete should be returned. Optional - No date indicates no end date threshold" expr="[Period End]" /><input type="number" name="Maximum Rows" narrative="The maximum number of rows to return. Optional - No value indicates that all rows should be returned" expr="" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr=""-"&[Tag]&";-"&[Orphan Tag]" /></inputs><outputs><output type="collection" name="Completed Items" narrative="The items which were marked as complete within the given date range, up to the maximum count if one was given" stage="Item IDs" /></outputs><onsuccess>df4a2d52-ffdd-4cbb-abb7-28a90674cb97</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Completed Items" /></stage><stage stageid="1f8a7631-6666-4f39-b707-d70706f8603b" name="Period Start" type="Calculation"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>ba13553b-a9f1-4740-a5bd-7b56b81e59fa</onsuccess><calculation expression="Now()-[Period Length]" stage="Period Start" /></stage><stage stageid="2c910519-77bf-4470-b348-3ffe0dd94f61" name="Period Length" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>150</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>7.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="c5e5fb13-024e-4a5e-a607-c9a2ae9a5451" name="Period Start" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9b250e11-134f-4026-a671-63c68f8617f3" name="Period End" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ba13553b-a9f1-4740-a5bd-7b56b81e59fa" name="Period End" type="Calculation"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>994c33e6-ee6f-422d-bed0-a4c984c1c64d</onsuccess><calculation expression="Now()" stage="Period End" /></stage><stage stageid="0eb9d2d7-5ec1-4d2b-b924-1a19623eca8c" name="Tag" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Synchronised</initialvalue><private /><alwaysinit /></stage><stage stageid="1990b1b0-ccf3-45a0-a47b-e94d3fd88bf3" name="Queue Name" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="1d2a57d4-8552-4a69-9b88-a6eec7e29369" name="Set Connection" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Server" expr="[Server]" /><input type="text" name="Database" expr="[Database]" /><input type="text" name="User" expr="[User]" /><input type="text" name="Password" expr="[Password]" /></inputs><onsuccess>86e22067-1a19-4087-b411-eeb444985128</onsuccess><resource object="SQL Server" action="Set Connection" /></stage><stage stageid="e2a5f553-db6e-4718-b429-0897025e78ed" name="Server" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="8113b000-67ba-4ea0-b20e-4d0561a58380" name="Database" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Database</initialvalue><private /><alwaysinit /></stage><stage stageid="ae845125-9b60-410d-99ac-ee7a1183ce01" name="User" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="6050a0e4-7e79-47a9-b0f4-9030dba4a7b9" name="Password" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="03ecfeb4-9208-4dd7-9479-7b3ddbc3f77e" name="SQL" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>465</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6734eac1-39be-4d9b-8185-20238f96fffd" name="Success" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>495</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1c40b98e-1df0-4f8e-985a-2dd201fe90f9" name="Message" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>525</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="86e22067-1a19-4087-b411-eeb444985128" name="Open Connection" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>1f8a7631-6666-4f39-b707-d70706f8603b</onsuccess><resource object="SQL Server" action="Open" /></stage><stage stageid="e9f81534-2fef-4c45-9669-3d409f13dc95" name="System Exception" type="Exception"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>630</displayx><displayy>345</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="9bae7d6a-7728-4fc8-8169-041356b8ef2e" name="Update SQL" type="Calculation"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>285</displayx><displayy>345</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d19cc95b-9712-4dfd-a01c-7821ca2c594c</onsuccess><calculation expression=""UPDATE SomeTable SET BP_Complete='"&FormatDateTime([Item Completed DateTime], "yyyyMMdd HH:mm:ss")&" WHERE BP_ID='"&[Item IDs.Item ID]&"'"" stage="SQL" /></stage><stage stageid="d19cc95b-9712-4dfd-a01c-7821ca2c594c" name="Get Records Affected" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>405</displayx><displayy>345</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Query" expr="[SQL]" /></inputs><outputs><output type="flag" name="Success" stage="Success" /><output type="text" name="Message" stage="Message" /><output type="number" name="Records Affected" stage="Records Affected" /></outputs><onsuccess>3a3568df-331c-488b-962b-14b8eeb8da66</onsuccess><resource object="SQL Server" action="Get Records Affected" /></stage><stage stageid="3a3568df-331c-488b-962b-14b8eeb8da66" name="Success?" type="Decision"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>525</displayx><displayy>345</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>34435619-ed08-419f-a32e-14b3485ef760</ontrue><onfalse>e9f81534-2fef-4c45-9669-3d409f13dc95</onfalse></stage><stage stageid="1bf4c6b6-ffdf-4cf9-8296-5879a9134a14" name="Note4" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>Update the corresponding row in the database with detail from the completed item.</narrative><displayx>150</displayx><displayy>345</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>9bae7d6a-7728-4fc8-8169-041356b8ef2e</onsuccess></stage><stage stageid="fb250103-a068-4040-b4d4-8473748010ee" name="Note6" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>Once the update is complete, the item is tagged accordingly.</narrative><displayx>390</displayx><displayy>435</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>13fac008-f7df-4d35-a46e-f623d8bd522a</onsuccess></stage><stage stageid="13fac008-f7df-4d35-a46e-f623d8bd522a" name="Tag Item" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>255</displayx><displayy>435</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Tag]" /></inputs><onsuccess>2362e8bb-f46b-4751-b2f5-ffd98fa55809</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="c4bed3b6-2615-4a67-bab9-0809b6d3069b" name="Note2" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>** NB A 'negative' tag filter is used here, ie to find items that are not tagged.</narrative><displayx>225</displayx><displayy>150</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>994c33e6-ee6f-422d-bed0-a4c984c1c64d</onsuccess></stage><stage stageid="42e34b73-67d0-4b44-84df-0cf2555864e0" name="Recover" type="Recover"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>225</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>df43b852-d350-4f91-9d5b-19fba3690e6a</onsuccess></stage><stage stageid="df43b852-d350-4f91-9d5b-19fba3690e6a" name="Close Connection" type="Action"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>225</displayx><displayy>270</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>836b3738-839a-4975-8269-d71e2dc1f8ce</onsuccess><resource object="SQL Server" action="Close" /></stage><stage stageid="836b3738-839a-4975-8269-d71e2dc1f8ce" name="Re-Throw" type="Exception"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>225</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="e29d47a2-1d28-4ec5-a2fc-9ac354f0b5e1" name="Block2" type="Block"><subsheetid>30fb5d0a-2581-49e9-adc2-dc0dbc760336</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>30</displayy><displaywidth>345</displaywidth><displayheight>210</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="1f58ec36-404c-48e0-b7a6-682e60bd1e91" name="End" type="End"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="998daa06-7d37-41c7-b83a-ad6c9573a302" name="Close Connection" type="Action"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>15</displayx><displayy>270</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>1f58ec36-404c-48e0-b7a6-682e60bd1e91</onsuccess><resource object="SQL Server" action="Close" /></stage><stage stageid="1f915d5b-319d-46c6-86f9-039cb9f13a20" name="Success?" type="Decision"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>998daa06-7d37-41c7-b83a-ad6c9573a302</ontrue><onfalse>9d158651-a3eb-4dbd-aa0f-cd586d5b324d</onfalse></stage><stage stageid="9d158651-a3eb-4dbd-aa0f-cd586d5b324d" name="System Exception" type="Exception"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>105</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="db8cf580-f9ed-4ad0-878d-600d1874eb5d" name="Note2" type="Note"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative>** NB The connection to the database is closed in the event of a problem.</narrative><displayx>420</displayx><displayy>180</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>4440075a-b396-4518-88d3-a36e862ce5e4</onsuccess></stage><stage stageid="535a1fc3-8047-429d-8bea-002b8193e649" name="Recover" type="Recover"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>225</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4440075a-b396-4518-88d3-a36e862ce5e4</onsuccess></stage><stage stageid="4440075a-b396-4518-88d3-a36e862ce5e4" name="Close Connection" type="Action"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>225</displayx><displayy>270</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>2179f00d-a8f1-4f51-a28a-0318d3a04c45</onsuccess><resource object="SQL Server" action="Close" /></stage><stage stageid="2179f00d-a8f1-4f51-a28a-0318d3a04c45" name="Re-Throw" type="Exception"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>225</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="034232ae-1aeb-4388-949f-faa8d898aee6" name="Block2" type="Block"><subsheetid>7b69d790-c467-454e-adbe-ef13cbcf8922</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>30</displayy><displaywidth>345</displaywidth><displayheight>210</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="233a34a8-b707-4049-90f2-252ebeb90a3f" name="Block3" type="Block"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>45</displayy><displaywidth>750</displaywidth><displayheight>660</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="0432edc0-9543-4a1a-8267-1e03f7368687" name="Note2" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>** NB The connection to the database is closed in the event of a problem.</narrative><displayx>360</displayx><displayy>795</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>59cf6779-4cfa-4485-9815-e5d1771ed978</onsuccess></stage><stage stageid="e4806925-fa9e-42c8-9c0c-f26a7dbc8f2a" name="Recover" type="Recover"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>180</displayx><displayy>675</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>59cf6779-4cfa-4485-9815-e5d1771ed978</onsuccess></stage><stage stageid="59cf6779-4cfa-4485-9815-e5d1771ed978" name="Close Connection" type="Action"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>180</displayx><displayy>735</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>9b478c76-4eac-4c49-90de-48e36e32f069</onsuccess><resource object="SQL Server" action="Close" /></stage><stage stageid="9b478c76-4eac-4c49-90de-48e36e32f069" name="Re-Throw" type="Exception"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative></narrative><displayx>180</displayx><displayy>795</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="229e0bda-e69b-4ffc-89fb-292aa84b5043" name="Note2" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>** NB A time period to search is defined here, in this case the last 7 days.</narrative><displayx>225</displayx><displayy>0</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>1f8a7631-6666-4f39-b707-d70706f8603b</onsuccess></stage><stage stageid="a129731b-5f54-4a5e-8f5f-a7003f6edcea" name="Get Exception Items" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>615</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to retrieve the exception items from" expr="[Queue Name]" /><input type="datetime" name="Start Date" narrative="Optionally, the start threshold date. Any items returned will have been marked as an exception after this date. If no value is given, there will be no start threshold." expr="[Period Start]" /><input type="datetime" name="End Date" narrative="Optionally, the end threshold date. Any items returned will have been marked as an exception before this date. If no value is given, there will be no end threshold." expr="[Period End]" /><input type="number" name="Maximum Rows" narrative="Optionally, the maximum number of rows to return. No value indicates that all rows should be returned" expr="" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr=""-"&[Tag]&";-"&[Orphan Tag]" /></inputs><outputs><output type="collection" name="Exception Items" narrative="The items which were marked with an exception within the given date range, up to the maximum count if one was given" stage="Item IDs" /></outputs><onsuccess>b3e9a240-fe19-4c70-99eb-91a0ec3d3643</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Exception Items" /></stage><stage stageid="ac9bbf20-db34-4b2d-9e24-bc65bfb27c44" name="Close Connection" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1050</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="Success" /><output type="text" name="Message" stage="Message" /></outputs><onsuccess>8f766006-cdd6-4951-904c-d8fbfaa473fd</onsuccess><resource object="SQL Server" action="Close" /></stage><stage stageid="8f766006-cdd6-4951-904c-d8fbfaa473fd" name="End1" type="End"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1110</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b3e9a240-fe19-4c70-99eb-91a0ec3d3643" name="Item IDs" type="LoopStart"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>660</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>02c5c6ab-0355-4290-ba4e-d065fd15bebd</onsuccess><groupid>9293ae78-1d94-46f2-948f-c4aa76292c06</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="3666986a-c372-472b-b12b-4ccd3e8619a9" name="Item IDs" type="LoopEnd"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>900</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>ac9bbf20-db34-4b2d-9e24-bc65bfb27c44</onsuccess><groupid>9293ae78-1d94-46f2-948f-c4aa76292c06</groupid></stage><stage stageid="974bc000-5520-4233-812a-9d9212c7ed87" name="System Exception" type="Exception"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>630</displayx><displayy>735</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="95e1eef2-bfe1-445b-971b-7a75683032af" name="Update SQL" type="Calculation"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>285</displayx><displayy>735</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fdbf2fb8-60e0-4ba3-a97b-c25d442c193e</onsuccess><calculation expression=""UPDATE SomeTable SET BP_Exception='"&FormatDateTime([Item Exception DateTime], "yyyyMMdd HH:mm:ss")&", BP_Exception_Reason='"&[Item Exception Reason]&"' WHERE WHERE BP_ID='"&[Item IDs.Item ID]&"'"" stage="SQL" /></stage><stage stageid="f77a2ae8-ecce-499e-a7e3-e3f6e8ba89e8" name="Success?" type="Decision"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>525</displayx><displayy>735</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>e8565a19-86c5-4633-b652-7b2a322bfce8</ontrue><onfalse>974bc000-5520-4233-812a-9d9212c7ed87</onfalse></stage><stage stageid="8944235a-b0be-43db-baff-d41804ca6cf2" name="Note4" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>Update the corresponding row in the database with detail from the exception item.</narrative><displayx>150</displayx><displayy>735</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>95e1eef2-bfe1-445b-971b-7a75683032af</onsuccess></stage><stage stageid="7a428f7d-db04-4d47-918f-acca6fc8a8ec" name="Get Item Data" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>345</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to get data from. An error will be raised if this item does not exist." expr="[Item IDs.Item ID]" /></inputs><outputs><output type="text" name="Key" narrative="The key value of the item." stage="" /><output type="text" name="Status" narrative="The status of the item." stage="" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="" /><output type="timespan" name="Worktime" narrative="The total time spent on this item (including previous attempts)" stage="" /><output type="timespan" name="Attempt Worktime" narrative="The amount of time spent on this particular attempt of the item" stage="" /><output type="datetime" name="Loaded DateTime" narrative="The date and time at which this item was first loaded into the queue." stage="" /><output type="datetime" name="Deferred DateTime" narrative="The date and time at which this item has been deferred to. Empty if this item has not been deferred." stage="" /><output type="datetime" name="Completed DateTime" narrative="The date and time at which this item was marked as complete. Empty if this item has not been marked as complete" stage="Item Completed DateTime" /><output type="datetime" name="Exception DateTime" narrative="The date and time at which this item was marked as an exception. Empty if there has never been an exception on this item." stage="" /><output type="text" name="Exception Reason" narrative="The exception reason recorded against this item." stage="" /><output type="text" name="Tags" narrative="The semi-colon separated set of tags which apply to the item. " stage="" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="" /></outputs><onsuccess>1bf4c6b6-ffdf-4cf9-8296-5879a9134a14</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Item Data" /></stage><stage stageid="02c5c6ab-0355-4290-ba4e-d065fd15bebd" name="Get Item Data" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>735</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to get data from. An error will be raised if this item does not exist." expr="[Item IDs.Item ID]" /></inputs><outputs><output type="text" name="Key" narrative="The key value of the item." stage="" /><output type="text" name="Status" narrative="The status of the item." stage="" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="" /><output type="timespan" name="Worktime" narrative="The total time spent on this item (including previous attempts)" stage="" /><output type="timespan" name="Attempt Worktime" narrative="The amount of time spent on this particular attempt of the item" stage="" /><output type="datetime" name="Loaded DateTime" narrative="The date and time at which this item was first loaded into the queue." stage="" /><output type="datetime" name="Deferred DateTime" narrative="The date and time at which this item has been deferred to. Empty if this item has not been deferred." stage="" /><output type="datetime" name="Completed DateTime" narrative="The date and time at which this item was marked as complete. Empty if this item has not been marked as complete" stage="" /><output type="datetime" name="Exception DateTime" narrative="The date and time at which this item was marked as an exception. Empty if there has never been an exception on this item." stage="Item Exception DateTime" /><output type="text" name="Exception Reason" narrative="The exception reason recorded against this item." stage="Item Exception Reason" /><output type="text" name="Tags" narrative="The semi-colon separated set of tags which apply to the item. " stage="" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="" /></outputs><onsuccess>8944235a-b0be-43db-baff-d41804ca6cf2</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Item Data" /></stage><stage stageid="9523ff3f-f751-4f21-a9f2-0f668fe9cdec" name="Item Exception DateTime" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>735</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="90b257d9-02e4-4c76-9be2-4fb4fc8e18e5" name="Item Exception Reason" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>765</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="91651436-6734-4be7-a994-277e09caabe9" name="Item Completed DateTime" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>405</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bf8cf9e1-6f6d-4174-9fed-6bcffa92c144" name="Note2" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>** NB The connection to the database is closed in the event of a problem.</narrative><displayx>360</displayx><displayy>1125</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>c3b44593-3d28-4a57-8b79-e106090632f0</onsuccess></stage><stage stageid="2a5b0a6d-7997-4a5f-bc61-8e0b831efcb6" name="Recover" type="Recover"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>990</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c3b44593-3d28-4a57-8b79-e106090632f0</onsuccess></stage><stage stageid="c3b44593-3d28-4a57-8b79-e106090632f0" name="Close Connection" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>1050</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Success" stage="" /><output type="text" name="Message" stage="" /></outputs><onsuccess>6161ca68-217b-4c08-bc84-abe54af9fbfd</onsuccess><resource object="SQL Server" action="Close" /></stage><stage stageid="6161ca68-217b-4c08-bc84-abe54af9fbfd" name="Re-Throw" type="Exception"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>1110</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="a33cb5be-77eb-4f81-be3f-cd4115e786a8" name="Block4" type="Block"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>75</displayy><displaywidth>780</displaywidth><displayheight>945</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="1bdc0a07-f05f-4c2e-93a2-218a72c89df1" name="Note2" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>** In this example the database table has columns for data from the work queue.</narrative><displayx>450</displayx><displayy>225</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>9bae7d6a-7728-4fc8-8169-041356b8ef2e</onsuccess></stage><stage stageid="8f74673a-cc13-45d9-bc58-1d0b6280c233" name="Note2" type="Note"><subsheetid>7fd86ab4-6159-40aa-bb10-8d76dd83de0d</subsheetid><narrative>** In this example the database table has columns for data from the work queue.</narrative><displayx>300</displayx><displayy>240</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>ff5a11ef-ce3f-4d59-bb32-16aae6762eae</onsuccess></stage><stage stageid="ed0ef0b6-653d-4c8a-bc8b-770d49020b7f" name="Records Affected" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>555</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="34435619-ed08-419f-a32e-14b3485ef760" name="No Records Affected?" type="Decision"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>525</displayx><displayy>435</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Records Affected]=0" /><ontrue>dc522856-a8cb-4a71-ad56-377e96590eda</ontrue><onfalse>fb250103-a068-4040-b4d4-8473748010ee</onfalse></stage><stage stageid="dc522856-a8cb-4a71-ad56-377e96590eda" name="anchor1" type="Anchor"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>525</displayx><displayy>510</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>71b1c711-0fa5-40b2-bdaf-45756ad20cde</onsuccess></stage><stage stageid="71b1c711-0fa5-40b2-bdaf-45756ad20cde" name="Note6" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>If the item is found to be an orphan it is tagged accordingly.</narrative><displayx>390</displayx><displayy>510</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>ffb96626-d87f-49ba-bd09-4b2afd15f8f7</onsuccess></stage><stage stageid="ffb96626-d87f-49ba-bd09-4b2afd15f8f7" name="Tag Item" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>255</displayx><displayy>510</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Orphan Tag]" /></inputs><onsuccess>a4995444-0978-45bf-ba13-c673e1503dc8</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="2362e8bb-f46b-4751-b2f5-ffd98fa55809" name="anchor4" type="Anchor"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>435</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a4995444-0978-45bf-ba13-c673e1503dc8</onsuccess></stage><stage stageid="a4995444-0978-45bf-ba13-c673e1503dc8" name="anchor5" type="Anchor"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>510</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>eb070447-bae7-458d-9179-decde34ddbaa</onsuccess></stage><stage stageid="9cf25de5-13a8-497a-be16-69fca82c4f5d" name="Orphan Tag" type="Data"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>285</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Orphaned</initialvalue><private /><alwaysinit /></stage><stage stageid="7877ead2-ad85-45a5-8e24-fa5a4a85c4a2" name="Note6" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>Once the update is complete, the item is tagged accordingly.</narrative><displayx>390</displayx><displayy>825</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>680fcaf4-5253-4a75-80da-0f5ed99d1ccd</onsuccess></stage><stage stageid="680fcaf4-5253-4a75-80da-0f5ed99d1ccd" name="Tag Item" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>255</displayx><displayy>825</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Tag]" /></inputs><onsuccess>9a38d386-01ae-40c7-b72f-e39d094bba4f</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="e8565a19-86c5-4633-b652-7b2a322bfce8" name="No Records Affected?" type="Decision"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>525</displayx><displayy>825</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Records Affected]=0" /><ontrue>06dd937f-a3dc-4771-87ac-a180785378d8</ontrue><onfalse>7877ead2-ad85-45a5-8e24-fa5a4a85c4a2</onfalse></stage><stage stageid="06dd937f-a3dc-4771-87ac-a180785378d8" name="anchor1" type="Anchor"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>525</displayx><displayy>900</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2bd81770-46a0-40b4-802d-5cb9f37e38c9</onsuccess></stage><stage stageid="2bd81770-46a0-40b4-802d-5cb9f37e38c9" name="Note6" type="Note"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative>If the item is found to be an orphan it is tagged accordingly.</narrative><displayx>390</displayx><displayy>900</displayy><displaywidth>120</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>4ffecb20-9323-4584-bd66-b845d0fbfc45</onsuccess></stage><stage stageid="4ffecb20-9323-4584-bd66-b845d0fbfc45" name="Tag Item" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>255</displayx><displayy>900</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Orphan Tag]" /></inputs><onsuccess>350b06c9-37aa-49dd-8cb3-5938b660fc6f</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="9a38d386-01ae-40c7-b72f-e39d094bba4f" name="anchor4" type="Anchor"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>825</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>350b06c9-37aa-49dd-8cb3-5938b660fc6f</onsuccess></stage><stage stageid="350b06c9-37aa-49dd-8cb3-5938b660fc6f" name="anchor5" type="Anchor"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>150</displayx><displayy>900</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3666986a-c372-472b-b12b-4ccd3e8619a9</onsuccess></stage><stage stageid="fdbf2fb8-60e0-4ba3-a97b-c25d442c193e" name="Get Records Affected" type="Action"><subsheetid>5a940b40-36e6-48c7-aef2-f224b948aac2</subsheetid><narrative></narrative><displayx>405</displayx><displayy>735</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Query" expr="[SQL]" /></inputs><outputs><output type="flag" name="Success" stage="Success" /><output type="text" name="Message" stage="Message" /><output type="number" name="Records Affected" stage="Records Affected" /></outputs><onsuccess>f77a2ae8-ecce-499e-a7e3-e3f6e8ba89e8</onsuccess><resource object="SQL Server" action="Get Records Affected" /></stage><stage stageid="8051564c-8931-4a3e-859b-8917cad6bdcc" name="End1" type="End"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="becb77eb-aaa2-4010-b3fd-10b73ac6d9b1" name="Note3" type="Note"><narrative>This process has not been designed to run, it is merely a collection diagram fragments based on a common theme.
Each page is an example intended to illustrate how a particular task might be acheived in Blue Prism.
These examples may be copied into a new diagram and modified to suit your needs.</narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>8051564c-8931-4a3e-859b-8917cad6bdcc</onsuccess></stage></process></process>
<process id="ccf30082-628f-4d40-95e9-6a63cec2dd0f" name="Process Examples - Email SMPT/POP3" xmlns="http://www.blueprism.co.uk/product/process"><process name="Process Examples - Email SMPT/POP3" version="1.0" narrative="Various examples of working with email using SMTP and POP3"><view><camerax>0</camerax><cameray>42</cameray><zoom>1.2</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="eee09152-56a1-47e9-9d1c-5d4ef8186839" type="Normal" published="False"><name>Send Email (basic)</name><view><camerax>0</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="90bf9d70-7b74-463a-a04c-162494b3357d" type="Normal" published="False"><name>Get Mail (basic)</name><view><camerax>0</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c" type="Normal" published="False"><name>Send Mail (using a work queue)</name><view><camerax>229</camerax><cameray>430</cameray><zoom>1.2</zoom></view></subsheet><subsheet subsheetid="9093dead-8b8b-4f1d-8c62-d22d9874b40f" type="Normal" published="False"><name>Get Mail (using a work queue)</name><view><camerax>51</camerax><cameray>297</cameray><zoom>0.6999999</zoom></view></subsheet><stage stageid="3485d2ee-002a-4790-8a91-712259a07bbb" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5748fd09-966c-4217-b701-e6e5a0d81b62</onsuccess></stage><stage stageid="f5dced91-e0e0-4f03-bb55-dd91ed010bb8" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="bc6cdd72-cf96-4a68-ba9e-2f862d8356a2" name="Send Email (basic)" type="SubSheetInfo"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="fdf680dd-0093-4f6a-aaaf-dada2f422027" name="Start" type="Start"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e45957db-932d-4dc1-8f1b-01c091cd7e5c</onsuccess></stage><stage stageid="3a13e8c5-099e-422d-b2bf-eaeb8cfc8267" name="End" type="End"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e45957db-932d-4dc1-8f1b-01c091cd7e5c" name="Set Configuration" type="Action"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Username" expr="[SMTP User]" /><input type="password" name="Password" expr="[SMTP Password]" /><input type="text" name="POP3 Server" expr="" /><input type="text" name="SMTP Server" expr="[SMTP Server]" /><input type="number" name="POP3 Port" expr="" /><input type="number" name="SMTP Port" expr="[SMTP Port]" /><input type="flag" name="POP3 UseSSL" expr="" /><input type="flag" name="SMTP UseSSL" expr="[SMTP SSL]" /></inputs><onsuccess>28543f54-9d0e-4233-9338-8a3d4f1a7ed4</onsuccess><resource object="Email - POP3/SMTP" action="Configure" /></stage><stage stageid="b4534451-cb73-4844-ab87-db36615a3a9a" name="SMTP Server" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="72f590cc-d5d1-44d6-81c5-05596db2602d" name="SMTP Port" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>25</initialvalue><private /><alwaysinit /></stage><stage stageid="3fd6125f-0ac1-45f6-b1f5-9b802594f211" name="SMTP User" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="7ac7170f-3039-4484-aa92-b49679a8b0bb" name="SMTP Password" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="7d8b1d99-35e6-4d44-b4cf-38396e9f9a99" name="SMTP SSL" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>False</initialvalue><private /><alwaysinit /></stage><stage stageid="28543f54-9d0e-4233-9338-8a3d4f1a7ed4" name="Send Email" type="Action"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="From" expr="[Email From]" /><input type="text" name="To" expr="[Email To]" /><input type="text" name="Subject" expr="[Email Subject]" /><input type="text" name="Body" expr="[Email Message]" /><input type="collection" name="Attachments" expr="" /></inputs><onsuccess>3a13e8c5-099e-422d-b2bf-eaeb8cfc8267</onsuccess><resource object="Email - POP3/SMTP" action="Send Message" /></stage><stage stageid="080a47a3-a8c6-4a0d-938c-bb2e8a0f15bd" name="Email To" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">[email protected]</initialvalue><private /><alwaysinit /></stage><stage stageid="1a8f8f9c-b15c-4e66-997e-7d6a598aa104" name="Email Subject" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Hello</initialvalue><private /><alwaysinit /></stage><stage stageid="7f32730e-f87b-4167-8bf5-c0f76f8b7dd7" name="Email Message" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">How are you?</initialvalue><private /><alwaysinit /></stage><stage stageid="16f872b1-c977-459a-a538-a3716de6226b" name="Email CC" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">[email protected]</initialvalue><private /><alwaysinit /></stage><stage stageid="ceae4ff0-7819-4605-807b-43b9732bc517" name="Email Attachments" type="Collection"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>300</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Path" type="text" /></collectioninfo></stage><stage stageid="ce085fc4-4c2f-4298-945f-286a5ebf232d" name="Email From" type="Data"><subsheetid>eee09152-56a1-47e9-9d1c-5d4ef8186839</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">[email protected]</initialvalue><private /><alwaysinit /></stage><stage stageid="f780659c-4671-41f8-a13a-26d3ad545b73" name="Get Mail (basic)" type="SubSheetInfo"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="25663ce7-1564-4328-afa9-ee435322c096" name="Start" type="Start"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>165c8a52-59f8-400d-aace-88015fef199b</onsuccess></stage><stage stageid="165c8a52-59f8-400d-aace-88015fef199b" name="Set Configuration" type="Action"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Username" expr="[POP3 User]" /><input type="password" name="Password" expr="[POP3 Password]" /><input type="text" name="POP3 Server" expr="[POP3 Server]" /><input type="text" name="SMTP Server" expr="" /><input type="number" name="POP3 Port" expr="[POP3 Port]" /><input type="number" name="SMTP Port" expr="" /><input type="flag" name="POP3 UseSSL" expr="[POP3 SSL]" /><input type="flag" name="SMTP UseSSL" expr="" /></inputs><onsuccess>1da02c4c-8c87-45b3-823c-7dcff6a3918e</onsuccess><resource object="Email - POP3/SMTP" action="Configure" /></stage><stage stageid="7ff381bb-dad7-4bde-8c2f-d585d802a251" name="POP3 Server" type="Data"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="5c62562e-dfc6-405d-8cc1-1330b60a6210" name="POP3 Port" type="Data"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>110</initialvalue><private /><alwaysinit /></stage><stage stageid="c9ee2bb0-4a9d-46a2-9bdb-e94d99aff042" name="POP3 User" type="Data"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="8e52fa13-9ce7-4a54-9565-449d743bb78c" name="POP3 Password" type="Data"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="a82e8d91-9af8-4551-af6b-be18118672e9" name="POP3 SSL" type="Data"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>False</initialvalue><private /><alwaysinit /></stage><stage stageid="1da02c4c-8c87-45b3-823c-7dcff6a3918e" name="Get Email" type="Action"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="collection" name="Emails" stage="Email" /></outputs><onsuccess>f6e835ec-d715-458a-b9c2-8168b62ffa69</onsuccess><resource object="Email - POP3/SMTP" action="List Messages" /></stage><stage stageid="bbe79422-0b83-47d5-ac09-8fbcd5921adb" name="Email" type="Collection"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>150</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Subject" type="text" /><field name="From Name" type="text" /><field name="From Address" type="text" /><field name="Date Sent" type="datetime" /><field name="MessageID" type="text" /></collectioninfo></stage><stage stageid="f6e835ec-d715-458a-b9c2-8168b62ffa69" name="End1" type="End"><subsheetid>90bf9d70-7b74-463a-a04c-162494b3357d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="c6bab939-a0a5-4dd5-867f-a652c418e935" name="Send Mail (using a work queue)" type="SubSheetInfo"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="79759064-9647-4f1b-b261-583a501d8800" name="Get Mail (using a work queue)" type="SubSheetInfo"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b2aff405-c288-4460-be58-6c386f6700fe" name="Start" type="Start"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5f75adde-cf9a-4b1b-8554-661e2ed0d006</onsuccess></stage><stage stageid="2a47ca9f-dfd7-4192-8646-aa5c9d87543d" name="End" type="End"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>675</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="ead8cf13-203e-4242-b125-7e7829275032" name="Start" type="Start"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>88b0e52f-2569-44d4-97d7-9c084722c367</onsuccess></stage><stage stageid="60a96d4f-c35b-44b0-b791-e9aa71e43527" name="End" type="End"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>300</displayx><displayy>420</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a11fdb1d-96cc-4888-a74d-1f27325cecac" name="SMTP Server" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-390</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="da0ed0f3-3391-438b-ace4-5d78cab8a4f1" name="SMTP Port" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-390</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>25</initialvalue><private /><alwaysinit /></stage><stage stageid="7f15f3c8-0765-4e32-99d3-73fe5334867c" name="SMTP User" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-390</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="8f9190cc-809a-4dfa-adae-d53cc534b2c1" name="SMTP Password" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-390</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="dca5e6d9-1b15-4895-bce5-2b6f69171817" name="SMTP SSL" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-390</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>False</initialvalue><private /><alwaysinit /></stage><stage stageid="6ba069aa-5c7f-413c-867e-b5c96031ebde" name="Email To" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">[email protected]</initialvalue><private /><alwaysinit /></stage><stage stageid="441dd84a-1c00-408a-aa52-a6914bb66875" name="Email Subject" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Hello</initialvalue><private /><alwaysinit /></stage><stage stageid="a8a1342a-c8be-4c34-90a8-2682f61a86f0" name="Email Message" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">How are you?</initialvalue><private /><alwaysinit /></stage><stage stageid="15a5a3de-b778-4c70-b06f-0db424ceaad7" name="Email CC" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">[email protected]</initialvalue><private /><alwaysinit /></stage><stage stageid="56939609-7110-4601-b0a7-8fe25798a4ee" name="Email Attachments" type="Collection"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Path" type="text" /></collectioninfo></stage><stage stageid="09d46121-a6c7-47db-a99e-538c78e44e79" name="Email From" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">[email protected]</initialvalue><private /><alwaysinit /></stage><stage stageid="f87e8acb-949c-4418-a97b-2c32a9cd29f8" name="Queue Name" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Email Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="70a67073-3ef4-4b27-b4be-388b293d41ce" name="Process Name" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>240</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Process</initialvalue><private /><alwaysinit /></stage><stage stageid="7f278c1d-976b-44ba-9e6b-8c1fe66f2352" name="Tags" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>270</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="34a83544-6dce-46c3-b62a-a8b705307feb" name="Get Next Item" type="Action"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>180</displayx><displayy>345</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="[Tags]" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data" /><output type="text" name="Status" narrative="The status of the item." stage="Item Status" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="Item Attempts" /></outputs><onsuccess>139ece7f-931b-44ec-bfb0-c607e54928c7</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="139ece7f-931b-44ec-bfb0-c607e54928c7" name="Got Item?" type="Decision"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>180</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>6ce0acb3-bf62-4b97-b6c7-735b288af167</ontrue><onfalse>60a96d4f-c35b-44b0-b791-e9aa71e43527</onfalse></stage><stage stageid="3341f7c6-c9d2-4cc8-b56d-24641dcf2da7" name="Add to Queue" type="Action"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the Item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the Item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="[Tags]" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>3dfd7e5a-0cae-4bd4-87e7-a9e29b211b4f</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="d559c9d0-43ca-401d-b3f4-b59fccf3d96b" name="Tags" type="Calculation"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3341f7c6-c9d2-4cc8-b56d-24641dcf2da7</onsuccess><calculation expression="[Process Name]&";"&GetResourceName()" stage="Tags" /></stage><stage stageid="da7fb6c8-face-4713-bfc8-5ee4f147ae90" name="Add Row" type="Action"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>15</displayx><displayy>60</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""Item Data"" /></inputs><onsuccess>5b6ae2ee-920d-4695-baaf-59f128b280a2</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="b53d9efe-b91a-4f3c-bcc5-51525ce1ab5e" name="Item Data" type="Collection"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>435</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="From" type="text" /><field name="To" type="text" /><field name="CC" type="text" /><field name="Subject" type="text" /><field name="Message" type="text" /><field name="Attachments" type="collection"><field name="Path" type="text" /></field></collectioninfo></stage><stage stageid="5b6ae2ee-920d-4695-baaf-59f128b280a2" name="Populate Row" type="MultipleCalculation"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d559c9d0-43ca-401d-b3f4-b59fccf3d96b</onsuccess><steps><calculation expression="Left([Email Subject], 255)" stage="Item Data.Item Key" /><calculation expression="[Email From]" stage="Item Data.From" /><calculation expression="[Item Data.To]" stage="Item Data.To" /><calculation expression="[Item Data.Subject]" stage="Item Data.Subject" /><calculation expression="[Item Data.Message]" stage="Item Data.Message" /><calculation expression="[Email Attachments]" stage="Item Data.Attachments" /></steps></stage><stage stageid="6238463f-8ffb-4074-89d2-1199456210e1" name="Item ID" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>330</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a892569d-cd1a-462d-905f-0bad53a5a7a8" name="Item Status" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="238f9c9b-0923-42c5-b219-9433673a9934" name="Item Attempts" type="Data"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>390</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6ce0acb3-bf62-4b97-b6c7-735b288af167" name="Send Email" type="Action"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>180</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="From" expr="[Item Data.From]" /><input type="text" name="To" expr="[Item Data.To]" /><input type="text" name="Subject" expr="[Item Data.Subject]" /><input type="text" name="Body" expr="[Item Data.Message]" /><input type="collection" name="Attachments" expr="[Item Data.Attachments]" /></inputs><onsuccess>0a60a03b-4729-4980-9485-f3646e98bc0b</onsuccess><resource object="Email - POP3/SMTP" action="Send Message" /></stage><stage stageid="0a60a03b-4729-4980-9485-f3646e98bc0b" name="Mark Completed" type="Action"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>180</displayx><displayy>555</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /></inputs><onsuccess>44bb0104-073f-4143-8028-fe62574fbf5b</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Completed" /></stage><stage stageid="44bb0104-073f-4143-8028-fe62574fbf5b" name="anchor1" type="Anchor"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>555</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>f79ef0d6-1630-4c42-9a1d-3a1b56727b63</onsuccess></stage><stage stageid="f79ef0d6-1630-4c42-9a1d-3a1b56727b63" name="anchor2" type="Anchor"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>345</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>34a83544-6dce-46c3-b62a-a8b705307feb</onsuccess></stage><stage stageid="02adf6c2-9457-44ff-ac5d-a4d8dfbcd6cc" name="anchor3" type="Anchor"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>90</displayx><displayy>600</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>44bb0104-073f-4143-8028-fe62574fbf5b</onsuccess></stage><stage stageid="4e5119f9-8bec-4074-8547-16e9ed284a98" name="Mark Exception" type="Action"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><loginhibit /><narrative></narrative><displayx>300</displayx><displayy>555</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /><input type="text" name="Exception Reason" narrative="A description of the reason for the exception" expr="ExceptionDetail()" /><input type="flag" name="Retry" narrative="Whether or not to retry the item, up to the maximum number of attempts specified for the queue. Optional - if not specified, the item will be retried" expr="True" /><input type="flag" name="Keep Locked" narrative="Whether or not the clone of the item should remain locked after the exception has been registered and the item is retried. Optional - default is False" expr="False" /></inputs><outputs><output type="text" name="New Item ID" narrative="The Item ID of the newly cloned item. This item will be locked if 'Keep Locked' is True. This will be empty if no item was cloned (ie. the item was not retried." stage="" /></outputs><onsuccess>eabb6af8-5f59-406b-948d-c12660e108ff</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Exception" /></stage><stage stageid="75505657-130e-415f-93fc-0146fcd76a8d" name="Recover1" type="Recover"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>300</displayx><displayy>495</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4e5119f9-8bec-4074-8547-16e9ed284a98</onsuccess></stage><stage stageid="eabb6af8-5f59-406b-948d-c12660e108ff" name="Resume1" type="Resume"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>300</displayx><displayy>600</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>02adf6c2-9457-44ff-ac5d-a4d8dfbcd6cc</onsuccess></stage><stage stageid="16161548-a69f-44ae-9c57-89d56f633562" name="Block1" type="Block"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>120</displayx><displayy>465</displayy><displaywidth>240</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="88b0e52f-2569-44d4-97d7-9c084722c367" name="Note1" type="Note"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative>Before sending the mail add an item to a work queue</narrative><displayx>15</displayx><displayy>-15</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>da7fb6c8-face-4713-bfc8-5ee4f147ae90</onsuccess></stage><stage stageid="5a2f6ded-c809-4804-bd03-47a91660c10c" name="Set Configuration" type="Action"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative></narrative><displayx>180</displayx><displayy>300</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Username" expr="[SMTP User]" /><input type="password" name="Password" expr="[SMTP Password]" /><input type="text" name="POP3 Server" expr="" /><input type="text" name="SMTP Server" expr="[SMTP Server]" /><input type="number" name="POP3 Port" expr="" /><input type="number" name="SMTP Port" expr="[SMTP Port]" /><input type="flag" name="POP3 UseSSL" expr="" /><input type="flag" name="SMTP UseSSL" expr="[SMTP SSL]" /></inputs><onsuccess>34a83544-6dce-46c3-b62a-a8b705307feb</onsuccess><resource object="Email - POP3/SMTP" action="Configure" /></stage><stage stageid="3dfd7e5a-0cae-4bd4-87e7-a9e29b211b4f" name="Note1" type="Note"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative>Then proceed to 'work' the item by sending the mail and marking the item complete.</narrative><displayx>180</displayx><displayy>225</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>5a2f6ded-c809-4804-bd03-47a91660c10c</onsuccess></stage><stage stageid="1ed13ce2-82f0-41c9-9a47-b07dbb995390" name="Note2" type="Note"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative>** In this example tags are applied to help catagorise items by process and machine name.</narrative><displayx>225</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>d559c9d0-43ca-401d-b3f4-b59fccf3d96b</onsuccess></stage><stage stageid="9b49fe4a-10d4-4388-86ba-b27bec9da83a" name="Note2" type="Note"><subsheetid>cb23ee89-074b-4aa5-9e0d-fbaf7a64ac3c</subsheetid><narrative>** The same tags are used to specify which new items to 'get'; if other processes are also adding new items to the email queue, this process will only send its own mail.</narrative><displayx>390</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>34a83544-6dce-46c3-b62a-a8b705307feb</onsuccess></stage><stage stageid="90fc2b4c-6034-4083-bfe1-bf6d938135af" name="Get Mail" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>0</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="collection" name="Emails" stage="Mail" /></outputs><onsuccess>225aeb59-4e4c-44ce-9248-ef45fe4769c6</onsuccess><resource object="Email - POP3/SMTP" action="List Messages" /></stage><stage stageid="da5cad21-bfe2-466a-9e65-4078902db4f1" name="Mail" type="Collection"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Subject" type="text" /><field name="From Name" type="text" /><field name="From Address" type="text" /><field name="Date Sent" type="datetime" /><field name="MessageID" type="text" /></collectioninfo></stage><stage stageid="225aeb59-4e4c-44ce-9248-ef45fe4769c6" name="Mail" type="LoopStart"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>60</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2454b576-b288-44d1-aa35-1ad5a9eee6f5</onsuccess><groupid>d54c0158-0e18-4e99-84d4-d1c5dacd2ab6</groupid><looptype>ForEach</looptype><loopdata>Mail</loopdata></stage><stage stageid="9311b2ba-1f81-4af9-b060-964968dd96ff" name="Mail" type="LoopEnd"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>615</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2a47ca9f-dfd7-4192-8646-aa5c9d87543d</onsuccess><groupid>d54c0158-0e18-4e99-84d4-d1c5dacd2ab6</groupid></stage><stage stageid="a95324c8-0c47-4b90-ab6a-f03e1161bcad" name="Check Item Key Exists" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to check" expr="[Queue Name]" /><input type="text" name="Key" narrative="The key to check." expr="[Item Key]" /><input type="flag" name="Include Pending" narrative="Check any items in the queue which are currently awaiting being worked. This will include any deferred items which have a deferral date in the past and any locked items. Optional - Default is True" expr="True" /><input type="flag" name="Include Deferred" narrative="Check any items in the queue which are currently deferred to a later date. Optional - Default is True" expr="True" /><input type="flag" name="Include Completed" narrative="Check any items in the queue which are completed. Optional - Default is True" expr="True" /><input type="flag" name="Include Terminated" narrative="Check any items in the queue which have been fully terminated. Optional - Default is True" expr="True" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The Item IDs which represent the work items found with the given key" stage="" /><output type="flag" name="Result" narrative="True if an item with the given key is in the queue, False otherwise." stage="Item Key Exists" /></outputs><onsuccess>9d5cde7a-8bee-44c3-9a7a-47ab850f29b2</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Is Item In Queue" /></stage><stage stageid="50f888c0-576d-45e7-82b3-6b7037c131fc" name="Item Key Exists" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>285</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9d5cde7a-8bee-44c3-9a7a-47ab850f29b2" name="Item Key Exists?" type="Decision"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item Key Exists]" /><ontrue>eda21b52-ce2b-4ab3-bf5c-d842ba51cadf</ontrue><onfalse>451de040-24ca-4bff-a1e5-0e69e075bf88</onfalse></stage><stage stageid="b5bff0c5-bea2-437c-8011-4a51ef08f156" name="Queue Name" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Email Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="fb6b8240-f0ca-4a6f-893a-269e72edf33f" name="Save Attachments" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>405</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="MessageID" expr="[Mail.MessageID]" /><input type="text" name="Folder" expr="[Message Folder Path]" /></inputs><onsuccess>5410088b-db2d-4c82-9fbf-184fe80a3dd3</onsuccess><resource object="Email - POP3/SMTP" action="Save Attachments" /></stage><stage stageid="2454b576-b288-44d1-aa35-1ad5a9eee6f5" name="Item Key" type="Calculation"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a95324c8-0c47-4b90-ab6a-f03e1161bcad</onsuccess><calculation expression="Left([Mail.Subject], 254-Len([Mail.MessageID]))&" "&[Mail.MessageID]" stage="Item Key" /></stage><stage stageid="016fe888-998d-4773-a3ad-a2415363cedf" name="Item Key" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e43695ea-d216-40de-807e-d46b94d7158d" name="Attachments Folder Path" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>450</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp\Email Attachments\</initialvalue><private /><alwaysinit /></stage><stage stageid="55905ede-4f14-4916-b470-90253e3c764c" name="Create Message Folder" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>405</displayx><displayy>375</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Directory Path" narrative="The path in which to create the directory" expr="[Message Folder Path]" /><input type="flag" name="Error If Already Exists" narrative="True to generate an error if the directory already exists" expr="True" /></inputs><onsuccess>fb6b8240-f0ca-4a6f-893a-269e72edf33f</onsuccess><resource object="Utility - File Management" action="Create Directory" /></stage><stage stageid="c98a0da9-9b81-465e-8595-bb30fba80295" name="Message Folder Path" type="Calculation"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>405</displayx><displayy>315</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>55905ede-4f14-4916-b470-90253e3c764c</onsuccess><calculation expression="[Attachments Folder Path]&[Mail.MessageID]" stage="Message Folder Path" /></stage><stage stageid="d0296f33-64fd-4da0-85b5-40373375f197" name="Message Folder Path" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>480</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="43f94bcf-b3eb-4ade-b9b7-32a01acba7d5" name="Get Files" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>645</displayx><displayy>300</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Folder" narrative="The folder in which to look for files" expr="[Message Folder Path]" /><input type="text" name="Patterns CSV" narrative="The comma seperated list of wildcard patterns" expr=""*.*"" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="A message if unsuccessful" stage="Message" /><output type="collection" name="Files" narrative="The collection of files found" stage="Files" /></outputs><onsuccess>318c2099-d389-4f73-9a46-6b65fccbdacc</onsuccess><resource object="Utility - File Management" action="Get Files" /></stage><stage stageid="f8288e80-ed14-484d-918b-a908f86ad513" name="Files" type="Collection"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>570</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="1be4e976-d1d9-4e04-8fbb-c5b84f9d79fd" name="Success" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>615</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="9ef468f1-2f41-4a0d-a80e-abd48f990067" name="Message" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>645</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="f6b3b607-7efc-4257-a631-14b459f8f94c" name="Populate Row" type="MultipleCalculation"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>165</displayx><displayy>360</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fec31aaf-b377-4420-887d-e80c41f90665</onsuccess><steps><calculation expression="[Item Key]" stage="New Item Data.Item Key" /><calculation expression="[Mail.MessageID]" stage="New Item Data.MessageID" /><calculation expression="[Mail.From Name]" stage="New Item Data.From Name" /><calculation expression="[Mail.Date Sent]" stage="New Item Data.Date Sent" /><calculation expression="[Mail.Subject]" stage="New Item Data.Subject" /><calculation expression="[Mail.From Address]" stage="New Item Data.From Address" /></steps></stage><stage stageid="5df038b5-4dbf-4fd6-ad56-2d78c4b94693" name="Add to Queue" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>165</displayx><displayy>615</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[New Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>9311b2ba-1f81-4af9-b060-964968dd96ff</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="c264da0c-82e9-40f8-860b-1255ecae1aee" name="Add Row" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>165</displayx><displayy>300</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data"" /></inputs><onsuccess>f6b3b607-7efc-4257-a631-14b459f8f94c</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="ce1f099d-10cc-4f24-aae5-21d4fe0c0d0e" name="Files" type="LoopStart"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>645</displayx><displayy>450</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7c30676e-2604-4ffb-b05c-b5495426744a</onsuccess><groupid>fa986148-5a11-419d-b486-982a6ae53aca</groupid><looptype>ForEach</looptype><loopdata>Files</loopdata></stage><stage stageid="a90df94f-65c7-41e3-93eb-4f28301984cd" name="Files" type="LoopEnd"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>645</displayx><displayy>615</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d1d57dfe-77ce-44ff-a8f6-2a3b67535eaa</onsuccess><groupid>fa986148-5a11-419d-b486-982a6ae53aca</groupid></stage><stage stageid="7c30676e-2604-4ffb-b05c-b5495426744a" name="Add Row" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>645</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Data.Attachments"" /></inputs><onsuccess>0131348a-4156-413c-8f5d-6d41174b024f</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="0131348a-4156-413c-8f5d-6d41174b024f" name="Attached File Path" type="Calculation"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>645</displayx><displayy>555</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a90df94f-65c7-41e3-93eb-4f28301984cd</onsuccess><calculation expression="[Files.Path]" stage="New Item Data.Attachments.Path" /></stage><stage stageid="451de040-24ca-4bff-a1e5-0e69e075bf88" name="Note1" type="Note"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative>Prepare a new queue item by collecting the mail details</narrative><displayx>165</displayx><displayy>225</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>c264da0c-82e9-40f8-860b-1255ecae1aee</onsuccess></stage><stage stageid="fdf28e1c-b254-4272-909b-c655d7541c1b" name="Note1" type="Note"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative>Download any attchments to a new folder</narrative><displayx>405</displayx><displayy>225</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>c98a0da9-9b81-465e-8595-bb30fba80295</onsuccess></stage><stage stageid="af526fc8-5dd4-42e4-8aac-4fc911dcc10f" name="Note1" type="Note"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative>Append the attachment file path to the new queue item</narrative><displayx>645</displayx><displayy>225</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>43f94bcf-b3eb-4ade-b9b7-32a01acba7d5</onsuccess></stage><stage stageid="5410088b-db2d-4c82-9fbf-184fe80a3dd3" name="anchor5" type="Anchor"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>525</displayx><displayy>420</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2411bfe3-dc2c-4cd9-bdff-01ac0e8c0489</onsuccess></stage><stage stageid="2411bfe3-dc2c-4cd9-bdff-01ac0e8c0489" name="anchor6" type="Anchor"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>525</displayx><displayy>225</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>af526fc8-5dd4-42e4-8aac-4fc911dcc10f</onsuccess></stage><stage stageid="318c2099-d389-4f73-9a46-6b65fccbdacc" name="Success?" type="Decision"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>645</displayx><displayy>375</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>ce1f099d-10cc-4f24-aae5-21d4fe0c0d0e</ontrue><onfalse>245bfa97-4f3f-4bcf-9f38-331ffd9b65b1</onfalse></stage><stage stageid="245bfa97-4f3f-4bcf-9f38-331ffd9b65b1" name="System Exception" type="Exception"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>750</displayx><displayy>375</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="fec31aaf-b377-4420-887d-e80c41f90665" name="anchor4" type="Anchor"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>285</displayx><displayy>360</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a4ae26a9-9396-4d25-b938-6f1728d1256c</onsuccess></stage><stage stageid="a4ae26a9-9396-4d25-b938-6f1728d1256c" name="anchor7" type="Anchor"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>285</displayx><displayy>225</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fdf28e1c-b254-4272-909b-c655d7541c1b</onsuccess></stage><stage stageid="d1d57dfe-77ce-44ff-a8f6-2a3b67535eaa" name="Note1" type="Note"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative>Add the new item to the queue</narrative><displayx>300</displayx><displayy>615</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>5df038b5-4dbf-4fd6-ad56-2d78c4b94693</onsuccess></stage><stage stageid="eda21b52-ce2b-4ab3-bf5c-d842ba51cadf" name="Note1" type="Note"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative>The message has already been loaded into the queue.</narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>9311b2ba-1f81-4af9-b060-964968dd96ff</onsuccess></stage><stage stageid="ffc38d1d-668c-40bf-bc2e-e7dbbf8fb3a6" name="New Item Data" type="Collection"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>360</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item Key" type="text" /><field name="Subject" type="text" /><field name="From Name" type="text" /><field name="From Address" type="text" /><field name="Date Sent" type="datetime" /><field name="MessageID" type="text" /><field name="Attachments" type="collection"><field name="Path" type="text" /></field></collectioninfo></stage><stage stageid="5f75adde-cf9a-4b1b-8554-661e2ed0d006" name="Set Configuration" type="Action"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Username" expr="[POP3 User]" /><input type="password" name="Password" expr="[POP3 Password]" /><input type="text" name="POP3 Server" expr="[POP3 Server]" /><input type="text" name="SMTP Server" expr="" /><input type="number" name="POP3 Port" expr="[POP3 Port]" /><input type="number" name="SMTP Port" expr="" /><input type="flag" name="POP3 UseSSL" expr="" /><input type="flag" name="SMTP UseSSL" expr="[POP3 SSL]" /></inputs><onsuccess>90fc2b4c-6034-4083-bfe1-bf6d938135af</onsuccess><resource object="Email - POP3/SMTP" action="Configure" /></stage><stage stageid="c3c25a57-f172-4870-9ee4-a9905a13ad33" name="POP3 Server" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Server</initialvalue><private /><alwaysinit /></stage><stage stageid="4a121aea-242a-4cb5-8ce2-139594869913" name="POP3 Port" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>25</initialvalue><private /><alwaysinit /></stage><stage stageid="4d563338-d90f-4aaa-87a7-2cfe96f411d6" name="POP3 User" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My User Name</initialvalue><private /><alwaysinit /></stage><stage stageid="d811c783-ec7c-450f-9ae7-6360c2fcf984" name="POP3 Password" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>password</datatype><initialvalueenc>12,12,84,96,12,71,7,18,46,7,16</initialvalueenc><private /><alwaysinit /></stage><stage stageid="8dc8bd9d-37f4-40d0-ae74-71ac1c107f10" name="POP3 SSL" type="Data"><subsheetid>9093dead-8b8b-4f1d-8c62-d22d9874b40f</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>False</initialvalue><private /><alwaysinit /></stage><stage stageid="85a45880-b66b-4fa4-a8dd-d7dc66b46f25" name="End1" type="End"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="5748fd09-966c-4217-b701-e6e5a0d81b62" name="Note3" type="Note"><narrative>This process has not been designed to run, it is merely a collection diagram fragments based on a common theme.
Each page is an example intended to illustrate how a particular task might be acheived in Blue Prism.
These examples may be copied into a new diagram and modified to suit your needs.</narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>85a45880-b66b-4fa4-a8dd-d7dc66b46f25</onsuccess></stage></process></process>
<process id="b67a7528-bbc8-4ffd-bd37-b2f71b9aec64" name="Process Examples - Environment Checks" xmlns="http://www.blueprism.co.uk/product/process"><process name="Process Examples - Environment Checks" version="1.0" narrative="Various examples of checking the environment a process is working in."><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="597e3fcb-4e0a-498a-8c4d-7c95af0232b0" type="Normal" published="False"><name>Font Smoothing</name><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="20a60c0a-44d0-49e2-8764-38564a7d703a" type="Normal" published="False"><name>Screen Resolution</name><view><camerax>-63</camerax><cameray>0</cameray><zoom>1.2</zoom></view></subsheet><subsheet subsheetid="5c945ed8-44c2-4315-921f-f9066191e80a" type="Normal" published="False"><name>Folder Existance</name><view><camerax>0</camerax><cameray>0</cameray><zoom>1.2</zoom></view></subsheet><subsheet subsheetid="8ffc4053-a008-42f3-a64c-0e0ffeea14ba" type="Normal" published="False"><name>File Existance</name><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view></subsheet><stage stageid="7bbb956a-4c4e-4b3d-857a-ef53718117d3" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>92591677-52c5-4dad-8316-407d57089a82</onsuccess></stage><stage stageid="e3a190a8-006a-409a-82f6-3ff4e51c343b" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e67c05dd-0b49-425b-b0ee-128bee174ebf" name="Font Smoothing" type="SubSheetInfo"><subsheetid>597e3fcb-4e0a-498a-8c4d-7c95af0232b0</subsheetid><narrative>In this example a check is made to see if Font Smoothing is switched on.
Character matching is dependant on smoothing being off, so an exception is thrown if it is found to be enabled.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="45f2f5c7-bdf2-482d-a306-13b3a3bb30a6" name="Start" type="Start"><subsheetid>597e3fcb-4e0a-498a-8c4d-7c95af0232b0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e077542e-3eb0-4382-aef7-7a1c35855fbf</onsuccess></stage><stage stageid="1fd83885-4352-4782-a75e-ac5bc3b7a95b" name="End" type="End"><subsheetid>597e3fcb-4e0a-498a-8c4d-7c95af0232b0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e077542e-3eb0-4382-aef7-7a1c35855fbf" name="Get Font Smoothing Status" type="Action"><subsheetid>597e3fcb-4e0a-498a-8c4d-7c95af0232b0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="flag" name="Enabled" narrative="True if font smoothing is enabled" stage="Font Smoothing Enabled" /></outputs><onsuccess>4b9ed8b6-a5a2-4d2f-9c15-2b1732307aa6</onsuccess><resource object="Utility - Environment" action="Font Smoothing Enabled" /></stage><stage stageid="ee1cc46f-41f1-4305-b229-f496ff39effe" name="Font Smoothing Enabled" type="Data"><subsheetid>597e3fcb-4e0a-498a-8c4d-7c95af0232b0</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4b9ed8b6-a5a2-4d2f-9c15-2b1732307aa6" name="Enabled?" type="Decision"><subsheetid>597e3fcb-4e0a-498a-8c4d-7c95af0232b0</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Font Smoothing Enabled]" /><ontrue>71682972-25a6-4435-9d65-1ac207e795ca</ontrue><onfalse>1fd83885-4352-4782-a75e-ac5bc3b7a95b</onfalse></stage><stage stageid="71682972-25a6-4435-9d65-1ac207e795ca" name="System Exception" type="Exception"><subsheetid>597e3fcb-4e0a-498a-8c4d-7c95af0232b0</subsheetid><narrative></narrative><displayx>135</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""Font smoothing is enabled on PC "&GetResourceName()" /></stage><stage stageid="1ec1b644-a364-4abe-9fbd-f79f6503cdf5" name="Screen Resolution" type="SubSheetInfo"><subsheetid>20a60c0a-44d0-49e2-8764-38564a7d703a</subsheetid><narrative>In this example a check is made to see what the current screen resolution is.
Some integration techniques may rely on a specific resolution, so here an exception is thrown if the resolution is not set correctly.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="c5f8ac6e-cc39-4987-95d2-5468f656c990" name="Start" type="Start"><subsheetid>20a60c0a-44d0-49e2-8764-38564a7d703a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>317caafb-b84d-4513-91d0-054c17cf8277</onsuccess></stage><stage stageid="d9fc9d9a-880c-4ea1-b47d-6f3f3421740d" name="End" type="End"><subsheetid>20a60c0a-44d0-49e2-8764-38564a7d703a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="317caafb-b84d-4513-91d0-054c17cf8277" name="Get Screen Resolution" type="Action"><subsheetid>20a60c0a-44d0-49e2-8764-38564a7d703a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="number" name="Horizontal Resolution" narrative="The number of pixels in the horizontal screen axis" stage="Horizontal Resolution" /><output type="number" name="Vertical Resolution" narrative="The number of pixels in the vertical screen axis" stage="Vertical Resolution" /></outputs><onsuccess>73bc50e3-eebd-467e-9fe5-15c64b6cde17</onsuccess><resource object="Utility - Environment" action="Get Screen Resolution" /></stage><stage stageid="edc60309-73e2-49dd-8b74-cfd69133c453" name="Horizontal Resolution" type="Data"><subsheetid>20a60c0a-44d0-49e2-8764-38564a7d703a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a1b74a05-b391-40b0-9612-ff00f810df4f" name="Vertical Resolution" type="Data"><subsheetid>20a60c0a-44d0-49e2-8764-38564a7d703a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="73bc50e3-eebd-467e-9fe5-15c64b6cde17" name="1280 x 800?" type="Decision"><subsheetid>20a60c0a-44d0-49e2-8764-38564a7d703a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Horizontal Resolution]=1280 AND [Vertical Resolution]=800" /><ontrue>d9fc9d9a-880c-4ea1-b47d-6f3f3421740d</ontrue><onfalse>bcd5f0bb-116b-47e5-a499-c59fe85901d2</onfalse></stage><stage stageid="bcd5f0bb-116b-47e5-a499-c59fe85901d2" name="System Exception" type="Exception"><subsheetid>20a60c0a-44d0-49e2-8764-38564a7d703a</subsheetid><narrative></narrative><displayx>135</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""Incorrect screen resolution on PC "&GetResourceName()" /></stage><stage stageid="a7962387-aae9-4469-b4bc-b3c38c41ff01" name="Folder Existance" type="SubSheetInfo"><subsheetid>5c945ed8-44c2-4315-921f-f9066191e80a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="f3671389-50db-4db7-9601-c072dad58303" name="Start" type="Start"><subsheetid>5c945ed8-44c2-4315-921f-f9066191e80a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7902d944-e7cf-4a89-b7df-8ced7057c49b</onsuccess></stage><stage stageid="1910932d-197a-4c03-896a-c831a2a2434c" name="End" type="End"><subsheetid>5c945ed8-44c2-4315-921f-f9066191e80a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="7902d944-e7cf-4a89-b7df-8ced7057c49b" name="Folder Exists" type="Action"><subsheetid>5c945ed8-44c2-4315-921f-f9066191e80a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Directory Name" narrative="The directory to check exists" expr="[Folder Path]" /></inputs><outputs><output type="flag" name="Exists" narrative="True if the directory exists" stage="Folder Exists" /></outputs><onsuccess>864c58b0-91f8-4ee6-8410-f47c9c54caaa</onsuccess><resource object="Utility - File Management" action="Directory Exists" /></stage><stage stageid="bc5e668b-d85f-404b-800d-6a367f3238e1" name="Folder Exists" type="Data"><subsheetid>5c945ed8-44c2-4315-921f-f9066191e80a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="13867021-e4fb-486d-b7f0-ba63c453982d" name="Folder Path" type="Data"><subsheetid>5c945ed8-44c2-4315-921f-f9066191e80a</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Z:\My Data</initialvalue><private /><alwaysinit /></stage><stage stageid="864c58b0-91f8-4ee6-8410-f47c9c54caaa" name="Folder Exists?" type="Decision"><subsheetid>5c945ed8-44c2-4315-921f-f9066191e80a</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Folder Exists]" /><ontrue>1910932d-197a-4c03-896a-c831a2a2434c</ontrue><onfalse>29ad8391-3c16-45ac-9bb7-40d6f5a03835</onfalse></stage><stage stageid="29ad8391-3c16-45ac-9bb7-40d6f5a03835" name="System Exception" type="Exception"><subsheetid>5c945ed8-44c2-4315-921f-f9066191e80a</subsheetid><narrative></narrative><displayx>135</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""Folder unavailable from PC "&GetResourceName()" /></stage><stage stageid="b2c81e97-b88f-4c53-95f4-5b6cb13cb2cd" name="File Existance" type="SubSheetInfo"><subsheetid>8ffc4053-a008-42f3-a64c-0e0ffeea14ba</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="5c87d8c4-7a70-4e47-8f62-665259734f79" name="Start" type="Start"><subsheetid>8ffc4053-a008-42f3-a64c-0e0ffeea14ba</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>48789700-0153-4713-bfca-cb49608e5d60</onsuccess></stage><stage stageid="56c6f743-69ad-498e-8be8-ff1a751ce3ea" name="End" type="End"><subsheetid>8ffc4053-a008-42f3-a64c-0e0ffeea14ba</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="48789700-0153-4713-bfca-cb49608e5d60" name="File Exists" type="Action"><subsheetid>8ffc4053-a008-42f3-a64c-0e0ffeea14ba</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" narrative="The name of the file to check" expr="[File Path]" /></inputs><outputs><output type="flag" name="Exists" narrative="True if the file exists" stage="File Exists" /></outputs><onsuccess>89de18b8-6dbb-41c8-8ab8-caac6a0597b9</onsuccess><resource object="Utility - File Management" action="File Exists" /></stage><stage stageid="3d6f90f7-060d-4bbe-a9d6-fa97d78c9d79" name="File Exists" type="Data"><subsheetid>8ffc4053-a008-42f3-a64c-0e0ffeea14ba</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bcde6497-978d-4426-8fb9-a132257ef40f" name="File Path" type="Data"><subsheetid>8ffc4053-a008-42f3-a64c-0e0ffeea14ba</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Z:\My Data\My File.txt</initialvalue><private /><alwaysinit /></stage><stage stageid="89de18b8-6dbb-41c8-8ab8-caac6a0597b9" name="File Exists?" type="Decision"><subsheetid>8ffc4053-a008-42f3-a64c-0e0ffeea14ba</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[File Exists]" /><ontrue>56c6f743-69ad-498e-8be8-ff1a751ce3ea</ontrue><onfalse>c7aa7ddc-2d16-4c8b-8493-0ec55b55912b</onfalse></stage><stage stageid="c7aa7ddc-2d16-4c8b-8493-0ec55b55912b" name="System Exception" type="Exception"><subsheetid>8ffc4053-a008-42f3-a64c-0e0ffeea14ba</subsheetid><narrative></narrative><displayx>135</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""File unavailable from PC "&GetResourceName()" /></stage><stage stageid="c8f14ba1-0141-40ac-b9be-d750972c8d02" name="End1" type="End"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="92591677-52c5-4dad-8316-407d57089a82" name="Note3" type="Note"><narrative>This process has not been designed to run, it is merely a collection diagram fragments based on a common theme.
Each page is an example intended to illustrate how a particular task might be acheived in Blue Prism.
These examples may be copied into a new diagram and modified to suit your needs.</narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>c8f14ba1-0141-40ac-b9be-d750972c8d02</onsuccess></stage></process></process>
<process id="565a2f10-30f5-4f4e-ae7f-94357a18e149" name="Process Examples - Files" xmlns="http://www.blueprism.co.uk/product/process"><process name="Process Examples - Files" version="1.0" narrative="Various examples of working with files"><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="1ce41d9e-d7cb-4c8a-970c-8147679984d3" type="Normal" published="False"><name>Read CSV File</name><view><camerax>-83</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="fb5551e4-348d-437d-a4a0-648950b51223" type="Normal" published="False"><name>Read Excel File</name><view><camerax>51</camerax><cameray>130</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="b68ddea0-fff8-4c67-bc1b-243d448f9faa" type="Normal" published="False"><name>Read XML File</name><view><camerax>51</camerax><cameray>-23</cameray><zoom>0.5999999</zoom></view></subsheet><subsheet subsheetid="4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4" type="Normal" published="False"><name>Validate File Structure</name><view><camerax>0</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="fdc9f197-033f-4d47-b654-37b089ea6969" type="Normal" published="False"><name>Remove Blank Rows</name><view><camerax>0</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="33f4386b-f636-4d85-b88f-5012e04682cd" type="Normal" published="False"><name>Sort File Data</name><view><camerax>0</camerax><cameray>-84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="8342a743-6109-4f11-b50f-210734aa2af7" type="Normal" published="False"><name>Read Files (basic)</name><view><camerax>0</camerax><cameray>390</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="41dde786-7d93-4f2f-9260-33cb30d468b6" type="Normal" published="False"><name>Read Files (intermediate)</name><view><camerax>51</camerax><cameray>54</cameray><zoom>1.1</zoom></view></subsheet><subsheet subsheetid="8e1d0d46-3a1b-4c0e-957b-a19357d70246" type="Normal" published="False"><name>Read Files (advanced)</name><view><camerax>213</camerax><cameray>93</cameray><zoom>0.8</zoom></view></subsheet><subsheet subsheetid="86f7766e-af93-4e99-ad0c-496642868bfd" type="Normal" published="False"><name>Read Files (with permission)</name><view><camerax>51</camerax><cameray>73</cameray><zoom>1.1</zoom></view></subsheet><subsheet subsheetid="af416131-3116-4e14-9549-34607339061d" type="Normal" published="False"><name>Move File</name><view><camerax>51</camerax><cameray>378</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6" type="Normal" published="False"><name>Maintain Folder</name><view><camerax>200</camerax><cameray>504</cameray><zoom>0.6999999</zoom></view></subsheet><stage stageid="5c7a6357-6e34-429e-98f8-2849e67857b3" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0d9cbd32-0851-457f-b32c-8179a90e4aa4</onsuccess></stage><stage stageid="e222de6b-84a8-4c87-83e1-26abbe09a5cc" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="49a9ed5c-0a55-4825-b140-1c91ef04eb3e" name="Read CSV File" type="SubSheetInfo"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a6963de2-ce1e-44df-8a9d-4d1b62a3dc39" name="Read Excel File" type="SubSheetInfo"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="fcf0d41c-38fd-4077-b75e-eb6c40d30063" name="Start" type="Start"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9d7eb037-8f20-490b-946a-54086d6e35a7</onsuccess></stage><stage stageid="4c55d3ab-1383-4bef-b172-efa318434e65" name="File Path" type="Data"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp\My File.csv</initialvalue><private /><alwaysinit /></stage><stage stageid="9d7eb037-8f20-490b-946a-54086d6e35a7" name="Launch" type="Action"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="flag" name="Enable Events" narrative="Flag to indicate that events should be enabled / disabled on the attached instance - defaulted to True" expr="False" /></inputs><outputs><output type="number" name="handle" narrative="An integer which can be used to identify the created instance in subsequent actions" stage="Handle" /></outputs><onsuccess>46c327b5-508c-4e20-abff-6bd5f3a13fae</onsuccess><resource object="MS Excel VBO" action="Create Instance" /></stage><stage stageid="1bba4839-e0d6-4cf6-a68a-6f936d1dc8fd" name="Handle" type="Data"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="46c327b5-508c-4e20-abff-6bd5f3a13fae" name="Show" type="Action"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="number" name="handle" narrative="The integer handle identifying the instance which should have its window displayed. The default of zero indicates the currently active instance." expr="[Handle]" /></inputs><onsuccess>2e10de37-ba3e-4ad1-bc15-7855afb37bb9</onsuccess><resource object="MS Excel VBO" action="Show" /></stage><stage stageid="2e10de37-ba3e-4ad1-bc15-7855afb37bb9" name="Open File" type="Action"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>15</displayx><displayy>60</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="number" name="handle" narrative="The integer handle identifying the instance on which the required workbook should be opened. The default of zero indicates the currently active instance." expr="[Handle]" /><input type="text" name="File name" narrative="The path and name of the file which should be opened." expr="[File Path]" /></inputs><outputs><output type="text" name="Workbook Name" narrative="The name used by Excel to identify the workbook - usually this is the file name (without the path)." stage="Workbook Name" /></outputs><onsuccess>dd2d8578-a817-4c6f-b493-c405440df7cd</onsuccess><resource object="MS Excel VBO" action="Open Workbook" /></stage><stage stageid="a4af58eb-3ae6-45fd-b53d-f2a0b8304780" name="Workbook Name" type="Data"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="dd2d8578-a817-4c6f-b493-c405440df7cd" name="Read File" type="Action"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><outputs><output type="collection" name="Data" narrative="The data output" stage="File Data" /></outputs><onsuccess>cbe612f4-99be-49d9-9648-85f81af67c0b</onsuccess><resource object="MS Excel VBO" action="Get Worksheet As Collection (Fast)" /></stage><stage stageid="ddb220f1-62c6-4f0c-a258-dac11457a6a4" name="Start" type="Start"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e9b30ece-129e-4a3b-bbf0-a2eefbea3d88</onsuccess></stage><stage stageid="e9b30ece-129e-4a3b-bbf0-a2eefbea3d88" name="Read CSV" type="Action"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="CSV File Path" narrative="The full path to the CSV file" expr="[File Path]" /><input type="flag" name="First Line Is Header" narrative="Set True if you want to treat the first line as a header" expr="[First Line Is Header]" /></inputs><outputs><output type="collection" name="CSV Values" narrative="The collection populated with the values of the CSV file" stage="File Data" /></outputs><onsuccess>75f15580-6821-4db4-ac69-61b85e82d206</onsuccess><resource object="Utility - File Management" action="Get CSV Text As Collection" /></stage><stage stageid="805e4c97-2efb-4153-9a80-e3d289f51a2b" name="File Data" type="Collection"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="6f41511a-fa59-43b8-aa9b-231b9363bd77" name="First Line Is Header" type="Data"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>True</initialvalue><private /><alwaysinit /></stage><stage stageid="99141f4c-1949-479f-a90b-030818b4674b" name="File Path" type="Data"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp\My File.csv</initialvalue><private /><alwaysinit /></stage><stage stageid="8d4d24f2-1646-459e-bc11-3d90b09c947f" name="Note1" type="Note"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative>** Copy and paste the text below into Notepad to create an example CSV file</narrative><displayx>-405</displayx><displayy>15</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="FF00FF" /></stage><stage stageid="d93a37ae-f614-4718-8db5-c24723c352ae" name="Note2" type="Note"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative>ACC_NO,NAME1,NAME2,STAFF,JOINED
1001,Dagless,Rick,TRUE,21/01/2001
2002,Reed,Thornton,FALSE,22/02/2002
3003,Sanchez,Lucien,FALSE,23/03/2003
4004,Asher,Liz,TRUE,24/04/2004</narrative><displayx>-405</displayx><displayy>120</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="FF00FF" /></stage><stage stageid="daa4d802-1e08-4e06-8282-7943f7aaba6d" name="End1" type="End"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e7770303-3833-4921-9e85-4dc5cfd0b57f" name="File Data" type="Collection"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="235a8d63-958a-4245-bc95-d5ee19fa5436" name="End1" type="End"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>15</displayx><displayy>345</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="cbe612f4-99be-49d9-9648-85f81af67c0b" name="Exit" type="Action"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>701e80b6-b1b3-43e6-ab00-e3b3179dc1fc</onsuccess><resource object="MS Excel VBO" action="Exit" /></stage><stage stageid="2f1710e4-ec85-46b4-b32a-d36229d7f0c6" name="Block1" type="Block"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-15</displayy><displaywidth>300</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="136bd43f-4e40-4d1f-ba07-b2d974006833" name="Recover" type="Recover"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>180</displayx><displayy>105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>04715383-7c8b-46a8-a484-4a3d85e94e65</onsuccess></stage><stage stageid="04715383-7c8b-46a8-a484-4a3d85e94e65" name="Exit" type="Action"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>180</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d769e5d8-bf5e-4667-b934-59d29bdd439a</onsuccess><resource object="MS Excel VBO" action="Exit" /></stage><stage stageid="d769e5d8-bf5e-4667-b934-59d29bdd439a" name="Re-throw" type="Exception"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative></narrative><displayx>180</displayx><displayy>225</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="97fe0f91-030f-4e83-992e-80fd2addab11" name="Note2" type="Note"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative>** In the event of a problem Excel is shut down before releasing the exception.</narrative><displayx>375</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>04715383-7c8b-46a8-a484-4a3d85e94e65</onsuccess></stage><stage stageid="2d619fbe-2fcc-4218-a822-649d0ccf1fc6" name="Read Files (basic)" type="SubSheetInfo"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative>This example searches for files in a folder and then reads them one by one. Once a file has been read it is renamed to exclude it from any future searches.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="3328354f-e657-4534-9af2-43fa37b54ecc" name="Start" type="Start"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b94bb6f1-1fc0-4541-abd9-fcb2dfcee3bf</onsuccess></stage><stage stageid="c3abd1f3-52ea-45da-8044-2f2a4f7c1ab2" name="End" type="End"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b94bb6f1-1fc0-4541-abd9-fcb2dfcee3bf" name="Get Files" type="Action"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Folder" narrative="The folder in which to look for files" expr="[Input Folder]" /><input type="text" name="Patterns CSV" narrative="The comma seperated list of wildcard patterns" expr="[File Pattern]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="A message if unsuccessful" stage="Message" /><output type="collection" name="Files" narrative="The collection of files found" stage="Files" /></outputs><onsuccess>abf67322-82de-4503-8838-b128dd31b81e</onsuccess><resource object="Utility - File Management" action="Get Files" /></stage><stage stageid="dd144d3a-736c-433b-b607-eb89a0f32778" name="Success" type="Data"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6fe7084e-97d9-4604-bc7e-2bf23014ef93" name="Message" type="Data"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e99da82a-59f6-4e06-98b4-e1e2714674ae" name="Files" type="Collection"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="1da3d3b9-528c-4cb9-88df-66cd96d63a19" name="Input Folder" type="Data"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp</initialvalue><private /><alwaysinit /></stage><stage stageid="dfb378a1-a632-4a29-b965-3c466c2fa31f" name="File Pattern" type="Data"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">*.csv</initialvalue><private /><alwaysinit /></stage><stage stageid="0080b8d3-854c-4580-bdec-4e1369e91d15" name="Files" type="LoopStart"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9f15e40a-abdd-4f78-9ed8-279fa43f075e</onsuccess><groupid>403d41b3-6f83-42db-aa86-ed5af2e8025d</groupid><looptype>ForEach</looptype><loopdata>Files</loopdata></stage><stage stageid="49764843-7cdd-472f-b860-29d73977a52b" name="Files" type="LoopEnd"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>570</displayy><displaywidth>180</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c3abd1f3-52ea-45da-8044-2f2a4f7c1ab2</onsuccess><groupid>403d41b3-6f83-42db-aa86-ed5af2e8025d</groupid></stage><stage stageid="2bb08a03-6e68-4f41-a32c-e3aec7fe8f0c" name="New File Path" type="Calculation"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>390</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>12ea26d8-a364-45be-be59-96ceda01f4d0</onsuccess><calculation expression="[Input Folder]&"\"[Files.Name]&".OLD"" stage="New File Path" /></stage><stage stageid="aa006eb1-6087-4f21-a5a4-b2d1b0623636" name="New File Path" type="Data"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>390</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="12ea26d8-a364-45be-be59-96ceda01f4d0" name="Rename File" type="Action"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>435</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Path" narrative="The full path to the file to move" expr="[Files.Path]" /><input type="text" name="Destination Path" narrative="The path to the folder to move the file to" expr="[New File Path]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="An error message if unsuccessful" stage="Message" /></outputs><onsuccess>25706306-084a-441e-a524-94230eb208b1</onsuccess><resource object="Utility - File Management" action="Move File" /></stage><stage stageid="abf67322-82de-4503-8838-b128dd31b81e" name="Success?" type="Decision"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>0080b8d3-854c-4580-bdec-4e1369e91d15</ontrue><onfalse>5ca944f5-469c-4d84-9ac2-e53d2d47170c</onfalse></stage><stage stageid="5ca944f5-469c-4d84-9ac2-e53d2d47170c" name="System Exception" type="Exception"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>120</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="25706306-084a-441e-a524-94230eb208b1" name="Success?" type="Decision"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>15</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>49764843-7cdd-472f-b860-29d73977a52b</ontrue><onfalse>5db1dfce-9358-465c-9d49-dda6bdebb662</onfalse></stage><stage stageid="5db1dfce-9358-465c-9d49-dda6bdebb662" name="System Exception" type="Exception"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative></narrative><displayx>120</displayx><displayy>495</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="c972ea1e-e113-4061-abb8-973732c86b31" name="Validate File Structure" type="SubSheetInfo"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative>This example simply reads the first row of data in the file to check the column names are as expected. The exception handling will show us if the file is not as it should be.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>180</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="251c1fa7-385b-4363-a3ce-9f21b7bc8c60" name="Start" type="Start"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b0249df8-fb91-42db-adcb-b8de111bc0ad</onsuccess></stage><stage stageid="8abe0230-f67f-47e5-ba40-626f4c050313" name="End" type="End"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>405</displayx><displayy>120</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e566fdde-90e7-4a58-a081-505f22d147f2" name="Remove Blank Rows" type="SubSheetInfo"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative>This example checks for blanks by testing whether all the values on each row are empty. If they are, the row is removed from the collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a3876bad-e24e-493b-9be4-b038edf17dfb" name="Start" type="Start"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>76df1695-6f0d-4f86-8c0f-30facd21ac1e</onsuccess></stage><stage stageid="4436fba2-a90e-41d6-aa2b-ade8a61eb8ad" name="Sort File Data" type="SubSheetInfo"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="769bc489-7599-482f-a6a8-38accd2aa0e4" name="Start" type="Start"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>208d9ae4-f887-4afc-a2bb-8a6d840bac18</onsuccess></stage><stage stageid="c6bcaeef-a96b-4be6-a37e-8eec54282935" name="End" type="End"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b0249df8-fb91-42db-adcb-b8de111bc0ad" name="File Data" type="LoopStart"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e0d8bcf5-35e0-42ec-9298-cd907816f526</onsuccess><groupid>0d60218f-7c56-4e1b-8119-a01f24eadf25</groupid><looptype>ForEach</looptype><loopdata>File Data</loopdata></stage><stage stageid="5e10c876-33dc-477f-b6e4-58bd51caaa5d" name="File Data" type="LoopEnd"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>bf077156-3c7d-4e28-b074-0c2738408a1c</onsuccess><groupid>0d60218f-7c56-4e1b-8119-a01f24eadf25</groupid></stage><stage stageid="e0d8bcf5-35e0-42ec-9298-cd907816f526" name="Test Data" type="MultipleCalculation"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>44816708-4337-4bd2-a1fa-cd90f9aaf053</onsuccess><steps><calculation expression="[File Data.Field1]" stage="Test Data" /><calculation expression="[File Data.Field2]" stage="Test Data" /><calculation expression="[File Data.Field3]" stage="Test Data" /><calculation expression="[File Data.Field4]" stage="Test Data" /><calculation expression="[File Data.Field5]" stage="Test Data" /></steps></stage><stage stageid="70828168-692a-4cc0-9141-562408328308" name="End1" type="End"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>405</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a69212f1-8afd-4de3-b4cd-34d8cd13d6db" name="Test Data" type="Data"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="90e757a8-0106-4fe4-96d6-8e3ee4d84ae3" name="Note3" type="Note"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative>At this point we know the file columns are as expected and there is no need to continue looping through the file data.</narrative><displayx>270</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>8abe0230-f67f-47e5-ba40-626f4c050313</onsuccess></stage><stage stageid="61671a5e-e7cb-4621-8d47-658130c00a77" name="Block2" type="Block"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>0</displayy><displaywidth>225</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="0e8b5c29-9066-4ebf-963e-6335555aff6a" name="Recover" type="Recover"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>120</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8ef84151-6c21-4dd4-a18e-11fb7b91296a</onsuccess></stage><stage stageid="8ef84151-6c21-4dd4-a18e-11fb7b91296a" name="Note3" type="Note"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative>At this point we know the file does not contain the columns we want.</narrative><displayx>270</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>c193bb15-f566-47fb-b597-1750862641e1</onsuccess></stage><stage stageid="c193bb15-f566-47fb-b597-1750862641e1" name="System Exception" type="Exception"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>405</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""Invalid file structure"" /></stage><stage stageid="bf077156-3c7d-4e28-b074-0c2738408a1c" name="Note3" type="Note"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative>If we reach this point the collection must be empty.</narrative><displayx>270</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>70828168-692a-4cc0-9141-562408328308</onsuccess></stage><stage stageid="44816708-4337-4bd2-a1fa-cd90f9aaf053" name="anchor1" type="Anchor"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>90e757a8-0106-4fe4-96d6-8e3ee4d84ae3</onsuccess></stage><stage stageid="76df1695-6f0d-4f86-8c0f-30facd21ac1e" name="File Data" type="LoopStart"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>dc959711-93ee-4093-847d-1cd6cae087be</onsuccess><groupid>68eb13ba-9435-4d43-96f1-8b58ffcbb7cf</groupid><looptype>ForEach</looptype><loopdata>File Data</loopdata></stage><stage stageid="3c0b945d-1f71-40cc-a7d1-a406f8122516" name="File Data" type="LoopEnd"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8a8960e0-2572-489f-9e22-cabf090e790b</onsuccess><groupid>68eb13ba-9435-4d43-96f1-8b58ffcbb7cf</groupid></stage><stage stageid="2bea7e50-f998-44d7-b957-c402ab46d398" name="Test Data" type="Data"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="21831053-8acd-4582-bfea-c50f7c047d8f" name="anchor1" type="Anchor"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>135</displayx><displayy>120</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3c0b945d-1f71-40cc-a7d1-a406f8122516</onsuccess></stage><stage stageid="dc959711-93ee-4093-847d-1cd6cae087be" name="Blank Row?" type="Decision"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="Trim([File Data.Field1]&[File Data.Field2]&[File Data.Field3]&[File Data.Field4]&[File Data.Field5])=""" /><ontrue>c5e49b29-0150-4983-8421-bc524f02716b</ontrue><onfalse>3c0b945d-1f71-40cc-a7d1-a406f8122516</onfalse></stage><stage stageid="c5e49b29-0150-4983-8421-bc524f02716b" name="Remove Row" type="Action"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>135</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""File Data"" /></inputs><onsuccess>21831053-8acd-4582-bfea-c50f7c047d8f</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove Row" /></stage><stage stageid="8a8960e0-2572-489f-9e22-cabf090e790b" name="End2" type="End"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="208d9ae4-f887-4afc-a2bb-8a6d840bac18" name="Sort Collection" type="Action"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection" narrative="The collection to sort." expr="[File Data]" /><input type="text" name="Sort Field" narrative="The field to sort by." expr=""Field2"" /><input type="flag" name="Ascending Order" narrative="True to sort in ascending order." expr="True" /></inputs><outputs><output type="collection" name="Sorted Collection" narrative="The sorted collection." stage="File Data" /><output type="flag" name="Success" narrative="True if sorting was successful." stage="Success" /><output type="text" name="Message" narrative="An error message when sorting failed." stage="Message" /></outputs><onsuccess>89f26e07-89ea-4f80-a8eb-467e7bc01854</onsuccess><resource object="Utility - Collection Manipulation" action="Sort Collection" /></stage><stage stageid="0c8ddb6a-739d-4f83-b6af-a1cb245e2ba4" name="Success" type="Data"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="eecdd56c-5e1e-4129-9c51-3f11d7a3435d" name="Message" type="Data"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="89f26e07-89ea-4f80-a8eb-467e7bc01854" name="Success?" type="Decision"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>c6bcaeef-a96b-4be6-a37e-8eec54282935</ontrue><onfalse>6699fd33-71f4-42ef-a710-a40e54a92d72</onfalse></stage><stage stageid="6699fd33-71f4-42ef-a710-a40e54a92d72" name="System Exception" type="Exception"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>120</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="9f15e40a-abdd-4f78-9ed8-279fa43f075e" name="Note4" type="Note"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative>Logic to read the file goes here.</narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>bf70ad2c-aae2-4a29-9682-b9c1fb7fe3f2</onsuccess></stage><stage stageid="75f15580-6821-4db4-ac69-61b85e82d206" name="Note5" type="Note"><subsheetid>1ce41d9e-d7cb-4c8a-970c-8147679984d3</subsheetid><narrative>Logic to add data to a work queue could go here. See other templates for examples of populating a queue.</narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>daa4d802-1e08-4e06-8282-7943f7aaba6d</onsuccess></stage><stage stageid="b695d226-e30e-46fa-9a5b-8793d07c5c61" name="Read Files (intermediate)" type="SubSheetInfo"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative>This example searches for files in a folder and then reads them one by one. If a file is read successfully it is moved to an archive folder, otherwise it is moved to an exception folder.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>180</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="c1a6f33b-b49b-4924-9d55-0762b24f082a" name="Start" type="Start"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d70bef37-d1c9-4122-9ded-bf12aad1e790</onsuccess></stage><stage stageid="94dcfbf5-a935-4e46-bcf0-38df54390742" name="File Data" type="Collection"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a" /><field name="Field2" type="text" value="3" /></row><row><field name="Field1" type="text" value="b" /><field name="Field2" type="text" value="2" /></row><row><field name="Field1" type="text" value="c" /><field name="Field2" type="text" value="1" /></row></initialvalue></stage><stage stageid="16453322-c73b-4874-b872-de2a93732acb" name="Note2" type="Note"><subsheetid>33f4386b-f636-4d85-b88f-5012e04682cd</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>195</displayx><displayy>-90</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>208d9ae4-f887-4afc-a2bb-8a6d840bac18</onsuccess></stage><stage stageid="0a06289e-b4b0-4ab6-bd19-cfad640738f5" name="File Data" type="Collection"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="" /><field name="Field2" type="text" value="" /><field name="Field3" type="text" value="" /><field name="Field4" type="text" value="" /><field name="Field5" type="text" value="" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row><row><field name="Field1" type="text" value="" /><field name="Field2" type="text" value="" /><field name="Field3" type="text" value="" /><field name="Field4" type="text" value="" /><field name="Field5" type="text" value="" /></row><row><field name="Field1" type="text" value="" /><field name="Field2" type="text" value="" /><field name="Field3" type="text" value="" /><field name="Field4" type="text" value="" /><field name="Field5" type="text" value="" /></row></initialvalue></stage><stage stageid="3173d850-d92c-4e69-932b-5f191bba8ce5" name="Note2" type="Note"><subsheetid>fdc9f197-033f-4d47-b654-37b089ea6969</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>210</displayx><displayy>-90</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>76df1695-6f0d-4f86-8c0f-30facd21ac1e</onsuccess></stage><stage stageid="4da52ced-9f9d-46af-80d9-abb26f79cf06" name="Note2" type="Note"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative>** NB This page assumes the source collection has been filled from elsewhere.</narrative><displayx>210</displayx><displayy>-90</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>b0249df8-fb91-42db-adcb-b8de111bc0ad</onsuccess></stage><stage stageid="953e90de-6efe-4812-ae24-bf74533abf41" name="File Data" type="Collection"><subsheetid>4f6cd6e1-fdd8-4f40-a4b0-8e7553d7e8b4</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field1" type="text" /><field name="Field2" type="text" /><field name="Field3" type="text" /><field name="Field4" type="text" /><field name="Field5" type="text" /></collectioninfo><initialvalue><row><field name="Field1" type="text" value="a1" /><field name="Field2" type="text" value="b1" /><field name="Field3" type="text" value="c1" /><field name="Field4" type="text" value="d1" /><field name="Field5" type="text" value="e1" /></row><row><field name="Field1" type="text" value="a2" /><field name="Field2" type="text" value="b2" /><field name="Field3" type="text" value="c2" /><field name="Field4" type="text" value="d2" /><field name="Field5" type="text" value="e2" /></row><row><field name="Field1" type="text" value="a3" /><field name="Field2" type="text" value="b3" /><field name="Field3" type="text" value="c3" /><field name="Field4" type="text" value="d3" /><field name="Field5" type="text" value="e3" /></row></initialvalue></stage><stage stageid="42d7fa41-52c6-4c13-89dd-f1625abc571d" name="End" type="End"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>870</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="d70bef37-d1c9-4122-9ded-bf12aad1e790" name="Get Files" type="Action"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Folder" narrative="The folder in which to look for files" expr="[Input Folder]" /><input type="text" name="Patterns CSV" narrative="The comma seperated list of wildcard patterns" expr="[File Pattern]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="A message if unsuccessful" stage="Message" /><output type="collection" name="Files" narrative="The collection of files found" stage="Files" /></outputs><onsuccess>94ab3937-030a-45b8-bca1-041eb88028c4</onsuccess><resource object="Utility - File Management" action="Get Files" /></stage><stage stageid="a7e6db27-7367-4eb1-9fc2-8cb8e23ef85a" name="Success" type="Data"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bad82bd7-ff6e-4e97-92b0-19d096cb44f4" name="Message" type="Data"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="73d2ee98-1428-442e-bd90-1492551e9203" name="Files" type="Collection"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="7b94ebc6-9546-48d8-b39d-71b81890124f" name="Input Folder" type="Data"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp</initialvalue><private /><alwaysinit /></stage><stage stageid="9d7f4c73-29e6-42b8-8fc5-bdf57fe43d57" name="File Pattern" type="Data"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">*.csv</initialvalue><private /><alwaysinit /></stage><stage stageid="7136394b-d1ef-42ab-87b2-affb156c6120" name="Files" type="LoopStart"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>210</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>04b5eff3-e9c4-4c0a-b32a-a60e959e135a</onsuccess><groupid>3a857090-0462-469f-b3a4-c025b580ddcb</groupid><looptype>ForEach</looptype><loopdata>Files</loopdata></stage><stage stageid="4b015dfd-196c-47dc-98e9-b378f550aa74" name="Files" type="LoopEnd"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>705</displayy><displaywidth>210</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a16f3041-efcb-4291-8a55-7180bab3b399</onsuccess><groupid>3a857090-0462-469f-b3a4-c025b580ddcb</groupid></stage><stage stageid="94ab3937-030a-45b8-bca1-041eb88028c4" name="Success?" type="Decision"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>7136394b-d1ef-42ab-87b2-affb156c6120</ontrue><onfalse>30dfb691-5026-4a36-96fe-b5011c1254a6</onfalse></stage><stage stageid="30dfb691-5026-4a36-96fe-b5011c1254a6" name="System Exception" type="Exception"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>120</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="04b5eff3-e9c4-4c0a-b32a-a60e959e135a" name="Note4" type="Note"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative>Logic to read the file goes here, within the exception block.</narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>223978e7-9fad-4128-89df-ea41a3ee3abe</onsuccess></stage><stage stageid="6f4ee706-ea62-4406-8728-148b7a9b7eca" name="Move File" type="SubSheetInfo"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><narrative>This example is an attempt to mitigate against potential problems when moving a file. Although this page may at first seem convoluted, moving a file is not always as straight forward as it may seem.
For example, a large file may take some time to move. Similarly, if the destination folder contains many files the operating system (Windows) may take some time to check the folder does not already contain a file with the same name.</narrative><displayx>-195</displayx><displayy>-120</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="915e9aa9-3332-49b8-b4ec-ecf4785d9704" name="Recover" type="Recover"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><loginhibit /><narrative></narrative><displayx>210</displayx><displayy>345</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0f9704b6-5575-44a4-81c2-3d5c33a81917</onsuccess></stage><stage stageid="a9c7f842-098a-4365-98e5-8a559cec0f62" name="Archive Folder" type="Data"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>615</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp\Archive</initialvalue><private /><alwaysinit /></stage><stage stageid="37ef3964-3328-4896-89fe-89308e445621" name="Exception Folder" type="Data"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>645</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp\Exception</initialvalue><private /><alwaysinit /></stage><stage stageid="da30681c-df33-436e-93b6-d9753fc0e505" name="Start" type="Start"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" stage="File Name" /><input type="text" name="File Path" stage="File Path" /><input type="text" name="Destination Folder" stage="Destination Folder" /><input type="flag" name="Copy" stage="Copy" /><input type="flag" name="Rename When Destination Exists" stage="Rename When Destination Exists" /></inputs><onsuccess>736c188e-bbff-4adc-a326-eece206c3bfc</onsuccess></stage><stage stageid="e2690484-8c9d-4425-b2da-e08e89528ebc" name="End" type="End"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>705</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="7ac89fac-f059-484a-b61a-ec7dc1c92dec" name="File Path" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="11a82b8f-d192-4f2b-8257-cba5f760f022" name="Exists" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>150</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d050b030-159b-433c-80ec-19ff5db49193" name="Exists?" type="Decision"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Exists]" /><ontrue>449340c0-173d-4fb2-b8ea-fa8fa92e22f7</ontrue><onfalse>6c8dfc63-a741-403a-8035-d2588ed301f3</onfalse></stage><stage stageid="736c188e-bbff-4adc-a326-eece206c3bfc" name="Source Exists" type="Action"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" narrative="The name of the file to check" expr="[File Path]" /></inputs><outputs><output type="flag" name="Exists" narrative="True if the file exists" stage="Exists" /></outputs><onsuccess>d050b030-159b-433c-80ec-19ff5db49193</onsuccess><resource object="Utility - File Management" action="File Exists" /></stage><stage stageid="6c8dfc63-a741-403a-8035-d2588ed301f3" name="System Exception" type="Exception"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>120</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""File not found"" /></stage><stage stageid="723bed4d-2b52-49dc-b694-cc5481e27205" name="Exists?" type="Decision"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Exists]" /><ontrue>c36ea3e0-7738-46c9-8a97-6ff2d6626b4f</ontrue><onfalse>f0bee048-5bfa-4edf-ba33-30da5c58fd95</onfalse></stage><stage stageid="57f60874-d949-4c2c-b7f2-2999c5e11cd6" name="Destination Exists" type="Action"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" narrative="The name of the file to check" expr="[Destination Path]" /></inputs><outputs><output type="flag" name="Exists" narrative="True if the file exists" stage="Exists" /></outputs><onsuccess>723bed4d-2b52-49dc-b694-cc5481e27205</onsuccess><resource object="Utility - File Management" action="File Exists" /></stage><stage stageid="f0bee048-5bfa-4edf-ba33-30da5c58fd95" name="Copy" type="Action"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Path" narrative="The full path to the file to be copied" expr="[File Path]" /><input type="text" name="Destination Path" narrative="The path of the directory to copy the file to" expr="[Destination Path]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="An error message if unsuccessful" stage="Message" /></outputs><onsuccess>3c919cef-9ccf-4025-8390-14faa5cebffb</onsuccess><resource object="Utility - File Management" action="Copy File" /></stage><stage stageid="6b7d950f-920a-4650-8264-351c16ccd9b5" name="Destination Path" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3c919cef-9ccf-4025-8390-14faa5cebffb" name="Success?" type="Decision"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>390</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>05b3bdeb-fc84-4f01-8b6f-b113ff038ef9</ontrue><onfalse>16249db7-dabc-4cad-a4e7-0e56e3955f8a</onfalse></stage><stage stageid="76ce21ea-4797-432c-af10-eff30b9892b5" name="Success" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b8088a4b-80fc-4e7d-8954-eb867b3dde6a" name="Message" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>285</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="16249db7-dabc-4cad-a4e7-0e56e3955f8a" name="System Exception" type="Exception"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>120</displayx><displayy>390</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="2d6d5d5c-f218-40f7-944c-cf73cfe82020" name="Timestamp" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b0c30ab9-6368-46e8-804b-a67383fbc2f7" name="Destination Path" type="Calculation"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>120</displayx><displayy>315</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>f0bee048-5bfa-4edf-ba33-30da5c58fd95</onsuccess><calculation expression="Left([Destination Path], Len([Destination Path])-4)&[Timestamp]&Right([Destination Path], 4)" stage="Destination Path" /></stage><stage stageid="171e4c24-616a-4f6a-8427-d910a82eaea4" name="Exists?" type="Decision"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>540</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Exists]" /><ontrue>1221abce-498f-4b9c-9bfb-04fe1a599e50</ontrue><onfalse>49a85682-a0a0-4a73-9127-0e67235911f0</onfalse></stage><stage stageid="05b3bdeb-fc84-4f01-8b6f-b113ff038ef9" name="Destination Exists" type="Action"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>465</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" narrative="The name of the file to check" expr="[Destination Path]" /></inputs><outputs><output type="flag" name="Exists" narrative="True if the file exists" stage="Exists" /></outputs><onsuccess>171e4c24-616a-4f6a-8427-d910a82eaea4</onsuccess><resource object="Utility - File Management" action="File Exists" /></stage><stage stageid="ee7b53ad-5a60-46ed-bdeb-0f0e44b5ef14" name="System Exception" type="Exception"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>330</displayx><displayy>540</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""Failed to move file"" /></stage><stage stageid="ae0e9934-7725-4831-b273-81777c3af11f" name="Destination Folder" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="449340c0-173d-4fb2-b8ea-fa8fa92e22f7" name="Destination Path" type="Calculation"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>57f60874-d949-4c2c-b7f2-2999c5e11cd6</onsuccess><calculation expression="[Destination Folder]&"\"&[File Name]" stage="Destination Path" /></stage><stage stageid="95b7b6aa-d30c-49a6-b042-a17d3b576436" name="File Name" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6c97aabd-7e98-4092-a60e-bac7a2ae7870" name="Timestamp" type="Calculation"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>225</displayx><displayy>315</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b0c30ab9-6368-46e8-804b-a67383fbc2f7</onsuccess><calculation expression="FormatDateTime(Now(), "yyyyMMdd HHmmss")" stage="Timestamp" /></stage><stage stageid="ce931f17-6d42-4e20-b1b1-6f6e19911652" name="Delete Original" type="Action"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>120</displayx><displayy>630</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" narrative="The full path to the file to delete" expr="[File Path]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="An error message if unsuccessful" stage="Message" /></outputs><onsuccess>ff771aae-5aa6-4d28-896c-b1a5ccd407c1</onsuccess><resource object="Utility - File Management" action="Delete File" /></stage><stage stageid="ff771aae-5aa6-4d28-896c-b1a5ccd407c1" name="Success?" type="Decision"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>120</displayx><displayy>705</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>e2690484-8c9d-4425-b2da-e08e89528ebc</ontrue><onfalse>4c4278ad-d900-4a41-9f17-3135cca65cff</onfalse></stage><stage stageid="4c4278ad-d900-4a41-9f17-3135cca65cff" name="System Exception" type="Exception"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>225</displayx><displayy>705</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="2cd77b09-2266-42da-8662-b52e360dabb3" name="Wait" type="Action"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>120</displayx><displayy>465</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="number" name="Sleep Time (Seconds)" narrative="The time (in seconds) for which to sleep" expr="1" /></inputs><onsuccess>05b3bdeb-fc84-4f01-8b6f-b113ff038ef9</onsuccess><resource object="Utility - General" action="Sleep" /></stage><stage stageid="b8c21671-ceba-4d81-8281-3406034e683a" name="Wait?" type="Decision"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>225</displayx><displayy>540</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Wait]>0" /><ontrue>4466041a-6958-491b-9e97-60bec9e42f83</ontrue><onfalse>ee7b53ad-5a60-46ed-bdeb-0f0e44b5ef14</onfalse></stage><stage stageid="4466041a-6958-491b-9e97-60bec9e42f83" name="Count" type="Calculation"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>225</displayx><displayy>465</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2cd77b09-2266-42da-8662-b52e360dabb3</onsuccess><calculation expression="[Wait]-1" stage="Wait" /></stage><stage stageid="e0995ff5-cf9c-4566-8db7-be555fc8f72e" name="Wait" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>465</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>30</initialvalue><private /><alwaysinit /></stage><stage stageid="49a85682-a0a0-4a73-9127-0e67235911f0" name="Note3" type="Note"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative>File may be in transit</narrative><displayx>120</displayx><displayy>540</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b8c21671-ceba-4d81-8281-3406034e683a</onsuccess></stage><stage stageid="91f4cd51-5daf-4e9f-8fc8-260c2151cf58" name="Copy" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>False</initialvalue><private /><alwaysinit /></stage><stage stageid="1221abce-498f-4b9c-9bfb-04fe1a599e50" name="Copy?" type="Decision"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Copy]" /><ontrue>e2690484-8c9d-4425-b2da-e08e89528ebc</ontrue><onfalse>ce931f17-6d42-4e20-b1b1-6f6e19911652</onfalse></stage><stage stageid="ceb9bdf2-1873-412a-8576-191be1a4a5d6" name="Rename When Destination Exists" type="Data"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>105</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>True</initialvalue><private /><alwaysinit /></stage><stage stageid="c36ea3e0-7738-46c9-8a97-6ff2d6626b4f" name="Rename?" type="Decision"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>225</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Rename When Destination Exists]" /><ontrue>6c97aabd-7e98-4092-a60e-bac7a2ae7870</ontrue><onfalse>44ba00bd-417c-4b9e-9778-781873212c1f</onfalse></stage><stage stageid="44ba00bd-417c-4b9e-9778-781873212c1f" name="System Exception" type="Exception"><subsheetid>af416131-3116-4e14-9549-34607339061d</subsheetid><loginhibit /><narrative></narrative><displayx>330</displayx><displayy>240</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""Destination path already exists"" /></stage><stage stageid="a3049310-493e-4a28-86bc-927c6fb4c240" name="Move File to Archive Folder" type="SubSheet"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" expr="[Files.Name]" /><input type="text" name="File Path" expr="[Files.Path]" /><input type="text" name="Destination Folder" expr="[Archive Folder]" /><input type="flag" name="Copy" expr="False" /><input type="flag" name="Rename When Destination Exists" expr="True" /></inputs><onsuccess>4b015dfd-196c-47dc-98e9-b378f550aa74</onsuccess><processid>af416131-3116-4e14-9549-34607339061d</processid></stage><stage stageid="3130ba93-b105-4eb0-bfee-7ead873055ea" name="Move File to Exception Folder" type="SubSheet"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>210</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" expr="[Files.Name]" /><input type="text" name="File Path" expr="[Files.Path]" /><input type="text" name="Destination Folder" expr="[Exception Folder]" /><input type="flag" name="Copy" expr="False" /><input type="flag" name="Rename When Destination Exists" expr="True" /></inputs><onsuccess>4e9bbb09-6d63-4268-b449-14105d0d601e</onsuccess><processid>af416131-3116-4e14-9549-34607339061d</processid></stage><stage stageid="31d550b9-4fbe-48cc-b1e8-f74bc3069f2e" name="Block3" type="Block"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>150</displayy><displaywidth>330</displaywidth><displayheight>225</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="4e9bbb09-6d63-4268-b449-14105d0d601e" name="anchor4" type="Anchor"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>210</displayx><displayy>705</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4b015dfd-196c-47dc-98e9-b378f550aa74</onsuccess></stage><stage stageid="0f9704b6-5575-44a4-81c2-3d5c33a81917" name="Note5" type="Note"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><loginhibit /><narrative>An exception occurred reading the file, so move it to an exception folder so it is not read again. Make a note of the exception detail and keep going.</narrative><displayx>210</displayx><displayy>435</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>dfc9f4f8-a0dd-44aa-a016-1d0543c29b62</onsuccess></stage><stage stageid="51242e74-bef5-48b1-aedf-46c3a7dbcf1d" name="Note5" type="Note"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><loginhibit /><narrative>The file was read successfully, so move it to an archive folder so it is not read again.</narrative><displayx>15</displayx><displayy>435</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>a3049310-493e-4a28-86bc-927c6fb4c240</onsuccess></stage><stage stageid="09eb9314-dfcc-4eeb-b112-2e89cc482228" name="Read Files (advanced)" type="SubSheetInfo"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative>This example searches for files in a folder and then reads them one by one. If a file is read successfully it is moved to an archive folder, otherwise it is moved to an exception folder.
The key assumption here is that items added to the queue will only be worked if they have a certain tag, and the tag is only applied once the file has been moved to the archive folder.
In the event of an exception any new items that have not been tagged will be deleted.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b158465b-22bd-4771-a5ed-dd093ee4ef0c" name="Exception Detail" type="Data"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>510</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a16f3041-efcb-4291-8a55-7180bab3b399" name="Exception?" type="Decision"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>795</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Exception Detail]<>""" /><ontrue>831f8d82-0166-4c36-81e5-16a9d0e037fe</ontrue><onfalse>42d7fa41-52c6-4c13-89dd-f1625abc571d</onfalse></stage><stage stageid="5dc72943-6ad1-4550-b0b3-4dcdb0928461" name="Resume" type="Resume"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>210</displayx><displayy>555</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3130ba93-b105-4eb0-bfee-7ead873055ea</onsuccess></stage><stage stageid="dfc9f4f8-a0dd-44aa-a016-1d0543c29b62" name="Exception Detail" type="Calculation"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative></narrative><displayx>210</displayx><displayy>510</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5dc72943-6ad1-4550-b0b3-4dcdb0928461</onsuccess><calculation expression="ExceptionDetail()" stage="Exception Detail" /></stage><stage stageid="831f8d82-0166-4c36-81e5-16a9d0e037fe" name="Note5" type="Note"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><loginhibit /><narrative>There was an issue reading a file, so throw a new exception to signal the problem.</narrative><displayx>165</displayx><displayy>795</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>32ec5ccf-0430-4bac-8ec3-b27422cb59ae</onsuccess></stage><stage stageid="32ec5ccf-0430-4bac-8ec3-b27422cb59ae" name="System Exception" type="Exception"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><loginhibit /><narrative></narrative><displayx>300</displayx><displayy>795</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Exception Detail]" /></stage><stage stageid="701e80b6-b1b3-43e6-ab00-e3b3179dc1fc" name="Note5" type="Note"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative>Logic to add data to a work queue could go here. See other templates for examples of populating a queue.</narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>235a8d63-958a-4245-bc95-d5ee19fa5436</onsuccess></stage><stage stageid="bf70ad2c-aae2-4a29-9682-b9c1fb7fe3f2" name="Note4" type="Note"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative>Logic to add data to a work queue goes here. See other templates for examples of populating a queue.</narrative><displayx>15</displayx><displayy>300</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>2bb08a03-6e68-4f41-a32c-e3aec7fe8f0c</onsuccess></stage><stage stageid="dc20d397-f66e-4400-981d-f84b963c7223" name="Note2" type="Note"><subsheetid>8342a743-6109-4f11-b50f-210734aa2af7</subsheetid><narrative>** One technique to prevent the file being read again is to rename it in such a way that 'Get Files' will not pick it up again.</narrative><displayx>270</displayx><displayy>315</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>2bb08a03-6e68-4f41-a32c-e3aec7fe8f0c</onsuccess></stage><stage stageid="f9785335-0a5c-47b8-a5f1-59372b358e70" name="Read Files (with permission)" type="SubSheetInfo"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><narrative>In this example an environment lock is used to ensure that multiple machines do not try to read files at the same time.
The lock represents 'permission' to read files, and only one machine can ever have the lock at one time. Once the reading is complete, the lock is released to enable other machines to get permission. An exception block is used to enable the lock to be released in the event of a problem.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>270</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="35c97ebf-f9c7-42da-a4b8-eccf600dfa7b" name="Start" type="Start"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>739547e6-6168-46da-845c-f52c96db88c8</onsuccess></stage><stage stageid="ebfd4ea4-1440-4f37-84da-2407b5e6fedc" name="End" type="End"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><narrative></narrative><displayx>15</displayx><displayy>825</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="7ab87085-00c0-4dbc-bb5e-803a7f6c63ba" name="Recover" type="Recover"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>555</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>cdf2a266-e12e-4ccb-971e-fe922e05f92b</onsuccess></stage><stage stageid="29db7af1-f937-4989-84bd-4e2aca508525" name="Release Lock" type="Action"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>165</displayx><displayy>750</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>40b436da-b8b1-41fd-b915-ea0b90e0da6d</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="03b107d5-83f5-4753-afa9-a5971dbc91e9" name="Re-throw" type="Exception"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>825</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="afc477db-7ac1-4eb9-a99b-a6dd003a1203" name="Got Lock?" type="Decision"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>750</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Lock Token]<>""" /><ontrue>29db7af1-f937-4989-84bd-4e2aca508525</ontrue><onfalse>03b107d5-83f5-4753-afa9-a5971dbc91e9</onfalse></stage><stage stageid="40b436da-b8b1-41fd-b915-ea0b90e0da6d" name="anchor3" type="Anchor"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><narrative></narrative><displayx>165</displayx><displayy>825</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>03b107d5-83f5-4753-afa9-a5971dbc91e9</onsuccess></stage><stage stageid="cdf2a266-e12e-4ccb-971e-fe922e05f92b" name="Note5" type="Note"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative>An exception has occurred somewhere on this page, so check to see if the lock needs to be release before letting the exception go.</narrative><displayx>285</displayx><displayy>645</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>afc477db-7ac1-4eb9-a99b-a6dd003a1203</onsuccess></stage><stage stageid="739547e6-6168-46da-845c-f52c96db88c8" name="Get Lock" type="Action"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the required lock. Mandatory parameter." expr="[Lock Name]" /><input type="timespan" name="Timeout" narrative="The maximum amount of time to await the lock. Default is to wait forever" expr="[Lock Timeout]" /><input type="text" name="Preferred Token" narrative="The preferred token to use for the lock. Default behaviour is to generate a new unique token." expr="" /><input type="text" name="Comment" narrative="The comments to set on the lock" expr="" /></inputs><outputs><output type="text" name="Token" narrative="The token registered against the lock. This will be empty if the lock could not be acquired" stage="Lock Token" /></outputs><onsuccess>9c707e72-e502-4a09-af1e-ec43751210bc</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Acquire Lock" /></stage><stage stageid="9c707e72-e502-4a09-af1e-ec43751210bc" name="Got Lock?" type="Decision"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Lock Token]<>""" /><ontrue>5ddc2ff2-bcee-48ef-9456-583b09718209</ontrue><onfalse>eaed4c0a-3105-4bf1-9415-dfc32087a7e2</onfalse></stage><stage stageid="2f9b2cba-db7b-4788-8578-e5a9480560e4" name="Lock Name" type="Data"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Read Files</initialvalue><private /><alwaysinit /></stage><stage stageid="bda1ea75-3943-4c27-a021-56fec284dde6" name="Lock Token" type="Data"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="652dfa6b-87ae-4f53-ba51-6bfbebf13d74" name="Lock Timeout" type="Data"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>0.00:00:30</initialvalue><private /><alwaysinit /></stage><stage stageid="eaed4c0a-3105-4bf1-9415-dfc32087a7e2" name="Note5" type="Note"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative>The lock is held elsewhere, probably because another machine is reading files.</narrative><displayx>165</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>ba15a370-5215-4e62-a7d8-008945c48c90</onsuccess></stage><stage stageid="ba15a370-5215-4e62-a7d8-008945c48c90" name="End3" type="End"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><narrative></narrative><displayx>315</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="6ec0520c-a4cd-423e-b830-35599362a02a" name="Release Lock" type="Action"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>750</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>ebfd4ea4-1440-4f37-84da-2407b5e6fedc</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="5ddc2ff2-bcee-48ef-9456-583b09718209" name="Note5" type="Note"><subsheetid>86f7766e-af93-4e99-ad0c-496642868bfd</subsheetid><loginhibit /><narrative>Logic to read files goes here.</narrative><displayx>15</displayx><displayy>405</displayy><displaywidth>180</displaywidth><displayheight>630</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>6ec0520c-a4cd-423e-b830-35599362a02a</onsuccess></stage><stage stageid="a7de2745-45f8-47f2-96fe-5b42cf5a6200" name="Start" type="Start"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>77434acb-2774-410f-a780-5f16d839934a</onsuccess></stage><stage stageid="77434acb-2774-410f-a780-5f16d839934a" name="Get Files" type="Action"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Folder" narrative="The folder in which to look for files" expr="[Input Folder]" /><input type="text" name="Patterns CSV" narrative="The comma seperated list of wildcard patterns" expr="[File Pattern]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="A message if unsuccessful" stage="Message" /><output type="collection" name="Files" narrative="The collection of files found" stage="Files" /></outputs><onsuccess>7a42abd1-c5a0-4024-b529-134bd08e71b2</onsuccess><resource object="Utility - File Management" action="Get Files" /></stage><stage stageid="e9cfbb27-c576-43cc-aff8-916c2191f8a2" name="Success" type="Data"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>150</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="168e203a-5291-46c3-ac71-f8ac30233db2" name="Message" type="Data"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4b689751-f110-446f-a14f-ca16e6bf57f6" name="Files" type="Collection"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="11237dd3-5d10-4d7a-a55c-48025490901b" name="Input Folder" type="Data"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp</initialvalue><private /><alwaysinit /></stage><stage stageid="865ccd90-2a84-4ae8-a8e5-8d92ba728a89" name="File Pattern" type="Data"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">*.csv</initialvalue><private /><alwaysinit /></stage><stage stageid="38a901df-627f-4043-9edd-e18d14d59f8c" name="Files" type="LoopStart"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>210</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>611861b7-c7eb-4dee-8fdb-555ceee5e91a</onsuccess><groupid>bc74b64d-e257-4157-a65b-9dea3bbc69c6</groupid><looptype>ForEach</looptype><loopdata>Files</loopdata></stage><stage stageid="2bfc10d1-704d-4f0d-b420-1889d8acc28c" name="Files" type="LoopEnd"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1125</displayy><displaywidth>210</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>17b26d82-4323-4992-b3d4-e68e3acaf5cf</onsuccess><groupid>bc74b64d-e257-4157-a65b-9dea3bbc69c6</groupid></stage><stage stageid="7a42abd1-c5a0-4024-b529-134bd08e71b2" name="Success?" type="Decision"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>38a901df-627f-4043-9edd-e18d14d59f8c</ontrue><onfalse>7541e373-db1c-4602-a195-2667b5c25686</onfalse></stage><stage stageid="7541e373-db1c-4602-a195-2667b5c25686" name="System Exception" type="Exception"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>120</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="611861b7-c7eb-4dee-8fdb-555ceee5e91a" name="Note4" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative>Logic to read the file goes here, within the exception block.</narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>db7eef87-abb3-40f6-81b2-e4599144adbc</onsuccess></stage><stage stageid="db330ed0-d9ed-4ffa-91f1-69262715c5d5" name="Recover" type="Recover"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative></narrative><displayx>210</displayx><displayy>345</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2f4bb52f-4768-4824-bd5d-d69781fd9b42</onsuccess></stage><stage stageid="9cde676d-d7a1-4d5d-910c-a7bc6ccb3223" name="Archive Folder" type="Data"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>615</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp\Archive</initialvalue><private /><alwaysinit /></stage><stage stageid="0cdb4fee-1b35-4fd3-9ebc-2a6a5e672751" name="Exception Folder" type="Data"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>645</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp\Exception</initialvalue><private /><alwaysinit /></stage><stage stageid="7cb68133-6a19-421f-a20b-aa6ec5b56529" name="Move File to Archive Folder" type="SubSheet"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" expr="[Files.Name]" /><input type="text" name="File Path" expr="[Files.Path]" /><input type="text" name="Destination Folder" expr="[Archive Folder]" /><input type="flag" name="Copy" expr="False" /><input type="flag" name="Rename When Destination Exists" expr="True" /></inputs><onsuccess>f6479c96-aa58-4d14-9035-e1ab8cb4a54c</onsuccess><processid>af416131-3116-4e14-9549-34607339061d</processid></stage><stage stageid="a0b594f7-343e-47b9-b846-aca5f61fad4a" name="Move File to Exception Folder" type="SubSheet"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>210</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" expr="[Files.Name]" /><input type="text" name="File Path" expr="[Files.Path]" /><input type="text" name="Destination Folder" expr="[Exception Folder]" /><input type="flag" name="Copy" expr="False" /><input type="flag" name="Rename When Destination Exists" expr="True" /></inputs><onsuccess>53c731db-b8bb-4ff6-95cf-90ffd44590ca</onsuccess><processid>af416131-3116-4e14-9549-34607339061d</processid></stage><stage stageid="9de633f7-5bd2-452f-8f94-8532559a9dd6" name="Block3" type="Block"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>150</displayy><displaywidth>345</displaywidth><displayheight>225</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="a13aec52-f23d-4bf1-b9cb-af6c7caa5d6d" name="anchor4" type="Anchor"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>210</displayx><displayy>975</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e7206234-fe71-4b72-a0b9-5076321e0544</onsuccess></stage><stage stageid="2f4bb52f-4768-4824-bd5d-d69781fd9b42" name="Note5" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative>An exception occurred reading the file, so move it to an exception folder so it is not read again. Make a note of the exception detail and keep going.</narrative><displayx>210</displayx><displayy>435</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>6a62963f-b11e-4856-a9e6-aed79026b377</onsuccess></stage><stage stageid="de0e4edc-5189-41c9-85ba-18369064ac5f" name="Note5" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative>The file was read successfully, so move it to an archive folder so it is not read again.</narrative><displayx>15</displayx><displayy>435</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>7cb68133-6a19-421f-a20b-aa6ec5b56529</onsuccess></stage><stage stageid="8bbb706b-053f-4473-90fe-427329b32410" name="Exception Detail" type="Data"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>510</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="17b26d82-4323-4992-b3d4-e68e3acaf5cf" name="Exception?" type="Decision"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>1215</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Exception Detail]<>""" /><ontrue>d80447c3-cbe0-4432-b89f-2e7952882149</ontrue><onfalse>0633ba3d-c131-4196-9fea-067199319f93</onfalse></stage><stage stageid="63c393ae-82ab-42b0-8167-c0afa71392ff" name="Resume" type="Resume"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>210</displayx><displayy>555</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a0b594f7-343e-47b9-b846-aca5f61fad4a</onsuccess></stage><stage stageid="6a62963f-b11e-4856-a9e6-aed79026b377" name="Exception Detail" type="Calculation"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>210</displayx><displayy>510</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>63c393ae-82ab-42b0-8167-c0afa71392ff</onsuccess><calculation expression="ExceptionDetail()" stage="Exception Detail" /></stage><stage stageid="d80447c3-cbe0-4432-b89f-2e7952882149" name="Note5" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative>There was an issue reading a file, so throw a new exception to signal the problem.</narrative><displayx>165</displayx><displayy>1215</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>3d5538c2-3542-4be0-9032-cbf7c1bc9bea</onsuccess></stage><stage stageid="3d5538c2-3542-4be0-9032-cbf7c1bc9bea" name="System Exception" type="Exception"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative></narrative><displayx>300</displayx><displayy>1215</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Exception Detail]" /></stage><stage stageid="dfb6efbc-47a1-4195-9d54-abc9e6096278" name="New Item IDs" type="Collection"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>285</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="53c29cd1-0450-4e98-9121-e6882b85c6cc" name="New Item IDs" type="LoopStart"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>795</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>83e1b3c0-5286-4b6d-a2e9-ae969921707c</onsuccess><groupid>707836cb-0107-43b0-a30d-a060a10146fb</groupid><looptype>ForEach</looptype><loopdata>New Item IDs</loopdata></stage><stage stageid="935b4f45-e974-4aa2-8885-c2d11e8d813e" name="New Item IDs" type="LoopEnd"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>885</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e7206234-fe71-4b72-a0b9-5076321e0544</onsuccess><groupid>707836cb-0107-43b0-a30d-a060a10146fb</groupid></stage><stage stageid="83e1b3c0-5286-4b6d-a2e9-ae969921707c" name="Tag Item" type="Action"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>840</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[New Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr=""Ready"" /></inputs><onsuccess>935b4f45-e974-4aa2-8885-c2d11e8d813e</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="547e7bfc-0c3e-4cf5-8b72-fc0a935f8c4f" name="New Item IDs" type="LoopStart"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>210</displayx><displayy>795</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3165fe6e-63aa-4e25-8eb6-6008823db318</onsuccess><groupid>30108271-5b5b-4cd5-b976-410f00242a19</groupid><looptype>ForEach</looptype><loopdata>New Item IDs</loopdata></stage><stage stageid="48be2009-aad6-4433-8380-1762131048eb" name="New Item IDs" type="LoopEnd"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>210</displayx><displayy>885</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a13aec52-f23d-4bf1-b9cb-af6c7caa5d6d</onsuccess><groupid>30108271-5b5b-4cd5-b976-410f00242a19</groupid></stage><stage stageid="3165fe6e-63aa-4e25-8eb6-6008823db318" name="Delete Item" type="Action"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>210</displayx><displayy>840</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to delete. An error will be raised if this item does not exist, or is locked." expr="[New Item IDs.Item ID]" /></inputs><onsuccess>48be2009-aad6-4433-8380-1762131048eb</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Delete Item" /></stage><stage stageid="f6479c96-aa58-4d14-9035-e1ab8cb4a54c" name="Note6" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative>Once the file has been sucessfully moved, the new items are marked to indicate that they can be worked, in this example with the tag 'Ready'.</narrative><displayx>15</displayx><displayy>720</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>53c29cd1-0450-4e98-9121-e6882b85c6cc</onsuccess></stage><stage stageid="53c731db-b8bb-4ff6-95cf-90ffd44590ca" name="Note6" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative>In the event of a problem any new items are deemed invalid and can be deleted.</narrative><displayx>210</displayx><displayy>720</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>547e7bfc-0c3e-4cf5-8b72-fc0a935f8c4f</onsuccess></stage><stage stageid="71ed5eb4-4e53-4960-9285-32cb5040307b" name="Remove All Rows" type="Action"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1050</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item IDs"" /></inputs><onsuccess>2bfc10d1-704d-4f0d-b420-1889d8acc28c</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="223978e7-9fad-4128-89df-ea41a3ee3abe" name="Note4" type="Note"><subsheetid>41dde786-7d93-4f2f-9260-33cb30d468b6</subsheetid><narrative>Logic to add data to a work queue goes here, within the exception block.</narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>51242e74-bef5-48b1-aedf-46c3a7dbcf1d</onsuccess></stage><stage stageid="db7eef87-abb3-40f6-81b2-e4599144adbc" name="Note4" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative>Logic to add data to a work queue goes here, within the exception block.</narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>de0e4edc-5189-41c9-85ba-18369064ac5f</onsuccess></stage><stage stageid="606d3c7d-0392-42b7-bd53-408f937314d0" name="Note2" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative>** NB This page assumes the output from adding new work to a queue will be the 'New Item IDs' collection.</narrative><displayx>-375</displayx><displayy>360</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>db7eef87-abb3-40f6-81b2-e4599144adbc</onsuccess></stage><stage stageid="0633ba3d-c131-4196-9fea-067199319f93" name="Note6" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative>This example assumes that only items tagged as 'Ready' will be worked and that any item not tagged will be ignored (eg the 'Tag Filter' parameter will be used on the 'Get Next Item' action).</narrative><displayx>15</displayx><displayy>1320</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>dbda8e7d-2428-4d99-b45a-00cba5199302</onsuccess></stage><stage stageid="dbda8e7d-2428-4d99-b45a-00cba5199302" name="End4" type="End"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1410</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="9fe7d35e-4a33-4143-9f32-f878eda19c0a" name="New Item IDs" type="LoopStart"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>510</displayx><displayy>1260</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b6ce0e5f-e89f-4fda-950c-c93e83e96b1d</onsuccess><groupid>16d15a98-5076-409a-b026-c9f7f08271f7</groupid><looptype>ForEach</looptype><loopdata>New Item IDs</loopdata></stage><stage stageid="acc892f8-46a5-4808-ab5d-024570a87294" name="New Item IDs" type="LoopEnd"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>510</displayx><displayy>1350</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>685bcb40-312b-4188-af4f-e42468c43642</onsuccess><groupid>16d15a98-5076-409a-b026-c9f7f08271f7</groupid></stage><stage stageid="b6ce0e5f-e89f-4fda-950c-c93e83e96b1d" name="Delete Item" type="Action"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative></narrative><displayx>510</displayx><displayy>1305</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to delete. An error will be raised if this item does not exist, or is locked." expr="[New Item IDs.Item ID]" /></inputs><onsuccess>acc892f8-46a5-4808-ab5d-024570a87294</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Delete Item" /></stage><stage stageid="8c9f580f-d55a-4808-aeb2-725d52a35204" name="Recover" type="Recover"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative></narrative><displayx>510</displayx><displayy>1110</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>cf8611a2-5c76-40ce-bf51-d633d8a2f420</onsuccess></stage><stage stageid="cf8611a2-5c76-40ce-bf51-d633d8a2f420" name="Note5" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative>An exception has occurred somewhere on this page. In the unlikely event that there are new items yet to be tagged, delete them before letting the exception go.</narrative><displayx>510</displayx><displayy>1185</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>9fe7d35e-4a33-4143-9f32-f878eda19c0a</onsuccess></stage><stage stageid="685bcb40-312b-4188-af4f-e42468c43642" name="Re-throw" type="Exception"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><loginhibit /><narrative></narrative><displayx>510</displayx><displayy>1410</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="e7206234-fe71-4b72-a0b9-5076321e0544" name="Note6" type="Note"><subsheetid>8e1d0d46-3a1b-4c0e-957b-a19357d70246</subsheetid><narrative>Reset the 'New Item IDs' collection once it has been dealt with.</narrative><displayx>15</displayx><displayy>975</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>71ed5eb4-4e53-4960-9285-32cb5040307b</onsuccess></stage><stage stageid="6114d52c-d418-444c-98cd-e95d38546d7b" name="Note1" type="Note"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative>** Copy and paste the text below into Notepad to create an example CSV file</narrative><displayx>-405</displayx><displayy>0</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="FF00FF" /></stage><stage stageid="6c32b196-8b7f-4880-9bc0-27a02c4f5c1a" name="Note2" type="Note"><subsheetid>fb5551e4-348d-437d-a4a0-648950b51223</subsheetid><narrative>ACC_NO,NAME1,NAME2,STAFF,JOINED
1001,Dagless,Rick,TRUE,21/01/2001
2002,Reed,Thornton,FALSE,22/02/2002
3003,Sanchez,Lucien,FALSE,23/03/2003
4004,Asher,Liz,TRUE,24/04/2004</narrative><displayx>-405</displayx><displayy>105</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="FF00FF" /></stage><stage stageid="1f9543c7-5e01-4257-a6c2-90cab117a8bf" name="Maintain Folder" type="SubSheetInfo"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative>In this example a folder is cleaned of old files. All the sub-folders are found first, then the 'created' date of all the files are checked against a date threshold value. If all the files in a sub-folder are deleted the subfolder is deleted too.
This sort of logic could be used to keep a archive folder from growing too big.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>240</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b0d22306-ed29-4c1d-8111-abb6fdf6e746" name="Start" type="Start"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e9aa118c-5b27-4950-8d99-4b9a5739dc03</onsuccess></stage><stage stageid="72817685-fd83-4f7b-a3f4-ba9380af0176" name="Success" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>420</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5c27f598-c9cc-4545-94d1-e6f14aa29c4c" name="Message" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>450</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="82bda68f-5b42-4fad-87b0-bd338bca33bc" name="Files" type="Collection"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>825</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="babf2132-e81d-42b9-9e7d-ddfcbb4c7be5" name="File Pattern" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">*.*</initialvalue><private /><alwaysinit /></stage><stage stageid="02a7ffce-b9be-4ac1-bf60-634cd4286f88" name="Date Threshold" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><loginhibit /><narrative></narrative><displayx>825</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="16682bd0-46f4-4e4d-9cac-f81a4da57f59" name="Folder Lifespan" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>180.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="e399a993-9393-46a0-a5ef-92af7bdeb92a" name="Year Zero" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><loginhibit /><narrative>Used as a date baseline.</narrative><displayx>825</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue>1900-01-01 00:00:00Z</initialvalue><private /><alwaysinit /></stage><stage stageid="c5797170-ee17-46db-977b-8929008f7bf7" name="Old File?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Files.Created]<[Date Threshold]" /><ontrue>202f1cb9-54b7-4e83-8ea1-57075e0cc6f8</ontrue><onfalse>6a7f65ee-a18c-4f0a-b9e8-3d34190b8aa8</onfalse></stage><stage stageid="9416d4c4-770d-4e31-8640-c4662fbcc336" name="Temp Folders" type="Collection"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>375</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="a898014f-45fa-43d0-bd9d-5394486727a9" name="Get Folders" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>360</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Folder" narrative="The folder in which to look for sub-folders" expr="[Folder Paths.Path]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="An error message if unsuccessful" stage="Message" /><output type="collection" name="Folders" narrative="A collection of the sub-folders found within the folder" stage="Temp Folders" /></outputs><onsuccess>8a328e1a-a087-4236-80b7-a8e91a39d73f</onsuccess><resource object="Utility - File Management" action="Get Folders" /></stage><stage stageid="a9bd1fab-1936-4628-9dcc-736b21034084" name="Folder Path" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>0</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp</initialvalue><private /><alwaysinit /></stage><stage stageid="e867dd15-51c9-452a-b424-6057c76dae59" name="Folder Paths" type="Collection"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Path" type="text" /><field name="Level" type="number" /></collectioninfo></stage><stage stageid="85f864ff-1a40-4470-84ef-b9a835963bd6" name="Temp Folders" type="LoopStart"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>495</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0622bbb2-73ef-43a2-9197-0b1469808b50</onsuccess><groupid>8ac719b2-75b6-4e9a-a1b5-882deac43213</groupid><looptype>ForEach</looptype><loopdata>Temp Folders</loopdata></stage><stage stageid="6ad56d40-28da-4895-8298-ac400c23a5de" name="Temp Folders" type="LoopEnd"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>660</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>84bd287f-4fd0-4eed-a07c-dfa751b7e3aa</onsuccess><groupid>8ac719b2-75b6-4e9a-a1b5-882deac43213</groupid></stage><stage stageid="0622bbb2-73ef-43a2-9197-0b1469808b50" name="Add Row" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>540</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""Sub Folder Paths"" /></inputs><onsuccess>1d99b773-fa19-4991-9d6d-37b62fb84c64</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="716e6184-efb7-45b3-b672-801969fc8997" name="Folder Paths" type="LoopStart"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e0363b1f-007f-4432-89fe-c075f87d7878</onsuccess><groupid>bc58b403-4e2a-4ede-8fce-60ff67da6ede</groupid><looptype>ForEach</looptype><loopdata>Folder Paths</loopdata></stage><stage stageid="84bd287f-4fd0-4eed-a07c-dfa751b7e3aa" name="Folder Paths" type="LoopEnd"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>720</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>897cb8d6-5723-4f5d-a297-a88da80b084c</onsuccess><groupid>bc58b403-4e2a-4ede-8fce-60ff67da6ede</groupid></stage><stage stageid="76a7a1f0-1fa7-41a9-929b-3dc089ed47ad" name="Add Row" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""Folder Paths"" /></inputs><onsuccess>a3729e6d-3445-4d94-a3cd-45761a30f51d</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="a3729e6d-3445-4d94-a3cd-45761a30f51d" name="Folder Path" type="MultipleCalculation"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>716e6184-efb7-45b3-b672-801969fc8997</onsuccess><steps><calculation expression="[Folder Path]" stage="Folder Paths.Path" /><calculation expression="[Level]" stage="Folder Paths.Level" /></steps></stage><stage stageid="1d99b773-fa19-4991-9d6d-37b62fb84c64" name="Temp Folder Path" type="MultipleCalculation"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>600</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>6ad56d40-28da-4895-8298-ac400c23a5de</onsuccess><steps><calculation expression="[Temp Folders.Path]" stage="Sub Folder Paths.Path" /><calculation expression="[Level]+1" stage="Sub Folder Paths.Level" /><calculation expression="True" stage="Sub Folders Found" /></steps></stage><stage stageid="e0363b1f-007f-4432-89fe-c075f87d7878" name="Level?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>285</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Folder Paths.Level]=[Level]" /><ontrue>a898014f-45fa-43d0-bd9d-5394486727a9</ontrue><onfalse>62d1d65c-995e-41c1-841e-f9df75a3fede</onfalse></stage><stage stageid="2b62bb27-df0a-4a2f-bb8b-733d8157a509" name="Level" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>645</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>1</initialvalue><private /><alwaysinit /></stage><stage stageid="62d1d65c-995e-41c1-841e-f9df75a3fede" name="anchor6" type="Anchor"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>285</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>229a7597-98b3-4d5b-8326-0327e1a8c53e</onsuccess></stage><stage stageid="229a7597-98b3-4d5b-8326-0327e1a8c53e" name="anchor7" type="Anchor"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>720</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>84bd287f-4fd0-4eed-a07c-dfa751b7e3aa</onsuccess></stage><stage stageid="fef5cb45-6a19-4c64-a1a1-843259737613" name="anchor15" type="Anchor"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>195</displayx><displayy>210</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>716e6184-efb7-45b3-b672-801969fc8997</onsuccess></stage><stage stageid="145cd156-1700-46ef-9e00-7ac99d3d2a1b" name="Sub Folder Paths" type="Collection"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>525</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Path" type="text" /><field name="Level" type="number" /></collectioninfo></stage><stage stageid="80c5d354-1aa9-4ebe-a657-78c54d82e84e" name="Reset Sub Folder Paths" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>195</displayx><displayy>585</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""Sub Folder Paths"" /></inputs><onsuccess>4e88ed69-1bb5-44f5-868a-eae9efdc19bc</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Remove All Rows" /></stage><stage stageid="152f01d9-ae75-4e81-b6b2-185ae7ef20d8" name="Sub Folders Found" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>615</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>False</initialvalue><private /><alwaysinit /></stage><stage stageid="4e88ed69-1bb5-44f5-868a-eae9efdc19bc" name="Next Level" type="MultipleCalculation"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>195</displayx><displayy>525</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fef5cb45-6a19-4c64-a1a1-843259737613</onsuccess><steps><calculation expression="[Level]+1" stage="Level" /><calculation expression="False" stage="Sub Folders Found" /></steps></stage><stage stageid="897cb8d6-5723-4f5d-a297-a88da80b084c" name="Sub Folders Found?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>195</displayx><displayy>720</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Sub Folders Found]" /><ontrue>81191eaf-b55f-478d-99c2-68ee1a27006f</ontrue><onfalse>2d151946-3bce-4013-8617-8d74a6a1c865</onfalse></stage><stage stageid="a4b0df7a-6004-41d8-bd9e-b7fa22d90f68" name="Folder Paths" type="LoopStart"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>45</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9b53e9e6-7aa1-435e-997e-8d9032c8dc4e</onsuccess><groupid>ba2ad8d7-616e-4ff5-8aa7-f644393897d1</groupid><looptype>ForEach</looptype><loopdata>Folder Paths</loopdata></stage><stage stageid="dcbbae05-ee29-41bd-8b8c-2c1a435624c6" name="Folder Paths" type="LoopEnd"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>945</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a01cffb1-36a5-436c-8a1e-4cc0fda5b0f7</onsuccess><groupid>ba2ad8d7-616e-4ff5-8aa7-f644393897d1</groupid></stage><stage stageid="9b53e9e6-7aa1-435e-997e-8d9032c8dc4e" name="Get Files" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>105</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Folder" narrative="The folder in which to look for files" expr="[Folder Paths.Path]" /><input type="text" name="Patterns CSV" narrative="The comma seperated list of wildcard patterns" expr="[File Pattern]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="A message if unsuccessful" stage="Message" /><output type="collection" name="Files" narrative="The collection of files found" stage="Files" /></outputs><onsuccess>c6cb00d6-2564-4c28-ab3a-29d16088c8d9</onsuccess><resource object="Utility - File Management" action="Get Files" /></stage><stage stageid="f27cd0d0-07b2-4dee-95e9-69f23bb78669" name="Date Threshold" type="Calculation"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><loginhibit /><narrative></narrative><displayx>570</displayx><displayy>-15</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a4b0df7a-6004-41d8-bd9e-b7fa22d90f68</onsuccess><calculation expression="Now()-[Folder Lifespan]" stage="Date Threshold" /></stage><stage stageid="c6cb00d6-2564-4c28-ab3a-29d16088c8d9" name="Success?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>180</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>c49c7b7a-44d6-4ccb-9e89-da68ab0aa047</ontrue><onfalse>6ae95977-07a2-4e6e-b038-e725a841bdcf</onfalse></stage><stage stageid="6ae95977-07a2-4e6e-b038-e725a841bdcf" name="System Exception" type="Exception"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>675</displayx><displayy>180</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="8a328e1a-a087-4236-80b7-a8e91a39d73f" name="Success?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>15</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>85f864ff-1a40-4470-84ef-b9a835963bd6</ontrue><onfalse>d05c0e8e-eaa0-4921-a942-621ae5c716e1</onfalse></stage><stage stageid="d05c0e8e-eaa0-4921-a942-621ae5c716e1" name="System Exception" type="Exception"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>120</displayx><displayy>420</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="8ee236d2-fd2d-47da-910c-ff92e7a382fb" name="Success?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>570</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>5e197063-7a68-4bed-863f-37e39358b38a</ontrue><onfalse>52fbe5ef-d658-4f87-9f2e-ac0e915af66d</onfalse></stage><stage stageid="52fbe5ef-d658-4f87-9f2e-ac0e915af66d" name="System Exception" type="Exception"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>675</displayx><displayy>570</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="5583c5f2-9317-4e3e-a778-dce48214cb45" name="anchor14" type="Anchor"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>450</displayx><displayy>645</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5e197063-7a68-4bed-863f-37e39358b38a</onsuccess></stage><stage stageid="a01cffb1-36a5-436c-8a1e-4cc0fda5b0f7" name="End6" type="End"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>1005</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="55effe7e-82ff-481c-b03b-840a9a089e4a" name="Files" type="LoopStart"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>345</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c5797170-ee17-46db-977b-8929008f7bf7</onsuccess><groupid>399f50f9-d5a2-4095-bba4-ac1a6d778122</groupid><looptype>ForEach</looptype><loopdata>Files</loopdata></stage><stage stageid="5e197063-7a68-4bed-863f-37e39358b38a" name="Files" type="LoopEnd"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>645</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4c5ac6c9-262b-4a1c-8052-478867a78290</onsuccess><groupid>399f50f9-d5a2-4095-bba4-ac1a6d778122</groupid></stage><stage stageid="6a7f65ee-a18c-4f0a-b9e8-3d34190b8aa8" name="Folder Not Empty" type="Calculation"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>450</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5583c5f2-9317-4e3e-a778-dce48214cb45</onsuccess><calculation expression="False" stage="Folder Empty" /></stage><stage stageid="78b4f69d-0cd8-4b3d-8a30-258ba7e9b5a3" name="Folder Empty" type="Data"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>825</displayx><displayy>420</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue>True</initialvalue><private /><alwaysinit /></stage><stage stageid="4c5ac6c9-262b-4a1c-8052-478867a78290" name="Empty Sub Folder?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>720</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Folder Empty] AND [Folder Paths.Level]>1" /><ontrue>a1d754f5-f31d-4a55-916f-7a231954ffd4</ontrue><onfalse>23fe0b02-1d89-45c3-a76d-40232add9863</onfalse></stage><stage stageid="3ca5c226-d10d-4fc1-bb4d-a57fa5f86ec9" name="Assume Folder Empty" type="Calculation"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>690</displayx><displayy>270</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>55effe7e-82ff-481c-b03b-840a9a089e4a</onsuccess><calculation expression="True" stage="Folder Empty" /></stage><stage stageid="c49c7b7a-44d6-4ccb-9e89-da68ab0aa047" name="Got All Files?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>270</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[File Pattern]="*.*"" /><ontrue>3ca5c226-d10d-4fc1-bb4d-a57fa5f86ec9</ontrue><onfalse>75a01270-034d-4c67-92d5-d60af942e2ca</onfalse></stage><stage stageid="75a01270-034d-4c67-92d5-d60af942e2ca" name="Assume Folder Not Empty" type="Calculation"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>450</displayx><displayy>270</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>55effe7e-82ff-481c-b03b-840a9a089e4a</onsuccess><calculation expression="False" stage="Folder Empty" /></stage><stage stageid="23fe0b02-1d89-45c3-a76d-40232add9863" name="anchor17" type="Anchor"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>450</displayx><displayy>720</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5c7a51b1-a696-45ee-ab10-807ab9a8f8e1</onsuccess></stage><stage stageid="5c7a51b1-a696-45ee-ab10-807ab9a8f8e1" name="anchor18" type="Anchor"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>450</displayx><displayy>945</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>dcbbae05-ee29-41bd-8b8c-2c1a435624c6</onsuccess></stage><stage stageid="664a56de-d10d-4db8-9b90-72e8ef9a4474" name="Success?" type="Decision"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>870</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Success]" /><ontrue>dcbbae05-ee29-41bd-8b8c-2c1a435624c6</ontrue><onfalse>ab559ce6-0b74-403b-9c27-9dda124f32da</onfalse></stage><stage stageid="ab559ce6-0b74-403b-9c27-9dda124f32da" name="System Exception" type="Exception"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>675</displayx><displayy>870</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail="[Message]" /></stage><stage stageid="a1d754f5-f31d-4a55-916f-7a231954ffd4" name="Delete Folder" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>795</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Directory Path" narrative="The path of the directory to delete" expr="[Folder Paths.Path]" /><input type="flag" name="Error If Not Exists" narrative="Set True to raise an error if the path does not exist" expr="False" /><input type="flag" name="Recursive" narrative="Set True to delete all sub-directories of the path aswell" expr="False" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="An error message if unsuccessful" stage="Message" /></outputs><onsuccess>664a56de-d10d-4db8-9b90-72e8ef9a4474</onsuccess><breakpoint type="0"><condition></condition></breakpoint><resource object="Utility - File Management" action="Delete Directory" /></stage><stage stageid="202f1cb9-54b7-4e83-8ea1-57075e0cc6f8" name="Delete File" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>570</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="File Name" narrative="The full path to the file to delete" expr="[Files.Path]" /></inputs><outputs><output type="flag" name="Success" narrative="True if successful" stage="Success" /><output type="text" name="Message" narrative="An error message if unsuccessful" stage="Message" /></outputs><onsuccess>8ee236d2-fd2d-47da-910c-ff92e7a382fb</onsuccess><breakpoint type="0"><condition></condition></breakpoint><resource object="Utility - File Management" action="Delete File" /></stage><stage stageid="81191eaf-b55f-478d-99c2-68ee1a27006f" name="Append Sub Folder Paths" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>195</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Main Collection" narrative="The collection to append to." expr="[Folder Paths]" /><input type="collection" name="Collection to Append" narrative="The collection to append." expr="[Sub Folder Paths]" /></inputs><outputs><output type="collection" name="Combined Collection" narrative="The combined collection." stage="Folder Paths" /></outputs><onsuccess>80c5d354-1aa9-4ebe-a657-78c54d82e84e</onsuccess><resource object="Utility - Collection Manipulation" action="Append Rows to Collection" /></stage><stage stageid="2d151946-3bce-4013-8617-8d74a6a1c865" name="Reverse Folder Paths Collection" type="Action"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative></narrative><displayx>315</displayx><displayy>720</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection" narrative="The collection to be reversed." expr="[Folder Paths]" /></inputs><outputs><output type="collection" name="Reversed Collection" narrative="The reversed collection." stage="Folder Paths" /></outputs><onsuccess>bc1115fc-f909-4f99-8175-f26b0266ef16</onsuccess><resource object="Utility - Collection Manipulation" action="Reverse Collection" /></stage><stage stageid="e9aa118c-5b27-4950-8d99-4b9a5739dc03" name="Note5" type="Note"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><loginhibit /><narrative>Find the paths of all the sub folders</narrative><displayx>15</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>76a7a1f0-1fa7-41a9-929b-3dc089ed47ad</onsuccess></stage><stage stageid="bc1115fc-f909-4f99-8175-f26b0266ef16" name="Note5" type="Note"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><loginhibit /><narrative>Work up from the lowest sub folder looking for old files.</narrative><displayx>315</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>f27cd0d0-07b2-4dee-95e9-69f23bb78669</onsuccess></stage><stage stageid="505163b0-0383-482a-87db-844dbf4de2a1" name="Note2" type="Note"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative>** NB This collection of paths is reversed so that the lowest level sub-folders are looked at first.</narrative><displayx>240</displayx><displayy>870</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>2d151946-3bce-4013-8617-8d74a6a1c865</onsuccess></stage><stage stageid="30dcbb80-b85e-4f76-824f-a94bd951c5fa" name="Note2" type="Note"><subsheetid>ee910a61-0a3a-40c0-b9a7-7c9c7b9f9ff6</subsheetid><narrative>** NB Sub-folders are only deleted if they are empty</narrative><displayx>780</displayx><displayy>690</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>4c5ac6c9-262b-4a1c-8052-478867a78290</onsuccess></stage><stage stageid="2f56d0b3-acaf-4283-bf84-a3e721a4c730" name="Read XML File" type="SubSheetInfo"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a199a119-2f15-4cbd-b1c5-a95435a9a8cb" name="Start" type="Start"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>20190540-cb52-44cf-aa3c-7eba50d8c705</onsuccess></stage><stage stageid="806576d2-3c28-4fb8-9036-4bb1cd7f6e74" name="End" type="End"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>975</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="20190540-cb52-44cf-aa3c-7eba50d8c705" name="Read File" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Path" expr="[File Path]" /></inputs><outputs><output type="text" name="XML" stage="XML" /></outputs><onsuccess>49c6cf8d-db28-49e8-8060-80377bb6d6f2</onsuccess><resource object="Utility - XML" action="Read File" /></stage><stage stageid="7f72ace6-b68f-4a11-9063-17c8a7d428fc" name="File Path" type="Data"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">C:\Temp\My File.xml</initialvalue><private /><alwaysinit /></stage><stage stageid="4e6dc990-5349-48e5-a89e-46026b0ac7ec" name="XML" type="Data"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="60322ceb-b4bf-44ce-86e8-93554d6c094b" name="Read Clinician" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>75</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Path" expr=""NHS/HomeVisit/Clinician"" /><input type="text" name="XML" expr="[XML]" /></inputs><outputs><output type="collection" name="Elements" stage="Clinician" /></outputs><onsuccess>465c18b2-5c3a-4d09-a5d7-eb68e9fa3c8c</onsuccess><resource object="Utility - XML" action="Get Elements By XPath" /></stage><stage stageid="20e37b04-8c3d-42f1-a92e-092a791f7447" name="Clinician" type="Collection"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Name" type="text" /><field name="Value" type="text" /><field name="Inner XML" type="text" /><field name="Outer XML" type="text" /></collectioninfo></stage><stage stageid="9dd16be7-d656-46e4-ad9d-5026c514bab8" name="Contacts" type="LoopStart"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>360</displayy><displaywidth>180</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>6d33e70d-9c10-45fc-9159-af6115d80132</onsuccess><groupid>93ba754f-f84c-49c3-83aa-df42faa5d1ac</groupid><looptype>ForEach</looptype><loopdata>Contacts</loopdata></stage><stage stageid="33a67993-41f6-4e2a-8612-3adabe9ade4f" name="Contacts" type="LoopEnd"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>915</displayy><displaywidth>180</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>806576d2-3c28-4fb8-9036-4bb1cd7f6e74</onsuccess><groupid>93ba754f-f84c-49c3-83aa-df42faa5d1ac</groupid></stage><stage stageid="532363d7-9cb7-49cb-b654-8babcd7dda98" name="Read Contacts" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Path" expr=""NHS/HomeVisit/Contacts"" /><input type="text" name="XML" expr="[XML]" /></inputs><outputs><output type="collection" name="Elements" stage="Contacts" /></outputs><onsuccess>9dd16be7-d656-46e4-ad9d-5026c514bab8</onsuccess><resource object="Utility - XML" action="Get Elements By XPath" /></stage><stage stageid="12f02119-2898-4d40-babf-e67f1541c1ce" name="Contacts" type="Collection"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>330</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="411ba981-e26f-4e07-9dd6-33d6a7468fbb" name="Contact" type="Collection"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>510</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="6d33e70d-9c10-45fc-9159-af6115d80132" name="Index" type="Calculation"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>405</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4e9dd78d-96ab-4afb-9bb6-7a5dd37c6899</onsuccess><calculation expression="1+[Index]" stage="Index" /></stage><stage stageid="34f4e860-9900-4ee0-89eb-aa0e1fffe50f" name="Index" type="Data"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>405</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue>0</initialvalue><private /><alwaysinit /></stage><stage stageid="b4ba99c8-2df2-4e90-8ebf-db7c005d9a51" name="Append Field" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection" narrative="The collection to append a field to." expr="[New Item Clinician]" /><input type="text" name="Field Name" narrative="The name of the new field." expr="[Clinician.Name]" /><input type="text" name="Value" narrative="The value to be put in the new field." expr="[Clinician.Value]" /></inputs><outputs><output type="collection" name="Appended Collection" narrative="The collection with field appended." stage="New Item Clinician" /></outputs><onsuccess>2f2fedff-5a93-4fff-bdef-f72cf1f596e0</onsuccess><resource object="Utility - Collection Manipulation" action="Append Field (Text)" /></stage><stage stageid="e3c2090f-d8ef-4f58-9074-6b50859b1a7a" name="New Item Clinician" type="Collection"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="465c18b2-5c3a-4d09-a5d7-eb68e9fa3c8c" name="Clinician" type="LoopStart"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>120</displayy><displaywidth>180</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>b4ba99c8-2df2-4e90-8ebf-db7c005d9a51</onsuccess><groupid>e5a04fa6-733e-4d6b-98a4-9bc203332120</groupid><looptype>ForEach</looptype><loopdata>Clinician</loopdata></stage><stage stageid="2f2fedff-5a93-4fff-bdef-f72cf1f596e0" name="Clinician" type="LoopEnd"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>180</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>532363d7-9cb7-49cb-b654-8babcd7dda98</onsuccess><groupid>e5a04fa6-733e-4d6b-98a4-9bc203332120</groupid></stage><stage stageid="6b32c2c8-e47b-453b-8d96-971b034d42b2" name="Contact" type="LoopStart"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>540</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>71e58d45-dd28-4e55-acfd-cffed03edc6c</onsuccess><groupid>d101d510-f12d-43ec-975b-8b517617ea2d</groupid><looptype>ForEach</looptype><loopdata>Contact</loopdata></stage><stage stageid="c2a4cf57-b97e-4072-b846-00a4fec8a3b8" name="Contact" type="LoopEnd"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3fafc65b-20a3-4527-b9cd-b29d5112f5e7</onsuccess><groupid>d101d510-f12d-43ec-975b-8b517617ea2d</groupid></stage><stage stageid="71e58d45-dd28-4e55-acfd-cffed03edc6c" name="Append Field" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>585</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection" narrative="The collection to append a field to." expr="[New Item Contact]" /><input type="text" name="Field Name" narrative="The name of the new field." expr="[Contact.Name]" /><input type="text" name="Value" narrative="The value to be put in the new field." expr="[Contact.Value]" /></inputs><outputs><output type="collection" name="Appended Collection" narrative="The collection with field appended." stage="New Item Contact" /></outputs><onsuccess>c2a4cf57-b97e-4072-b846-00a4fec8a3b8</onsuccess><resource object="Utility - Collection Manipulation" action="Append Field (Text)" /></stage><stage stageid="7a3336b0-86cd-43a2-a97c-122b989c4e42" name="New Item Contact" type="Collection"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>600</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="3fafc65b-20a3-4527-b9cd-b29d5112f5e7" name="Merge Collections" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>690</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection 1" narrative="The first collection to be merged." expr="[New Item Clinician]" /><input type="collection" name="Collection 2" narrative="The second collection to be merged." expr="[New Item Contact]" /></inputs><outputs><output type="collection" name="Collection 3" narrative="The resulting merged collection." stage="New Item Data" /></outputs><onsuccess>7d28add6-d348-4264-9bcf-b87dfe551d0f</onsuccess><resource object="Utility - Collection Manipulation" action="Merge Collection" /></stage><stage stageid="acd20dce-f95b-45dd-82d0-ebfebf1f79fc" name="New Item Data" type="Collection"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>750</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="4e9dd78d-96ab-4afb-9bb6-7a5dd37c6899" name="Add Row" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>450</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Contact"" /></inputs><onsuccess>594230d7-113c-4621-a944-5cdeec261100</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="49c6cf8d-db28-49e8-8060-80377bb6d6f2" name="Add Row" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Collection Name" narrative="The name of the collection to be modified" expr=""New Item Clinician"" /></inputs><onsuccess>60322ceb-b4bf-44ce-86e8-93554d6c094b</onsuccess><resource object="Blueprism.AutomateProcessCore.clsCollectionActions" action="Add Row" /></stage><stage stageid="594230d7-113c-4621-a944-5cdeec261100" name="Read Contact" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>495</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Path" expr=""NHS/HomeVisit/Contacts/Contact["&[Index]&"]"" /><input type="text" name="XML" expr="[XML]" /></inputs><outputs><output type="collection" name="Elements" stage="Contact" /></outputs><onsuccess>6b32c2c8-e47b-453b-8d96-971b034d42b2</onsuccess><resource object="Utility - XML" action="Get Elements By XPath" /></stage><stage stageid="7d28add6-d348-4264-9bcf-b87dfe551d0f" name="Append Item Key" type="Action"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative></narrative><displayx>15</displayx><displayy>735</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="collection" name="Collection" narrative="The collection to append a field to." expr="[New Item Data]" /><input type="text" name="Field Name" narrative="The name of the new field." expr=""Item Key"" /><input type="text" name="Value" narrative="The value to be put in the new field." expr="[New Item Clinician.ClinicianID]&" "&[New Item Clinician.VisitDate]&" "&[New Item Contact.PatientID]" /></inputs><outputs><output type="collection" name="Appended Collection" narrative="The collection with field appended." stage="New Item Data" /></outputs><onsuccess>046dc213-7c52-432b-bef7-c0571f998c38</onsuccess><resource object="Utility - Collection Manipulation" action="Append Field (Text)" /></stage><stage stageid="046dc213-7c52-432b-bef7-c0571f998c38" name="Note5" type="Note"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative>Logic to add data to a work queue could go here. See other templates for examples of populating a queue.</narrative><displayx>15</displayx><displayy>825</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>33a67993-41f6-4e2a-8612-3adabe9ade4f</onsuccess></stage><stage stageid="6208a8b9-098d-441f-9dc5-0b28a6c8fdab" name="Note1" type="Note"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative>** Copy and paste the text below into Notepad to create an example XML file</narrative><displayx>-405</displayx><displayy>15</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="FF00FF" /></stage><stage stageid="8f7bb02d-a191-44b6-a05f-e73492b67fe9" name="Note2" type="Note"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative><?xml version="1.0" encoding="UTF-8" ?>
<NHS>
<HomeVisit>
<Clinician>
<ClinicianID>ABC123</ClinicianID>
<ClinicianFirstName>GLADYS</ClinicianFirstName>
<ClinicianSurname>EMMANUEL</ClinicianSurname>
<Speciality>DISTRICT NURSING</Speciality>
<VisitDate>02012013</VisitDate>
</Clinician>
<Contacts>
<Contact>
<PatientID>100000001</PatientID>
<PatientFirstName>ROGER</PatientFirstName>
<PatientSurname>MELLIE</PatientSurname>
<DateOfBirth>17021973</DateOfBirth>
<StartTime>1035</StartTime>
<EndTime>1105</EndTime>
<Purpose>Assessment</Purpose>
<Outcome>Referred to GP</Outcome>
</Contact>
<Contact>
<PatientID>200000002</PatientID>
<PatientFirstName>PAUL</PatientFirstName>
<PatientSurname>WHICKER</PatientSurname>
<DateOfBirth>19121952</DateOfBirth>
<StartTime>1140</StartTime>
<EndTime>1200</EndTime>
<Purpose>Treatment</Purpose>
<Outcome>Discharged</Outcome>
</Contact>
<Contact>
<PatientID>300000003</PatientID>
<PatientFirstName>FINBAR</PatientFirstName>
<PatientSurname>SAUNDERS</PatientSurname>
<DateOfBirth>10071984</DateOfBirth>
<StartTime>1300</StartTime>
<EndTime>1340</EndTime>
<Purpose>Medication</Purpose>
<Outcome>Future Appointment</Outcome>
</Contact>
</Contacts>
</HomeVisit>
</NHS></narrative><displayx>-405</displayx><displayy>120</displayy><displaywidth>210</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="FF00FF" /></stage><stage stageid="05bac422-fca7-4548-9146-b992eca5f18e" name="Note2" type="Note"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative>** Columns are added to the 'New Item Clinician' collection to hold data from the xml elements</narrative><displayx>240</displayx><displayy>150</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>b4ba99c8-2df2-4e90-8ebf-db7c005d9a51</onsuccess></stage><stage stageid="d3e3d706-9892-488f-8b80-beaa09b0e29d" name="Note2" type="Note"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative>** Columns are added to the 'New Item Contact' collection to hold data from the xml elements</narrative><displayx>240</displayx><displayy>570</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>71e58d45-dd28-4e55-acfd-cffed03edc6c</onsuccess></stage><stage stageid="270f9fd0-e94d-40ef-9012-7b04988dce21" name="Note2" type="Note"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative>** A 'New Item Data' collection is formed by merging the 'New Item Clinician' and 'New Item Contact' collections.</narrative><displayx>240</displayx><displayy>705</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>3fafc65b-20a3-4527-b9cd-b29d5112f5e7</onsuccess></stage><stage stageid="c327af15-ff91-410a-9bb5-ecd5dd989309" name="Note2" type="Note"><subsheetid>b68ddea0-fff8-4c67-bc1b-243d448f9faa</subsheetid><narrative>** An additional 'Item Key' field is created to be able to help identify the item in the queue.</narrative><displayx>240</displayx><displayy>825</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>7d28add6-d348-4264-9bcf-b87dfe551d0f</onsuccess></stage><stage stageid="9b09bf76-73bd-444c-8cdc-5e367ddfd6dc" name="End1" type="End"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="0d9cbd32-0851-457f-b32c-8179a90e4aa4" name="Note3" type="Note"><narrative>This process has not been designed to run, it is merely a collection diagram fragments based on a common theme.
Each page is an example intended to illustrate how a particular task might be acheived in Blue Prism.
These examples may be copied into a new diagram and modified to suit your needs.</narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>9b09bf76-73bd-444c-8cdc-5e367ddfd6dc</onsuccess></stage></process></process>
<process id="d76d8566-4cee-4941-9704-b27c1a495b9c" name="Process Examples - Getting work from a queue" xmlns="http://www.blueprism.co.uk/product/process"><process name="Process Examples - Getting work from a queue" version="1.0" narrative="Various examples of getting items from a work queue"><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="88c08118-0cec-44ef-97b6-064ce8bc4464" type="Normal" published="False"><name>Get Next Item (simple)</name><view><camerax>0</camerax><cameray>42</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="a65d4b41-ee1c-4eb4-bebb-bd80e94478ca" type="Normal" published="False"><name>Get Next Item (using a key filter)</name><view><camerax>70</camerax><cameray>0</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="122b08f5-ac44-44d1-b211-97f88d40366f" type="Normal" published="False"><name>Get Next Item (using a tag filter)</name><view><camerax>8</camerax><cameray>84</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="e123b65a-32b2-40d5-a03b-84eb02922a93" type="Normal" published="False"><name>Get Next Item (using successive tag filters)</name><view><camerax>146</camerax><cameray>70</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="49c30113-d924-4dcd-a75f-6c9ed51809ae" type="Normal" published="False"><name>Get Next Item (using different collections)</name><view><camerax>0</camerax><cameray>176</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="79dd79c8-0870-4e5f-818d-86a6d4f1b423" type="Normal" published="False"><name>Check For Pending Items</name><view><camerax>51</camerax><cameray>84</cameray><zoom>1.1</zoom></view></subsheet><stage stageid="9179bbd3-2196-47ec-9804-0667702c9fb6" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e813c6d9-0875-4d22-872c-d8be7d13e3f0</onsuccess></stage><stage stageid="e8381bdc-e943-4f34-abc1-cea4edc6ebd6" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="eeba3142-5db9-4cc8-9c35-6d7b0fd2f44f" name="Get Next Item (simple)" type="SubSheetInfo"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><narrative>This example simply asks the queue for the next available item. If the Item ID is returned as blank text it means no item is available.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="17f4f259-8361-4941-be04-30c242057f17" name="Start" type="Start"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>07f43c9d-23ee-4ba1-9f33-7fde97a9a0c4</onsuccess></stage><stage stageid="07f43c9d-23ee-4ba1-9f33-7fde97a9a0c4" name="Get Next Item" type="Action"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data" /><output type="text" name="Status" narrative="The status of the item." stage="Item Status" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="Item Attempts" /></outputs><onsuccess>4d22f0ee-7d62-43b2-945a-6f1ee365780a</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="fb175c69-fb38-45fe-afc2-9cccf4f9b33d" name="Item ID" type="Data"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ffd8204f-2d29-4df3-8c16-c8ae96f9198c" name="Item Data" type="Collection"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="6b6a4377-9dae-41e6-8707-356ca5ad5a02" name="Item Status" type="Data"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="c7c4fdc6-d757-413a-b336-4f5047e0f8c5" name="Item Attempts" type="Data"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4d22f0ee-7d62-43b2-945a-6f1ee365780a" name="Got Item?" type="Decision"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>9bbd7389-974d-47a8-92e7-10d689afa092</ontrue><onfalse>d4f7ed44-ab95-4dfc-913e-31ef7546c645</onfalse></stage><stage stageid="9bbd7389-974d-47a8-92e7-10d689afa092" name="Note1" type="Note"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><narrative>An item is available, so proceed to work it as normal.</narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>752e9de7-b0ad-4b38-a43a-b61c713025c4</onsuccess></stage><stage stageid="d4f7ed44-ab95-4dfc-913e-31ef7546c645" name="Note1" type="Note"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><narrative>No item is available</narrative><displayx>150</displayx><displayy>30</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>d0cd7559-9511-4210-81b1-1ccec6385bbd</onsuccess></stage><stage stageid="d0cd7559-9511-4210-81b1-1ccec6385bbd" name="End1" type="End"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><narrative></narrative><displayx>270</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="1c29c6fe-a08f-4a4e-a007-34ab786dc662" name="Get Next Item (using a tag filter)" type="SubSheetInfo"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><narrative>This example asks the queue for the next available item that has a specific tag. If the Item ID is returned as blank text it means no item is available.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="da711efe-2075-427b-8586-f66b514d29df" name="Get Next Item (using a key filter)" type="SubSheetInfo"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><narrative>This example asks the queue for the next available item that has a specific key value. If the Item ID is returned as blank text it means no item is available.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="ca1c154e-422e-4758-9223-df3b53975884" name="Start" type="Start"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a287a2a5-4ed9-4750-b13b-ff68dca4c832</onsuccess></stage><stage stageid="e7d52d9c-8dd8-4aca-90dc-a51c53cddf99" name="Get Next Item (using successive tag filters)" type="SubSheetInfo"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative>This example uses successive tag filters to work items in a controlled order - Gas items first, Electric items second and Dual Fuel items last.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>180</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="a287a2a5-4ed9-4750-b13b-ff68dca4c832" name="Get Next Item" type="Action"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="[Key Filter]" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data" /><output type="text" name="Status" narrative="The status of the item." stage="Item Status" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="Item Attempts" /></outputs><onsuccess>135e3e3b-4315-4427-8791-ff8abd998f2c</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="cee4c7df-44b2-4342-a733-e72e158fefb3" name="Item ID" type="Data"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="63f97468-6519-4b00-b6eb-7eb7bf6bafd8" name="Item Data" type="Collection"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="221f3ba6-51b2-47d9-a612-0b84c5b97552" name="Item Status" type="Data"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="5959a93b-f468-4b06-a483-99197465cbb9" name="Item Attempts" type="Data"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="135e3e3b-4315-4427-8791-ff8abd998f2c" name="Got Item?" type="Decision"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>fb71739a-c29f-4c4f-9933-aa5f7ef4851e</ontrue><onfalse>6f9d5537-208b-45b3-ac7a-451fc8db17c1</onfalse></stage><stage stageid="fb71739a-c29f-4c4f-9933-aa5f7ef4851e" name="Note1" type="Note"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><narrative>An item is available, so proceed to work it as normal.</narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>fef7d0c1-763b-4cb5-a5a8-6a9ca102867f</onsuccess></stage><stage stageid="6f9d5537-208b-45b3-ac7a-451fc8db17c1" name="Note1" type="Note"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><narrative>No item with this key is available.</narrative><displayx>150</displayx><displayy>30</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>03e77eef-1ee7-4d58-97ef-7f938044e197</onsuccess></stage><stage stageid="03e77eef-1ee7-4d58-97ef-7f938044e197" name="End1" type="End"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><narrative></narrative><displayx>270</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="d914b37a-1304-41bc-a485-6d7613693032" name="Key Filter" type="Data"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">ABC-123</initialvalue><private /><alwaysinit /></stage><stage stageid="fe01bf8c-c625-4904-8d67-d9985b925fc3" name="Start" type="Start"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>dbbc37d7-27f5-44a6-8da4-ffd2d0a5b64a</onsuccess></stage><stage stageid="dbbc37d7-27f5-44a6-8da4-ffd2d0a5b64a" name="Get Next Item" type="Action"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="[Tag Filter]" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data" /><output type="text" name="Status" narrative="The status of the item." stage="Item Status" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="Item Attempts" /></outputs><onsuccess>55c8b211-70a2-4b9a-b7bf-4a46aaff3bb5</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="bc60558c-c601-4e4a-af40-d277dd539597" name="Item ID" type="Data"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="19189b91-8e6d-4a93-a2cd-bc37adf37c7d" name="Item Data" type="Collection"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>165</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="1e6012be-3104-4e58-b9a7-cebe10be36f6" name="Item Status" type="Data"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="02f27fc9-5746-4fa7-b4c7-b7c38fa8fc27" name="Item Attempts" type="Data"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="55c8b211-70a2-4b9a-b7bf-4a46aaff3bb5" name="Got Item?" type="Decision"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>5a1edb8d-38ba-4b9d-bc47-efd58788e8e6</ontrue><onfalse>4458fa7f-8011-451d-8779-dd5485556d12</onfalse></stage><stage stageid="5a1edb8d-38ba-4b9d-bc47-efd58788e8e6" name="Note1" type="Note"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><narrative>An item is available, so proceed to work it as normal.</narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>ba31be13-6c89-4f3b-94a9-56d50c44a595</onsuccess></stage><stage stageid="4458fa7f-8011-451d-8779-dd5485556d12" name="Note1" type="Note"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><narrative>No item with this tag is available.</narrative><displayx>150</displayx><displayy>30</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>9738d3d9-53e9-46cc-81ef-fbd128995332</onsuccess></stage><stage stageid="9738d3d9-53e9-46cc-81ef-fbd128995332" name="End1" type="End"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><narrative></narrative><displayx>270</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="5207d5b7-fa2e-4d47-8341-4838e04de887" name="Tag Filter" type="Data"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">PAYG</initialvalue><private /><alwaysinit /></stage><stage stageid="752e9de7-b0ad-4b38-a43a-b61c713025c4" name="Mark Completed" type="Action"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /></inputs><onsuccess>979a70d6-4d9d-4754-b8b1-de253d673bc9</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Completed" /></stage><stage stageid="979a70d6-4d9d-4754-b8b1-de253d673bc9" name="anchor1" type="Anchor"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>225</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3fbbc482-7e2d-489e-98f0-a10c200d6155</onsuccess></stage><stage stageid="3fbbc482-7e2d-489e-98f0-a10c200d6155" name="anchor2" type="Anchor"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>-45</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>07f43c9d-23ee-4ba1-9f33-7fde97a9a0c4</onsuccess></stage><stage stageid="fef7d0c1-763b-4cb5-a5a8-6a9ca102867f" name="Mark Completed" type="Action"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /></inputs><onsuccess>4eedffeb-4d91-4217-971f-4aad3442a6f0</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Completed" /></stage><stage stageid="4eedffeb-4d91-4217-971f-4aad3442a6f0" name="anchor1" type="Anchor"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>225</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>28c30ed1-c6f1-4279-8944-4eb3cd2b5533</onsuccess></stage><stage stageid="28c30ed1-c6f1-4279-8944-4eb3cd2b5533" name="anchor2" type="Anchor"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>-45</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a287a2a5-4ed9-4750-b13b-ff68dca4c832</onsuccess></stage><stage stageid="ba31be13-6c89-4f3b-94a9-56d50c44a595" name="Mark Completed" type="Action"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /></inputs><onsuccess>07db0a3b-9304-41f0-9e18-2aafd85af52c</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Completed" /></stage><stage stageid="07db0a3b-9304-41f0-9e18-2aafd85af52c" name="anchor1" type="Anchor"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>225</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c1d1cb9f-342e-484a-81db-d4af32e0764a</onsuccess></stage><stage stageid="c1d1cb9f-342e-484a-81db-d4af32e0764a" name="anchor2" type="Anchor"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>-45</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>dbbc37d7-27f5-44a6-8da4-ffd2d0a5b64a</onsuccess></stage><stage stageid="e8bb6a7f-5bc9-405d-96d8-9ca833853fd6" name="Start" type="Start"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>96a0bd7a-4979-40e6-856e-ed156bd525f1</onsuccess></stage><stage stageid="96a0bd7a-4979-40e6-856e-ed156bd525f1" name="Get Next 'Gas' Item" type="Action"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr=""G"" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data G" /><output type="text" name="Status" narrative="The status of the item." stage="Item Status" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="Item Attempts" /></outputs><onsuccess>7c0edf74-85ca-4f48-bfdd-7422ce9e3631</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="57a4c788-0505-42a1-88a4-b65eac684f7b" name="Item ID" type="Data"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="58b8c56c-4d13-4ec7-a627-3d9799b56a78" name="Item Data G" type="Collection"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>135</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="f1db2af6-53a3-4a39-b988-6701aebbb93f" name="Item Status" type="Data"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="0036f33d-5a02-4e9f-af7f-3a2cf9472a19" name="Item Attempts" type="Data"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>75</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7c0edf74-85ca-4f48-bfdd-7422ce9e3631" name="Got Item?" type="Decision"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>c7b7eb2e-7c70-46e3-83a4-a1f02e25b672</ontrue><onfalse>3070cff1-6607-4d61-87fb-4035c79dd236</onfalse></stage><stage stageid="c7b7eb2e-7c70-46e3-83a4-a1f02e25b672" name="Note1" type="Note"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative>A gas item is available, so proceed to work it as normal.</narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>01ee25eb-b05b-4d19-9d6b-f5af1ebed42b</onsuccess></stage><stage stageid="01ee25eb-b05b-4d19-9d6b-f5af1ebed42b" name="Mark Completed" type="Action"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /></inputs><onsuccess>5f04868e-fb2d-48a5-b5b1-e21062ee262c</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Completed" /></stage><stage stageid="5f04868e-fb2d-48a5-b5b1-e21062ee262c" name="anchor1" type="Anchor"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>240</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e1189bbc-6462-4003-8e8f-1ae9bf167e02</onsuccess></stage><stage stageid="e1189bbc-6462-4003-8e8f-1ae9bf167e02" name="anchor2" type="Anchor"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>-30</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>96a0bd7a-4979-40e6-856e-ed156bd525f1</onsuccess></stage><stage stageid="40ef30d7-dbbf-4ebc-a653-2e87631cfa36" name="Note1" type="Note"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative>No item with any of the tags is available.</narrative><displayx>600</displayx><displayy>45</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>4d4188e3-0829-4bc9-bfc8-84c201d7bff7</onsuccess></stage><stage stageid="4d4188e3-0829-4bc9-bfc8-84c201d7bff7" name="End1" type="End"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>720</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="5a78e963-5c3a-4778-9c40-c10097499e96" name="Get Next 'Electric' Item" type="Action"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>240</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr=""E"" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data E" /><output type="text" name="Status" narrative="The status of the item." stage="Item Status" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="Item Attempts" /></outputs><onsuccess>7cd507d3-3b97-40c2-8109-ae168e83c6ac</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="7cd507d3-3b97-40c2-8109-ae168e83c6ac" name="Got Item?" type="Decision"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>240</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>353669cc-c4d2-4d30-a3f3-e4a2900bed22</ontrue><onfalse>6f691b2b-c957-478c-9819-401376c32f41</onfalse></stage><stage stageid="353669cc-c4d2-4d30-a3f3-e4a2900bed22" name="Note1" type="Note"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative>An electric item is available, so proceed to work it as normal.</narrative><displayx>240</displayx><displayy>150</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>2842f13f-4b76-41da-871f-e4402406716e</onsuccess></stage><stage stageid="2842f13f-4b76-41da-871f-e4402406716e" name="Mark Completed" type="Action"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>240</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /></inputs><onsuccess>e6c62945-19c0-4db3-b35e-8ea35b5b7d93</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Completed" /></stage><stage stageid="e6c62945-19c0-4db3-b35e-8ea35b5b7d93" name="anchor1" type="Anchor"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>150</displayx><displayy>240</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3070cff1-6607-4d61-87fb-4035c79dd236</onsuccess></stage><stage stageid="2f1b7396-34a0-4f3d-88ef-5552879e13ea" name="anchor2" type="Anchor"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>150</displayx><displayy>-30</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5a78e963-5c3a-4778-9c40-c10097499e96</onsuccess></stage><stage stageid="3070cff1-6607-4d61-87fb-4035c79dd236" name="anchor3" type="Anchor"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>150</displayx><displayy>45</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2f1b7396-34a0-4f3d-88ef-5552879e13ea</onsuccess></stage><stage stageid="0f7512ce-14b6-4bf9-93c5-87e282e1d21d" name="Get Next 'Dual Fuel' Item" type="Action"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>465</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr=""D"" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data D" /><output type="text" name="Status" narrative="The status of the item." stage="Item Status" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="Item Attempts" /></outputs><onsuccess>a7066676-fb02-4863-a5ec-8f2029bfc698</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="a7066676-fb02-4863-a5ec-8f2029bfc698" name="Got Item?" type="Decision"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>465</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>9bbdd952-bf3d-4025-85ea-9d79afa3e70f</ontrue><onfalse>40ef30d7-dbbf-4ebc-a653-2e87631cfa36</onfalse></stage><stage stageid="9bbdd952-bf3d-4025-85ea-9d79afa3e70f" name="Note1" type="Note"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative>A dual fuel item is available, so proceed to work it as normal.</narrative><displayx>465</displayx><displayy>150</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>cc92e9a8-f13b-4f43-90d4-123535e3a25b</onsuccess></stage><stage stageid="cc92e9a8-f13b-4f43-90d4-123535e3a25b" name="Mark Completed" type="Action"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>465</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /></inputs><onsuccess>76c63f9e-b014-458c-b9ad-8ad88fc0f775</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Completed" /></stage><stage stageid="76c63f9e-b014-458c-b9ad-8ad88fc0f775" name="anchor1" type="Anchor"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>375</displayx><displayy>240</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>6f691b2b-c957-478c-9819-401376c32f41</onsuccess></stage><stage stageid="82bd2b1e-a052-4e09-93c2-125f219ac6cb" name="anchor2" type="Anchor"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>375</displayx><displayy>-30</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0f7512ce-14b6-4bf9-93c5-87e282e1d21d</onsuccess></stage><stage stageid="6f691b2b-c957-478c-9819-401376c32f41" name="anchor3" type="Anchor"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative></narrative><displayx>375</displayx><displayy>45</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>82bd2b1e-a052-4e09-93c2-125f219ac6cb</onsuccess></stage><stage stageid="2a6559ed-3280-4b26-8386-104b55dd5135" name="Note2" type="Note"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><narrative>** In this example each type of item uses its own data collection</narrative><displayx>150</displayx><displayy>-120</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>96a0bd7a-4979-40e6-856e-ed156bd525f1</onsuccess></stage><stage stageid="cbbcf7b8-4912-4e79-bd30-080aaafc34be" name="Item Data E" type="Collection"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>195</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="6a1dfab2-308b-4182-8ac0-ad1426b88fe4" name="Item Data D" type="Collection"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="7184b071-d40b-44f2-80b7-e04e562f5dfb" name="Get Next Item (using different collections)" type="SubSheetInfo"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative>This example asks for the next available item, but uses a dynamic collection because the queue contains items with different data collection structures.
In this example all collections have a common field called 'Fuel Type', and this is used to apply the values in the dynamic collection to the appropriate structured collection.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>210</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="85e29f59-668a-49a0-8677-fcc8ba134f2d" name="Start" type="Start"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>1fdee236-2c76-47f7-a43a-8e95d070f1b2</onsuccess></stage><stage stageid="1fdee236-2c76-47f7-a43a-8e95d070f1b2" name="Get Next Item" type="Action"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Dynamic Collection" /><output type="text" name="Status" narrative="The status of the item." stage="Item Status" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="Item Attempts" /></outputs><onsuccess>7516a80e-4e14-4486-87d5-d8c77fcf777b</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="ed42f8d2-3812-4537-803f-6c3d2511045b" name="Item ID" type="Data"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fca7deca-b95e-4901-94d2-da1807a0a251" name="Dynamic Collection" type="Collection"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="44461f61-e3b5-4692-9d14-9820f377b05e" name="Item Status" type="Data"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>150</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="020e0857-6c45-4724-944a-b2d56d22efa8" name="Item Attempts" type="Data"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>number</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="7516a80e-4e14-4486-87d5-d8c77fcf777b" name="Got Item?" type="Decision"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>cf1a4bfe-331c-4037-992e-6b0b6e666a8b</ontrue><onfalse>27569728-d266-4fda-a9db-b37ef9c9c9b9</onfalse></stage><stage stageid="27569728-d266-4fda-a9db-b37ef9c9c9b9" name="Note1" type="Note"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative>No item is available</narrative><displayx>150</displayx><displayy>30</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>4dd4fc3a-0cf1-436b-b4d2-3a3b9b23655a</onsuccess></stage><stage stageid="4dd4fc3a-0cf1-436b-b4d2-3a3b9b23655a" name="End1" type="End"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>270</displayx><displayy>30</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="28d55df4-93eb-481c-8d9d-f584845452c4" name="Mark Completed" type="Action"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /></inputs><onsuccess>4131d2be-719b-45d1-8edb-02009c6e2024</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Completed" /></stage><stage stageid="4131d2be-719b-45d1-8edb-02009c6e2024" name="anchor1" type="Anchor"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>420</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e70ff955-f2b4-4755-a0b4-5540b31bc1ad</onsuccess></stage><stage stageid="e70ff955-f2b4-4755-a0b4-5540b31bc1ad" name="anchor2" type="Anchor"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>-60</displayx><displayy>-45</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>1fdee236-2c76-47f7-a43a-8e95d070f1b2</onsuccess></stage><stage stageid="cf1a4bfe-331c-4037-992e-6b0b6e666a8b" name="Gas Item?" type="Decision"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>15</displayx><displayy>135</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Dynamic Collection.Fuel Type]="G"" /><ontrue>fe854d55-8891-4bc5-854b-9fb41eca23a9</ontrue><onfalse>5757cd88-858f-4959-a210-3301a292b1f0</onfalse></stage><stage stageid="7b21c30d-7c06-4360-b011-1c0acf210a82" name="Item Data - Gas" type="Collection"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field G1" type="text" /><field name="Field G2" type="text" /><field name="Field G3" type="text" /></collectioninfo></stage><stage stageid="d0f6dca6-260f-4304-b944-409b3f4746a8" name="Item Data - Electric" type="Collection"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>315</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field E1" type="text" /><field name="Field E2" type="text" /><field name="Field E3" type="text" /></collectioninfo></stage><stage stageid="4ad35eb4-0f55-482f-8290-9d0e8b41558e" name="Note1" type="Note"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative>A gas item is available, so proceed to work it as normal.</narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>28d55df4-93eb-481c-8d9d-f584845452c4</onsuccess></stage><stage stageid="5842d8dc-0087-4cb4-9de7-217e24e34545" name="Note1" type="Note"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative>An electric item is available, so proceed to work it as normal.</narrative><displayx>180</displayx><displayy>330</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>5217cce3-4d4c-41c2-bf18-ff6f4b8a5e05</onsuccess></stage><stage stageid="fe854d55-8891-4bc5-854b-9fb41eca23a9" name="Set Gas Data" type="Calculation"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>15</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4ad35eb4-0f55-482f-8290-9d0e8b41558e</onsuccess><calculation expression="[Dynamic Collection]" stage="Item Data - Gas" /></stage><stage stageid="e1f19b32-8010-4f99-b56c-e9eafb626aab" name="Set Electric Data" type="Calculation"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>180</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5842d8dc-0087-4cb4-9de7-217e24e34545</onsuccess><calculation expression="[Dynamic Collection]" stage="Item Data - Electric" /></stage><stage stageid="5217cce3-4d4c-41c2-bf18-ff6f4b8a5e05" name="anchor6" type="Anchor"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>180</displayx><displayy>420</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>28d55df4-93eb-481c-8d9d-f584845452c4</onsuccess></stage><stage stageid="d47b80e5-a2e3-45e4-b108-7ed94bbcbefb" name="Note3" type="Note"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative>Must be Dual Fuel</narrative><displayx>345</displayx><displayy>135</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>f1f51205-ee2e-4f1f-b87f-a1cfc80cd349</onsuccess></stage><stage stageid="5757cd88-858f-4959-a210-3301a292b1f0" name="Electric Item?" type="Decision"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>180</displayx><displayy>135</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Dynamic Collection.Fuel Type]="E"" /><ontrue>e1f19b32-8010-4f99-b56c-e9eafb626aab</ontrue><onfalse>d47b80e5-a2e3-45e4-b108-7ed94bbcbefb</onfalse></stage><stage stageid="87e098da-c754-4ffb-9753-d78e77666aee" name="Note1" type="Note"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative>A dual fuel item is available, so proceed to work it as normal.</narrative><displayx>345</displayx><displayy>330</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>fff1cc86-ef4b-4dd8-b6c4-047172ef8c3b</onsuccess></stage><stage stageid="f1f51205-ee2e-4f1f-b87f-a1cfc80cd349" name="Set Dual Fuel Data" type="Calculation"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>345</displayx><displayy>225</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>87e098da-c754-4ffb-9753-d78e77666aee</onsuccess><calculation expression="[Dynamic Collection]" stage="Item Data - Dual Fuel" /></stage><stage stageid="fff1cc86-ef4b-4dd8-b6c4-047172ef8c3b" name="anchor5" type="Anchor"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><narrative></narrative><displayx>345</displayx><displayy>420</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>5217cce3-4d4c-41c2-bf18-ff6f4b8a5e05</onsuccess></stage><stage stageid="d2a09453-683a-4524-8823-de3fe6735826" name="Item Data - Dual Fuel" type="Collection"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>375</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Field D1" type="text" /><field name="Field D2" type="text" /><field name="Field D3" type="text" /></collectioninfo></stage><stage stageid="9e08563e-8698-45ac-9236-1a7bad65326a" name="Queue Name" type="Data"><subsheetid>88c08118-0cec-44ef-97b6-064ce8bc4464</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="5613ddb4-e90b-40c7-80c3-137a442fca45" name="Queue Name" type="Data"><subsheetid>a65d4b41-ee1c-4eb4-bebb-bd80e94478ca</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="5c24d05c-3ac9-4820-a7a5-e7b7c3197a8e" name="Queue Name" type="Data"><subsheetid>122b08f5-ac44-44d1-b211-97f88d40366f</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="82c34b63-f438-4bf6-9b92-8762870428fa" name="Queue Name" type="Data"><subsheetid>e123b65a-32b2-40d5-a03b-84eb02922a93</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="7eaa4a2f-e28c-4d33-a877-89bcb31c6569" name="Queue Name" type="Data"><subsheetid>49c30113-d924-4dcd-a75f-6c9ed51809ae</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="4a6aab78-8274-4a2e-99d8-b30157d07f2b" name="Check For Pending Items" type="SubSheetInfo"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative>This example gets the IDs of pending items and uses a loop to test if the collection is empty or not.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="16f21b8c-d049-4d57-baab-044e05f86549" name="Start" type="Start"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d67caacc-25ce-4edb-990d-9e229d0c933f</onsuccess></stage><stage stageid="7c7f1db3-1a7f-4a40-b40f-d6730bf8ba99" name="Note1" type="Note"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative>If we reach this point the collection has at least 1 row and pending items were found</narrative><displayx>165</displayx><displayy>60</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>b605b57c-4178-4aee-813a-802ce68aa0c5</onsuccess></stage><stage stageid="95a11795-9fb8-4539-b439-844e5ccdf728" name="End1" type="End"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative></narrative><displayx>15</displayx><displayy>270</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="594ad74a-fbf1-4a39-a3f0-3061cbada299" name="Queue Name" type="Data"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="d67caacc-25ce-4edb-990d-9e229d0c933f" name="Get Pending Items" type="Action"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue for which the pending items are required" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="" /><input type="number" name="Maximum" narrative="Optionally, the maximum number of items to return. Default is to return all items" expr="" /><input type="number" name="Skip" narrative="Optionally, the number of items to skip before returning. Default is zero, ie. return all items from the head of the queue" expr="" /></inputs><outputs><output type="collection" name="Pending Items" narrative="The currently pending items in the queue, referenced by ID. The single column is 'Item ID' : text. The elements in the collection will be in the order in which they will be loaded by the 'Get Next Item' action." stage="Pending Items" /></outputs><onsuccess>77d48d85-2c23-4fd3-bf64-607e9ef81026</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Pending Items" /></stage><stage stageid="d92b1532-de4a-4f28-bdf7-a654a8741fe5" name="Pending Items" type="Collection"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item ID" type="text" description="The Item ID of the work queue item" /></collectioninfo></stage><stage stageid="77d48d85-2c23-4fd3-bf64-607e9ef81026" name="Pending Items" type="LoopStart"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e519a36f-9372-4b90-9e35-7679aca5be39</onsuccess><groupid>c967fd89-e72f-4f5f-ad3a-7100ae176866</groupid><looptype>ForEach</looptype><loopdata>Pending Items</loopdata></stage><stage stageid="bcfdd0eb-44ed-4094-b5d1-3172da45b6b7" name="Pending Items" type="LoopEnd"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative></narrative><displayx>15</displayx><displayy>105</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>8ea8e25c-98d9-478c-9f92-4789eb426d80</onsuccess><groupid>c967fd89-e72f-4f5f-ad3a-7100ae176866</groupid></stage><stage stageid="8ea8e25c-98d9-478c-9f92-4789eb426d80" name="Note1" type="Note"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative>If we reach this point the collection must be empty and no pending items were found</narrative><displayx>15</displayx><displayy>180</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>95a11795-9fb8-4539-b439-844e5ccdf728</onsuccess></stage><stage stageid="e519a36f-9372-4b90-9e35-7679aca5be39" name="anchor4" type="Anchor"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative></narrative><displayx>15</displayx><displayy>60</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7c7f1db3-1a7f-4a40-b40f-d6730bf8ba99</onsuccess></stage><stage stageid="b605b57c-4178-4aee-813a-802ce68aa0c5" name="End2" type="End"><subsheetid>79dd79c8-0870-4e5f-818d-86a6d4f1b423</subsheetid><narrative></narrative><displayx>285</displayx><displayy>60</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="ce1b6612-cb1f-47ca-a139-718b26ffeeee" name="End1" type="End"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="e813c6d9-0875-4d22-872c-d8be7d13e3f0" name="Note3" type="Note"><narrative>This process has not been designed to run, it is merely a collection diagram fragments based on a common theme.
Each page is an example intended to illustrate how a particular task might be acheived in Blue Prism.
These examples may be copied into a new diagram and modified to suit your needs.</narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>ce1b6612-cb1f-47ca-a139-718b26ffeeee</onsuccess></stage></process></process>
<process id="869d3e00-51f7-41c6-b641-cd00cb7cbd89" name="Process Examples - Maintaining work queues" xmlns="http://www.blueprism.co.uk/product/process"><process name="Process Examples - Maintaining work queues" version="1.0" narrative="Various examples of maintaining work queues"><view><camerax>0</camerax><cameray>0</cameray><zoom>1</zoom></view><preconditions /><endpoint narrative="" /><subsheet subsheetid="88485c9f-8ea2-4d08-99e6-3168fb8e7f18" type="Normal" published="False"><name>Maintain Queue (delete old items)</name><view><camerax>51</camerax><cameray>48</cameray><zoom>1.1</zoom></view></subsheet><subsheet subsheetid="af0b997f-1398-44db-a72e-de2aba33eea8" type="Normal" published="False"><name>Maintain Queue (delete pending items)</name><view><camerax>51</camerax><cameray>263</cameray><zoom>1</zoom></view></subsheet><subsheet subsheetid="73088449-bfbc-4b95-ab5d-e769c2839b59" type="Normal" published="False"><name>Maintain Queue (check for locked items)</name><view><camerax>50.8335</camerax><cameray>690</cameray><zoom>0.8</zoom></view></subsheet><subsheet subsheetid="f341d164-7e83-4dfd-a6d5-8a418082351d" type="Normal" published="False"><name>Maintain Queue (synchronise two queues)</name><view><camerax>51</camerax><cameray>399</cameray><zoom>0.8</zoom></view></subsheet><subsheet subsheetid="d5635c6a-b62c-4ab2-bc41-b33ac79c21dc" type="Normal" published="False"><name>Maintain Queue (synchronise many queues)</name><view><camerax>201</camerax><cameray>349</cameray><zoom>0.9</zoom></view></subsheet><stage stageid="c4843be0-7ec9-41c7-a86f-04865d9e3e7c" name="Start" type="Start"><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3fc46209-031d-45a7-b716-5c8b530d0d09</onsuccess></stage><stage stageid="dd05d944-a82c-4547-b509-f738c7de6dc5" name="Stage1" type="ProcessInfo"><narrative></narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="38072527-076a-4ee3-a3d2-0ccfe7ac6d2a" name="Maintain Queue (delete old items)" type="SubSheetInfo"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><narrative>In this example the queue is automatically cleaned of old items by calculating a 'data threshold' and then deleting any items older than that date.
Note that an environment lock is used to ensure only one machine does this work at any one time.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>210</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="f10cb899-a89d-4ffb-a5d9-f54c88dc45c8" name="Start" type="Start"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7cf88dc8-c4cb-414d-9e56-3aeae5b15b5b</onsuccess></stage><stage stageid="a740a960-f44f-437c-866a-3f2f747909fa" name="End" type="End"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>690</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="4c67eb28-7f7e-499d-8300-363083c7c808" name="Get Completed Items" type="Action"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to retrieve the completed items from" expr="[Queue Name]" /><input type="datetime" name="Start Date" narrative="The start date from which any items marked as complete should be returned. Optional - No date indicates no start date threshold" expr="[Year Zero]" /><input type="datetime" name="End Date" narrative="The end date up to which any items marked as complete should be returned. Optional - No date indicates no end date threshold" expr="[Date Threshold]" /><input type="number" name="Maximum Rows" narrative="The maximum number of rows to return. Optional - No value indicates that all rows should be returned" expr="" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="" /></inputs><outputs><output type="collection" name="Completed Items" narrative="The items which were marked as complete within the given date range, up to the maximum count if one was given" stage="Item IDs" /></outputs><onsuccess>a2856a7a-a70c-407d-b944-65603cddbeee</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Completed Items" /></stage><stage stageid="5dd91646-c323-4b4a-a94f-356037193188" name="Item IDs" type="Collection"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>300</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item ID" type="text" description="The Item ID of the work queue item" /></collectioninfo></stage><stage stageid="a2856a7a-a70c-407d-b944-65603cddbeee" name="Item IDs" type="LoopStart"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>285</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>abc4b097-8ab4-4b29-8651-ab4bac31b6ac</onsuccess><groupid>ad08e768-bc94-4810-ab2d-9e35405132af</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="1c6d4f17-da64-466c-ab39-875bbacc9837" name="Item IDs" type="LoopEnd"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>375</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>41bc86ff-e1bc-4137-bc5c-c79ae8c9e532</onsuccess><groupid>ad08e768-bc94-4810-ab2d-9e35405132af</groupid></stage><stage stageid="abc4b097-8ab4-4b29-8651-ab4bac31b6ac" name="Delete Item" type="Action"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to delete. An error will be raised if this item does not exist, or is locked." expr="[Item IDs.Item ID]" /></inputs><onsuccess>1c6d4f17-da64-466c-ab39-875bbacc9837</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Delete Item" /></stage><stage stageid="41bc86ff-e1bc-4137-bc5c-c79ae8c9e532" name="Get Exception Items" type="Action"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>435</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to retrieve the exception items from" expr="[Queue Name]" /><input type="datetime" name="Start Date" narrative="Optionally, the start threshold date. Any items returned will have been marked as an exception after this date. If no value is given, there will be no start threshold." expr="[Year Zero]" /><input type="datetime" name="End Date" narrative="Optionally, the end threshold date. Any items returned will have been marked as an exception before this date. If no value is given, there will be no end threshold." expr="[Date Threshold]" /><input type="number" name="Maximum Rows" narrative="Optionally, the maximum number of rows to return. No value indicates that all rows should be returned" expr="" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="" /></inputs><outputs><output type="collection" name="Exception Items" narrative="The items which were marked with an exception within the given date range, up to the maximum count if one was given" stage="Item IDs" /></outputs><onsuccess>81298af2-6a3d-485f-b021-839ba1597dd7</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Exception Items" /></stage><stage stageid="81298af2-6a3d-485f-b021-839ba1597dd7" name="Item IDs" type="LoopStart"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>480</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a95ebc30-874a-4f72-b05c-2872cc817ed5</onsuccess><groupid>ff2717d2-d826-4fb1-b95d-35de064ac694</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="755a4d9d-261b-470e-be87-5368dc9cdf7b" name="Item IDs" type="LoopEnd"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>570</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3616a82a-ae7a-4acb-8900-268995fc8b85</onsuccess><groupid>ff2717d2-d826-4fb1-b95d-35de064ac694</groupid></stage><stage stageid="a95ebc30-874a-4f72-b05c-2872cc817ed5" name="Delete Item" type="Action"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>525</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to delete. An error will be raised if this item does not exist, or is locked." expr="[Item IDs.Item ID]" /></inputs><onsuccess>755a4d9d-261b-470e-be87-5368dc9cdf7b</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Delete Item" /></stage><stage stageid="6b220437-5335-48a1-82a7-f04c2db42ad6" name="Got Lock?" type="Decision"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Lock Token]<>""" /><ontrue>86e15b0e-baee-4f16-bab0-55472b55c1dd</ontrue><onfalse>08fdebbf-fb78-46e7-b9b7-23720b3b0cd3</onfalse></stage><stage stageid="7b81de71-b59a-4461-901a-7a201bad743a" name="Lock Name" type="Data"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="da5800c5-bfc9-4979-adf8-321119301b1c" name="Lock Token" type="Data"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="59c45adf-5ae6-4f5b-a1d3-98cab2217b53" name="End4" type="End"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>270</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="7cf88dc8-c4cb-414d-9e56-3aeae5b15b5b" name="Lock Name" type="Calculation"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c53cbb84-f6f1-4e17-bfcc-2892726eb41f</onsuccess><calculation expression=""Maintain "&[Queue Name]" stage="Lock Name" /></stage><stage stageid="e24adf68-efc7-4e2c-9eec-5bc07277cb86" name="Block1" type="Block"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>-60</displayx><displayy>195</displayy><displaywidth>255</displaywidth><displayheight>405</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="027c5fa9-684c-4884-9d58-f119305fd227" name="Recover" type="Recover"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>570</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2bec9a04-ddae-40bc-a82a-54693654c94b</onsuccess></stage><stage stageid="2bec9a04-ddae-40bc-a82a-54693654c94b" name="Release Lock" type="Action"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>978cb292-4de8-4e77-8701-e321bed14a4f</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="978cb292-4de8-4e77-8701-e321bed14a4f" name="Throw" type="Exception"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>690</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="3616a82a-ae7a-4acb-8900-268995fc8b85" name="Release Lock" type="Action"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>a740a960-f44f-437c-866a-3f2f747909fa</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="86e15b0e-baee-4f16-bab0-55472b55c1dd" name="Date Threshold" type="Calculation"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4c67eb28-7f7e-499d-8300-363083c7c808</onsuccess><calculation expression="Now()-[Queue Lifespan]" stage="Date Threshold" /></stage><stage stageid="df9d3bc2-327f-4911-92b0-b05cba59253a" name="Date Threshold" type="Data"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="67a719de-4938-4ede-8d85-f92c56ac9b68" name="Queue Lifespan" type="Data"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative>Used to determine the threshold date for deleting old queue items.</narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>180.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="7549bb6b-f767-4fb0-867b-1f3a9d296503" name="Queue Name" type="Data"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="08fdebbf-fb78-46e7-b9b7-23720b3b0cd3" name="Note5" type="Note"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative>The lock is held elsewhere, probably because this work is currently being done on another machine.</narrative><displayx>150</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>59c45adf-5ae6-4f5b-a1d3-98cab2217b53</onsuccess></stage><stage stageid="c53cbb84-f6f1-4e17-bfcc-2892726eb41f" name="Get Lock" type="Action"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the required lock. Mandatory parameter." expr="[Lock Name]" /><input type="timespan" name="Timeout" narrative="The maximum amount of time to await the lock. Default is to wait forever" expr="[Lock Timeout]" /><input type="text" name="Preferred Token" narrative="The preferred token to use for the lock. Default behaviour is to generate a new unique token." expr="" /><input type="text" name="Comment" narrative="The comments to set on the lock" expr="" /></inputs><outputs><output type="text" name="Token" narrative="The token registered against the lock. This will be empty if the lock could not be acquired" stage="Lock Token" /></outputs><onsuccess>6b220437-5335-48a1-82a7-f04c2db42ad6</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Acquire Lock" /></stage><stage stageid="6271d8a7-1367-4779-b1ed-bf4fd7885da5" name="Lock Timeout" type="Data"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>0.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="09051c20-7e79-4aa0-bfaf-d771e62084d0" name="Year Zero" type="Data"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><loginhibit /><narrative>Used as a date baseline.</narrative><displayx>-195</displayx><displayy>150</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue>1900-01-01 00:00:00Z</initialvalue><private /><alwaysinit /></stage><stage stageid="08eae60d-c379-4ce0-8b87-90eee7d8ed6d" name="Note2" type="Note"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><narrative>** NB In the event of an exception the lock must be released.</narrative><displayx>315</displayx><displayy>735</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>2bec9a04-ddae-40bc-a82a-54693654c94b</onsuccess></stage><stage stageid="c79a29b0-6cdd-4e44-85f8-fc58ca68e6c3" name="Note2" type="Note"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><narrative>** NB After maintaining the queue, the lock is released.</narrative><displayx>-180</displayx><displayy>735</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>3616a82a-ae7a-4acb-8900-268995fc8b85</onsuccess></stage><stage stageid="040916ba-b6bb-4e8c-bc2d-e820de6b42e7" name="Note2" type="Note"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><narrative>** NB A date threshold is calculated to use as a 'cut off' point. Any queue items older than this date are deemed redundant and are deleted.</narrative><displayx>330</displayx><displayy>180</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>86e15b0e-baee-4f16-bab0-55472b55c1dd</onsuccess></stage><stage stageid="2414c998-dc2a-4b2e-b3fa-d6a698bf8e22" name="Note2" type="Note"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><narrative>** NB A collection of IDs of items completed between 'year zero' and 'date threshold' is retrieved here.</narrative><displayx>315</displayx><displayy>330</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>4c67eb28-7f7e-499d-8300-363083c7c808</onsuccess></stage><stage stageid="707f5784-18d1-42d6-b3ef-e500da816d59" name="Note2" type="Note"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><narrative>** NB Each old item is deleted individually</narrative><displayx>315</displayx><displayy>465</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>abc4b097-8ab4-4b29-8651-ab4bac31b6ac</onsuccess></stage><stage stageid="81ca65c8-d9a8-49b3-89ba-8d5588afee07" name="Maintain Queue (delete pending items)" type="SubSheetInfo"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><narrative>In this example the queue is cleaned of pending items - in some situations it is desirable to remove all unworked items prior to loading new work.
Note that an environment lock is used to ensure only one machine does this at any one time, and a substantial time out is used to keep any other machines waiting while the queue is being maintained.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>270</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="2c729131-ee38-450f-9368-89cc9c197a36" name="Start" type="Start"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>d3606e3f-6f39-48a5-b41b-ce97d06617ce</onsuccess></stage><stage stageid="05875f66-f4fb-46f3-8937-899b8de53e19" name="End" type="End"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>450</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="3fed1299-6a0a-4a48-a7b2-53642ac0ab46" name="Get Pending Items" type="Action"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue for which the pending items are required" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="" /><input type="number" name="Maximum" narrative="Optionally, the maximum number of items to return. Default is to return all items" expr="" /><input type="number" name="Skip" narrative="Optionally, the number of items to skip before returning. Default is zero, ie. return all items from the head of the queue" expr="" /></inputs><outputs><output type="collection" name="Pending Items" narrative="The currently pending items in the queue, referenced by ID. The single column is 'Item ID' : text. The elements in the collection will be in the order in which they will be loaded by the 'Get Next Item' action." stage="Item IDs" /></outputs><onsuccess>9ac84aef-fec0-44a1-98da-0e6bb62b96f4</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Pending Items" /></stage><stage stageid="339d41ae-ba6d-4f49-b40b-8077a2ec8902" name="Item IDs" type="Collection"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>210</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item ID" type="text" description="The Item ID of the work queue item" /></collectioninfo></stage><stage stageid="9ac84aef-fec0-44a1-98da-0e6bb62b96f4" name="Item IDs" type="LoopStart"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>e924391e-616c-4d68-8805-59c8a42d5663</onsuccess><groupid>0060df43-33be-4d0f-b530-8b307a5c0e68</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="84ef8aac-326c-4147-80de-93c1e18e3022" name="Item IDs" type="LoopEnd"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>330</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>0b04867f-8666-4c59-bca6-e444ee982457</onsuccess><groupid>0060df43-33be-4d0f-b530-8b307a5c0e68</groupid></stage><stage stageid="e924391e-616c-4d68-8805-59c8a42d5663" name="Delete Item" type="Action"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>285</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to delete. An error will be raised if this item does not exist, or is locked." expr="[Item IDs.Item ID]" /></inputs><onsuccess>84ef8aac-326c-4147-80de-93c1e18e3022</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Delete Item" /></stage><stage stageid="8a192b2d-1039-4bc6-929b-b7ced71847c0" name="Got Lock?" type="Decision"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Lock Token]<>""" /><ontrue>3fed1299-6a0a-4a48-a7b2-53642ac0ab46</ontrue><onfalse>2534483b-87de-46a9-97c7-1445d33b1311</onfalse></stage><stage stageid="59628c54-ea5e-48e7-ac35-1bd786d04958" name="Lock Name" type="Data"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b101b99b-4ea1-4804-b45a-940b3521ffaf" name="Lock Token" type="Data"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="d3606e3f-6f39-48a5-b41b-ce97d06617ce" name="Lock Name" type="Calculation"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9db5822c-cf2d-4410-9655-75ecc7f04e6a</onsuccess><calculation expression=""Maintain "&[Queue Name]" stage="Lock Name" /></stage><stage stageid="01b690db-922d-4f36-baf9-01082872c424" name="Block1" type="Block"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>-60</displayx><displayy>150</displayy><displaywidth>240</displaywidth><displayheight>210</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="89b93145-4cf7-472d-ae7c-b433fa25429f" name="Recover" type="Recover"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>330</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>02b0716b-bcd8-4890-9c3c-74e96b2e2348</onsuccess></stage><stage stageid="02b0716b-bcd8-4890-9c3c-74e96b2e2348" name="Release Lock" type="Action"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>390</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>e642908e-de6e-44ca-bf5b-0ed92039d107</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="e642908e-de6e-44ca-bf5b-0ed92039d107" name="Throw" type="Exception"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>450</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="0b04867f-8666-4c59-bca6-e444ee982457" name="Release Lock" type="Action"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>390</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>05875f66-f4fb-46f3-8937-899b8de53e19</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="ca749937-fff6-4dab-9705-88a55150d583" name="Queue Name" type="Data"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="2534483b-87de-46a9-97c7-1445d33b1311" name="Note5" type="Note"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative>The lock is held elsewhere, probably because this work is currently being done on another machine.</narrative><displayx>150</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>0cec21e8-daa4-42e1-a790-9c3fd602c537</onsuccess></stage><stage stageid="9db5822c-cf2d-4410-9655-75ecc7f04e6a" name="Get Lock" type="Action"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the required lock. Mandatory parameter." expr="[Lock Name]" /><input type="timespan" name="Timeout" narrative="The maximum amount of time to await the lock. Default is to wait forever" expr="[Lock Timeout]" /><input type="text" name="Preferred Token" narrative="The preferred token to use for the lock. Default behaviour is to generate a new unique token." expr="" /><input type="text" name="Comment" narrative="The comments to set on the lock" expr="" /></inputs><outputs><output type="text" name="Token" narrative="The token registered against the lock. This will be empty if the lock could not be acquired" stage="Lock Token" /></outputs><onsuccess>8a192b2d-1039-4bc6-929b-b7ced71847c0</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Acquire Lock" /></stage><stage stageid="6b75c88b-6a6d-4df1-af73-4f152f111739" name="Lock Timeout" type="Data"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>0.00:05:00</initialvalue><private /><alwaysinit /></stage><stage stageid="327f3ae0-57a0-4307-bd60-2a9e0ae99ace" name="Note2" type="Note"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><narrative>** NB In the event of an exception the lock must be released.</narrative><displayx>330</displayx><displayy>435</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>02b0716b-bcd8-4890-9c3c-74e96b2e2348</onsuccess></stage><stage stageid="5f5cd194-577e-4740-8cb8-e51ce970aaeb" name="Note2" type="Note"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><narrative>** NB After maintaining the queue, the lock is released.</narrative><displayx>-180</displayx><displayy>435</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>0b04867f-8666-4c59-bca6-e444ee982457</onsuccess></stage><stage stageid="d170c107-b332-4da3-8c15-0ad3efcdcce0" name="Note2" type="Note"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><narrative>** NB Each old item is deleted individually</narrative><displayx>330</displayx><displayy>240</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>e924391e-616c-4d68-8805-59c8a42d5663</onsuccess></stage><stage stageid="0cec21e8-daa4-42e1-a790-9c3fd602c537" name="System Exception" type="Exception"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><loginhibit /><narrative></narrative><displayx>270</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="System Exception" detail=""Failed waiting for queue maintenance"" /></stage><stage stageid="546afbee-a7e6-4ebd-a9d9-40a95778fdef" name="Note2" type="Note"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><narrative>** Here it might be prudent to throw an exception rather than continuing as normal. There could be a risk of this machine causing disruption if it goes on to consume new items while another machine is still attempting to maintain the queue.</narrative><displayx>435</displayx><displayy>30</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>0cec21e8-daa4-42e1-a790-9c3fd602c537</onsuccess></stage><stage stageid="cf234c94-f8d2-44e9-8a3b-179ab91ff085" name="Maintain Queue (check for locked items)" type="SubSheetInfo"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative>In this example a check is made for items that have been (wrongly) left locked. Items that are still locked after a certain period of time are deemd to be exceptions.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="6b341108-772a-46ef-822d-b411792df6df" name="Start" type="Start"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>eef5ad67-20ff-4bfc-a4c1-3aa8e08c7309</onsuccess></stage><stage stageid="e9b5d6e6-a2c9-4598-9cc6-a66ac5623fe4" name="Maintain Queue (synchronise two queues)" type="SubSheetInfo"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative>In this example completed items in one queue require that a corresponding item is created in another queue. This arrangement could be used to manage 'Day 1' and 'Day 2' queues.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>150</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="16fbfb95-1d09-4c74-9af4-2eae4379c7cf" name="Got Lock?" type="Decision"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Lock Token]<>""" /><ontrue>06aec5d8-f96a-412f-b985-123365be2575</ontrue><onfalse>c5947168-060b-4277-bb59-99583d7912e3</onfalse></stage><stage stageid="ce480e55-bbd3-49c4-9ed6-31d247121c43" name="Lock Name" type="Data"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>30</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="bf9312af-6b36-49f3-a487-d76ad3ef40af" name="Lock Token" type="Data"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b5dceaf4-3953-4d6e-aea5-6d5c2b2236dd" name="End4" type="End"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>270</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="eef5ad67-20ff-4bfc-a4c1-3aa8e08c7309" name="Lock Name" type="Calculation"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>7f6ee8f2-a03e-4263-a41d-70dc71f5c6b3</onsuccess><calculation expression=""Maintain "&[Queue Name]" stage="Lock Name" /></stage><stage stageid="0a3e573e-5957-4ead-90ca-0453a56607a1" name="Queue Name" type="Data"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue</initialvalue><private /><alwaysinit /></stage><stage stageid="c5947168-060b-4277-bb59-99583d7912e3" name="Note5" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative>The lock is held elsewhere, probably because this work is currently being done on another machine.</narrative><displayx>150</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>b5dceaf4-3953-4d6e-aea5-6d5c2b2236dd</onsuccess></stage><stage stageid="7f6ee8f2-a03e-4263-a41d-70dc71f5c6b3" name="Get Lock" type="Action"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the required lock. Mandatory parameter." expr="[Lock Name]" /><input type="timespan" name="Timeout" narrative="The maximum amount of time to await the lock. Default is to wait forever" expr="[Lock Timeout]" /><input type="text" name="Preferred Token" narrative="The preferred token to use for the lock. Default behaviour is to generate a new unique token." expr="" /><input type="text" name="Comment" narrative="The comments to set on the lock" expr="" /></inputs><outputs><output type="text" name="Token" narrative="The token registered against the lock. This will be empty if the lock could not be acquired" stage="Lock Token" /></outputs><onsuccess>16fbfb95-1d09-4c74-9af4-2eae4379c7cf</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Acquire Lock" /></stage><stage stageid="63a9e96b-5ca1-451c-9739-fce444b3d5c0" name="Lock Timeout" type="Data"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>0.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="06aec5d8-f96a-412f-b985-123365be2575" name="Get Locked Items" type="Action"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue for which the locked items are required" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tags" narrative="Optionally, the semi-colon separated tags to filter the locked items with. Empty implies that all locked items in the queue should be returned" expr="" /></inputs><outputs><output type="collection" name="Locked Items" narrative="The currently locked items in the queue. Columns are 'Item ID' : text, and 'Locked' : datetime. The elements in the collection will be in locked date/time order" stage="Locked Items" /></outputs><onsuccess>43a61663-4c9f-410a-8ea9-65e9f62064db</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Locked Items" /></stage><stage stageid="9f5a511e-754b-4593-b202-afc821754bf0" name="Locked Items" type="Collection"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item ID" type="text" /><field name="Locked" type="datetime" /></collectioninfo></stage><stage stageid="2c2686d7-378d-4d1b-af45-c93e5bab6a8b" name="Locked Items" type="LoopStart"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>390</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>4d771982-ed08-4777-b07a-b66abdb73cde</onsuccess><groupid>59d4a8bd-f4e1-41aa-a5db-1e98a1e74976</groupid><looptype>ForEach</looptype><loopdata>Locked Items</loopdata></stage><stage stageid="485f4dd3-c568-444d-bc42-8d689c66144d" name="Locked Items" type="LoopEnd"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>690</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>1c891bd5-7491-4ab9-af1d-caead89a218c</onsuccess><groupid>59d4a8bd-f4e1-41aa-a5db-1e98a1e74976</groupid></stage><stage stageid="90fea2f5-b80e-481f-a0c1-c6cbc82be6a0" name="End5" type="End"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1020</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="b3a94dba-59ff-4ba9-8f88-9ad26e3e9277" name="Unlocked" type="Data"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>465</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="547fc90a-f431-4412-a744-efa7f2494208" name="Mark as Exception" type="Action"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>825</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to mark" expr="[Item ID]" /><input type="text" name="Exception Reason" narrative="A description of the reason for the exception" expr=""Unlocked"" /><input type="flag" name="Retry" narrative="Whether or not to retry the item, up to the maximum number of attempts specified for the queue. Optional - if not specified, the item will be retried" expr="" /><input type="flag" name="Keep Locked" narrative="Whether or not the clone of the item should remain locked after the exception has been registered and the item is retried. Optional - default is False" expr="" /></inputs><outputs><output type="text" name="New Item ID" narrative="The Item ID of the newly cloned item. This item will be locked if 'Keep Locked' is True. This will be empty if no item was cloned (ie. the item was not retried." stage="" /></outputs><onsuccess>192e0ac4-89ff-4f30-890b-14901f47232b</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Mark Exception" /></stage><stage stageid="1bf33a47-cdc8-48e1-805a-8286b4210b7c" name="Item ID" type="Data"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>750</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="1c891bd5-7491-4ab9-af1d-caead89a218c" name="Get Next Item" type="Action"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>750</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Name]" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr="[Tag]" /></inputs><outputs><output type="text" name="Item ID" narrative="The ID of the item retrieved - empty if there are none available." stage="Item ID" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="" /><output type="text" name="Status" narrative="The status of the item." stage="" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="" /></outputs><onsuccess>1b5b42dc-b47f-44f4-a27d-34e93606603f</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Next Item" /></stage><stage stageid="1b5b42dc-b47f-44f4-a27d-34e93606603f" name="Got Item?" type="Decision"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>15</displayx><displayy>825</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item ID]<>""" /><ontrue>547fc90a-f431-4412-a744-efa7f2494208</ontrue><onfalse>beeb9ee8-b47a-4d02-8720-62fe9cfa2a78</onfalse></stage><stage stageid="192e0ac4-89ff-4f30-890b-14901f47232b" name="anchor2" type="Anchor"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>135</displayx><displayy>750</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>1c891bd5-7491-4ab9-af1d-caead89a218c</onsuccess></stage><stage stageid="c7aa10b0-e53b-4520-a08e-6e1e0b4c589d" name="Tag" type="Data"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>690</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Unlocked</initialvalue><private /><alwaysinit /></stage><stage stageid="50acf9b1-9929-454c-8ca4-8a8ebc13b8f9" name="Unlock Item" type="Action"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>465</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the work queue item which should be unlocked" expr="[Locked Items.Item ID]" /></inputs><outputs><output type="flag" name="Unlocked" narrative="Whether the item was unlocked as a result of this action or not. If the item had finished being worked elsewhere before this action had run, this will be 'False'" stage="Unlocked" /></outputs><onsuccess>a3f1220e-9f83-4cf8-82a8-c34cc4c40e7e</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Unlock Item" /></stage><stage stageid="a3f1220e-9f83-4cf8-82a8-c34cc4c40e7e" name="Unlocked?" type="Decision"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>255</displayx><displayy>465</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Unlocked]" /><ontrue>0e49a2d7-369f-4250-80d0-b07f737e341e</ontrue><onfalse>cd575a45-5bbc-4a45-b1e5-babc9daaa676</onfalse></stage><stage stageid="4599cd81-f350-4e48-82c3-6ad8862a0072" name="Tag Item" type="Action"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>255</displayx><displayy>645</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[Locked Items.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Tag]" /></inputs><onsuccess>970345e7-d563-4056-9f05-2c22ef65aae3</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="8b0845c7-8110-43db-bade-ba5aae29b557" name="anchor13" type="Anchor"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>405</displayx><displayy>690</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>970345e7-d563-4056-9f05-2c22ef65aae3</onsuccess></stage><stage stageid="c5804292-69b5-430f-80b4-9cdd34ae25c2" name="Note5" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative>The item must have been worked just now, since the 'Get Lock Items' stage. NB This is unlikely to happen.</narrative><displayx>405</displayx><displayy>570</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>8b0845c7-8110-43db-bade-ba5aae29b557</onsuccess></stage><stage stageid="0e49a2d7-369f-4250-80d0-b07f737e341e" name="Note5" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative>The item was locked some time ago and was successfully unlocked, so assume it to be an exception.</narrative><displayx>255</displayx><displayy>570</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>4599cd81-f350-4e48-82c3-6ad8862a0072</onsuccess></stage><stage stageid="43a61663-4c9f-410a-8ea9-65e9f62064db" name="Date Threshold" type="Calculation"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>2c2686d7-378d-4d1b-af45-c93e5bab6a8b</onsuccess><calculation expression="MakeDateTime(FormatDate(Today(), "dd"), FormatDate(Today(), "MM"), FormatDate(Today(), "yyyy"), 0, 0, 0, True)" stage="Date Threshold" /></stage><stage stageid="64e30376-c4e0-4d3f-8ca3-28316e5163e8" name="Date Threshold" type="Data"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>315</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="4d771982-ed08-4777-b07a-b66abdb73cde" name="Locked Recently?" type="Decision"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>15</displayx><displayy>465</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Locked Items.Locked]>[Date Threshold]" /><ontrue>b927e328-54c6-4a85-b164-e2d3f7e76984</ontrue><onfalse>50acf9b1-9929-454c-8ca4-8a8ebc13b8f9</onfalse></stage><stage stageid="b927e328-54c6-4a85-b164-e2d3f7e76984" name="Note5" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative>This item was locked recently and may be in the process of being worked, so leave it alone.</narrative><displayx>15</displayx><displayy>570</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>485f4dd3-c568-444d-bc42-8d689c66144d</onsuccess></stage><stage stageid="970345e7-d563-4056-9f05-2c22ef65aae3" name="anchor4" type="Anchor"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>255</displayx><displayy>690</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>485f4dd3-c568-444d-bc42-8d689c66144d</onsuccess></stage><stage stageid="cd575a45-5bbc-4a45-b1e5-babc9daaa676" name="anchor12" type="Anchor"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>405</displayx><displayy>465</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>c5804292-69b5-430f-80b4-9cdd34ae25c2</onsuccess></stage><stage stageid="80a805cf-87f5-4a88-94d4-ed439b50ffad" name="Note2" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative>** NB A date threshold is calculated to use as a 'cut off' point. Any locked items older than this date are deemed to be exceptions.</narrative><displayx>210</displayx><displayy>270</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>43a61663-4c9f-410a-8ea9-65e9f62064db</onsuccess></stage><stage stageid="3e173a88-3879-4b6b-9e28-52a14c2f3d9c" name="Note2" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative>** NB The item cannot be marked as an exception immediately, so a tag is used to identify the item an unlocked.</narrative><displayx>600</displayx><displayy>705</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>4599cd81-f350-4e48-82c3-6ad8862a0072</onsuccess></stage><stage stageid="b174c284-11b0-43d4-a536-344db6355781" name="Note2" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative>** NB Any item with the tag is marked as an exception.</narrative><displayx>330</displayx><displayy>855</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>547fc90a-f431-4412-a744-efa7f2494208</onsuccess></stage><stage stageid="1dbe53ac-63ba-4029-98d7-347d49c096a4" name="Start" type="Start"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>73c89f51-ebce-400f-b15d-8f094e061e92</onsuccess></stage><stage stageid="7301c52b-e44e-4923-860d-21ae91951c73" name="Got Lock?" type="Decision"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>90</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Lock Token]<>""" /><ontrue>e0d712b4-72dc-4210-bd10-0cf5491ddcfd</ontrue><onfalse>e70e0b1e-a234-4b6f-8d45-26a09c4a97c1</onfalse></stage><stage stageid="d3d9f3f2-91c6-40eb-9812-26125384d59d" name="Lock Name" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>60</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="2d7ff29e-4597-40f2-8aee-c7fc84232ee8" name="Lock Token" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>120</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="12627896-e772-48c0-9e37-e3b8dbab777e" name="End4" type="End"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>270</displayx><displayy>90</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="73c89f51-ebce-400f-b15d-8f094e061e92" name="Lock Name" type="Calculation"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>198bec65-5f24-4761-b69c-4256fdfbbb88</onsuccess><calculation expression=""Synchronise "&[Current Queue]" stage="Lock Name" /></stage><stage stageid="dc4287dc-085e-40e7-aeec-1da1cb511aba" name="Current Queue" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue A</initialvalue><private /><alwaysinit /></stage><stage stageid="e70e0b1e-a234-4b6f-8d45-26a09c4a97c1" name="Note5" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative>The lock is held elsewhere, probably because this work is currently being done on another machine.</narrative><displayx>150</displayx><displayy>90</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>12627896-e772-48c0-9e37-e3b8dbab777e</onsuccess></stage><stage stageid="198bec65-5f24-4761-b69c-4256fdfbbb88" name="Get Lock" type="Action"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>15</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the required lock. Mandatory parameter." expr="[Lock Name]" /><input type="timespan" name="Timeout" narrative="The maximum amount of time to await the lock. Default is to wait forever" expr="[Lock Timeout]" /><input type="text" name="Preferred Token" narrative="The preferred token to use for the lock. Default behaviour is to generate a new unique token." expr="" /><input type="text" name="Comment" narrative="The comments to set on the lock" expr="" /></inputs><outputs><output type="text" name="Token" narrative="The token registered against the lock. This will be empty if the lock could not be acquired" stage="Lock Token" /></outputs><onsuccess>7301c52b-e44e-4923-860d-21ae91951c73</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Acquire Lock" /></stage><stage stageid="a2ca18c0-3d49-49a5-8cf0-284c31070941" name="Lock Timeout" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>90</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>0.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="153f5e28-83a9-4fb4-a86d-f9adc59ceaa6" name="Get Completed Items" type="Action"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>300</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to retrieve the completed items from" expr="[Current Queue]" /><input type="datetime" name="Start Date" narrative="The start date from which any items marked as complete should be returned. Optional - No date indicates no start date threshold" expr="[Period Start]" /><input type="datetime" name="End Date" narrative="The end date up to which any items marked as complete should be returned. Optional - No date indicates no end date threshold" expr="[Period End]" /><input type="number" name="Maximum Rows" narrative="The maximum number of rows to return. Optional - No value indicates that all rows should be returned" expr="" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr=""-"&[Tag]" /></inputs><outputs><output type="collection" name="Completed Items" narrative="The items which were marked as complete within the given date range, up to the maximum count if one was given" stage="Item IDs" /></outputs><onsuccess>52beb92e-2f9f-4d76-a1d0-d7f5a7b36082</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Completed Items" /></stage><stage stageid="7e6b1627-4b6b-4667-b259-2a339e5f965e" name="Item IDs" type="Collection"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>405</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item ID" type="text" description="The Item ID of the work queue item" /></collectioninfo></stage><stage stageid="52beb92e-2f9f-4d76-a1d0-d7f5a7b36082" name="Item IDs" type="LoopStart"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>360</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>660f8b29-7109-4a72-a0dd-0f01904b93d7</onsuccess><groupid>c69ba3e6-fecb-4600-962c-c1bec9e071ec</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="2996d1c3-baae-4085-ac94-314dc8c59bb6" name="Item IDs" type="LoopEnd"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9df4cc1a-f0d0-4960-8437-5bd4e49013a0</onsuccess><groupid>c69ba3e6-fecb-4600-962c-c1bec9e071ec</groupid></stage><stage stageid="e0d712b4-72dc-4210-bd10-0cf5491ddcfd" name="Period Start" type="Calculation"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>210</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>a72c8c78-7a04-46d0-b72a-859ba7de0d52</onsuccess><calculation expression="Now()-[Period Length]" stage="Period Start" /></stage><stage stageid="acaaabce-b178-42ba-aa51-3c4b06b07893" name="Period Length" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>225</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>7.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="d06ca2d6-ea7a-4c2d-8b28-391d328e03ff" name="Period Start" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>255</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="ab87f1ba-8722-463a-97d1-25fc05640a69" name="Period End" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>285</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="a72c8c78-7a04-46d0-b72a-859ba7de0d52" name="Period End" type="Calculation"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>255</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>153f5e28-83a9-4fb4-a86d-f9adc59ceaa6</onsuccess><calculation expression="Now()" stage="Period End" /></stage><stage stageid="b65f6809-3516-42a0-b59f-5b26ff6f3e3e" name="Next Queue" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">My Queue B</initialvalue><private /><alwaysinit /></stage><stage stageid="43d891fa-4954-4c48-aa6b-c7fa6551ab23" name="Check in Next Queue" type="Action"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>480</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to check" expr="[Next Queue]" /><input type="text" name="Key" narrative="The key to check." expr="[Item Key]" /><input type="flag" name="Include Pending" narrative="Check any items in the queue which are currently awaiting being worked. This will include any deferred items which have a deferral date in the past and any locked items. Optional - Default is True" expr="True" /><input type="flag" name="Include Deferred" narrative="Check any items in the queue which are currently deferred to a later date. Optional - Default is True" expr="True" /><input type="flag" name="Include Completed" narrative="Check any items in the queue which are completed. Optional - Default is True" expr="True" /><input type="flag" name="Include Terminated" narrative="Check any items in the queue which have been fully terminated. Optional - Default is True" expr="True" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The Item IDs which represent the work items found with the given key" stage="" /><output type="flag" name="Result" narrative="True if an item with the given key is in the queue, False otherwise." stage="Item Key Exists" /></outputs><onsuccess>aa6b2ada-1155-4ec4-9c1f-f0a659d62337</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Is Item In Queue" /></stage><stage stageid="dfd37dd2-a765-4009-a3b9-5684dfbed130" name="Item Key Exists" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>570</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="aa6b2ada-1155-4ec4-9c1f-f0a659d62337" name="Item Key Exists?" type="Decision"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>555</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item Key Exists]" /><ontrue>2996d1c3-baae-4085-ac94-314dc8c59bb6</ontrue><onfalse>e108b2f5-9a25-40f1-a1af-48fa4ad5fed4</onfalse></stage><stage stageid="660f8b29-7109-4a72-a0dd-0f01904b93d7" name="Get Item Data" type="Action"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to get data from. An error will be raised if this item does not exist." expr="[Item IDs.Item ID]" /></inputs><outputs><output type="text" name="Key" narrative="The key value of the item." stage="Item Key" /><output type="text" name="Status" narrative="The status of the item." stage="" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="" /><output type="timespan" name="Worktime" narrative="The total time spent on this item (including previous attempts)" stage="" /><output type="timespan" name="Attempt Worktime" narrative="The amount of time spent on this particular attempt of the item" stage="" /><output type="datetime" name="Loaded DateTime" narrative="The date and time at which this item was first loaded into the queue." stage="" /><output type="datetime" name="Deferred DateTime" narrative="The date and time at which this item has been deferred to. Empty if this item has not been deferred." stage="" /><output type="datetime" name="Completed DateTime" narrative="The date and time at which this item was marked as complete. Empty if this item has not been marked as complete" stage="" /><output type="datetime" name="Exception DateTime" narrative="The date and time at which this item was marked as an exception. Empty if there has never been an exception on this item." stage="" /><output type="text" name="Exception Reason" narrative="The exception reason recorded against this item." stage="" /><output type="text" name="Tags" narrative="The semi-colon separated set of tags which apply to the item. " stage="" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data" /></outputs><onsuccess>43d891fa-4954-4c48-aa6b-c7fa6551ab23</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Item Data" /></stage><stage stageid="d0ecf8fd-5075-478a-90ce-9ac2f22a0d69" name="Item Key" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>465</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="e108b2f5-9a25-40f1-a1af-48fa4ad5fed4" name="Note5" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative>The case has completed this stage but does not exist in the next queue. So add a new item to the next queue and tag the original item to indicate case has been promoted to the next stage.</narrative><displayx>150</displayx><displayy>555</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>be8ec692-1f50-4ead-8767-f8fd78fb4b8f</onsuccess></stage><stage stageid="b9d9231d-0a11-457e-a631-c57977599f82" name="Item Data" type="Collection"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>510</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="be8ec692-1f50-4ead-8767-f8fd78fb4b8f" name="Add to Queue 2" type="Action"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>285</displayx><displayy>555</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Next Queue]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>edba450e-6f12-47ec-807c-54a76af5fac2</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="60d37f84-a251-4bdc-8412-74122d569126" name="Tag" type="Data"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>315</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Promoted</initialvalue><private /><alwaysinit /></stage><stage stageid="edba450e-6f12-47ec-807c-54a76af5fac2" name="Tag Queue 1 Item" type="Action"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Tag]" /></inputs><onsuccess>2996d1c3-baae-4085-ac94-314dc8c59bb6</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="fba3b30f-8238-40d7-9e10-6fc5c7ca836b" name="Note2" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative>** NB Dates are calculated to create a time period in which to look for items, in this example the last 7 days.</narrative><displayx>465</displayx><displayy>105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>e0d712b4-72dc-4210-bd10-0cf5491ddcfd</onsuccess></stage><stage stageid="a80d4322-0983-4bdc-b70a-efc6aa747b49" name="Note2" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative>** NB It is assumed the same 'key value' will be used in both queues.</narrative><displayx>210</displayx><displayy>435</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>43d891fa-4954-4c48-aa6b-c7fa6551ab23</onsuccess></stage><stage stageid="8a919248-d50d-45c5-bfee-830b5daad2b2" name="Note2" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative>** NB In this example the 'item data' collection is re-used to create the new item. This does not have to be the case, the new item could have its own collection with different columns from the first collection.</narrative><displayx>465</displayx><displayy>495</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>be8ec692-1f50-4ead-8767-f8fd78fb4b8f</onsuccess></stage><stage stageid="0cddaac3-7b47-481b-8a5d-71ddd8c5313e" name="Note2" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative>** NB A 'negative' tag filter is used here, ie to find items that do not have the specified tag.</narrative><displayx>210</displayx><displayy>270</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>153f5e28-83a9-4fb4-a86d-f9adc59ceaa6</onsuccess></stage><stage stageid="7dda88e2-3778-483c-8694-f362c590ae10" name="Maintain Queue (synchronise many queues)" type="SubSheetInfo"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative>In this example a collection of queue names is used to move cases through a sequence of stages.
Here both completed items and exception items are used to move cases on.</narrative><displayx>-195</displayx><displayy>-105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="98b2528e-a811-4897-8254-a7cdba106f9c" name="Note2" type="Note"><subsheetid>88485c9f-8ea2-4d08-99e6-3168fb8e7f18</subsheetid><narrative>** NB An environment lock is used to ensure only one machine does this work at any one time.</narrative><displayx>225</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>c53cbb84-f6f1-4e17-bfcc-2892726eb41f</onsuccess></stage><stage stageid="4680e844-15c4-480f-b924-1517f54c3643" name="Note2" type="Note"><subsheetid>af0b997f-1398-44db-a72e-de2aba33eea8</subsheetid><narrative>** NB An environment lock is used to ensure only one machine does this work at any one time.</narrative><displayx>225</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>9db5822c-cf2d-4410-9655-75ecc7f04e6a</onsuccess></stage><stage stageid="ab3383be-bab0-4c2c-8e6e-47dc85d3037c" name="Note2" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative>** NB An environment lock is used to ensure only one machine does this work at any one time.</narrative><displayx>210</displayx><displayy>-75</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>7f6ee8f2-a03e-4263-a41d-70dc71f5c6b3</onsuccess></stage><stage stageid="05f0042e-7518-4f52-8417-43aa23254733" name="Note2" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative>** NB An environment lock is used to ensure only one machine does this work at any one time.</narrative><displayx>210</displayx><displayy>-60</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>198bec65-5f24-4761-b69c-4256fdfbbb88</onsuccess></stage><stage stageid="906fa88b-73ab-4434-96e5-ab0fab56757b" name="Start" type="Start"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>-105</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>aeda9bc2-750a-4303-93a3-d5f8acec2755</onsuccess></stage><stage stageid="b9d8fb39-e90a-4e2f-a5b8-676d80700752" name="Queue Names" type="Collection"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>180</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Current Queue" type="text" /><field name="Next Queue After Completion" type="text" /><field name="Next Queue After Exception" type="text" /></collectioninfo><initialvalue><row><field name="Current Queue" type="text" value="My Queue A" /><field name="Next Queue After Completion" type="text" value="My Queue B" /><field name="Next Queue After Exception" type="text" value="My Queue X" /></row><row><field name="Current Queue" type="text" value="My Queue B" /><field name="Next Queue After Completion" type="text" value="My Queue C" /><field name="Next Queue After Exception" type="text" value="" /></row><row><field name="Current Queue" type="text" value="My Queue C" /><field name="Next Queue After Completion" type="text" value="" /><field name="Next Queue After Exception" type="text" value="My Queue Y" /></row></initialvalue></stage><stage stageid="df8a2299-8967-4d1d-98f3-d91649ebbfd2" name="Queue Names" type="LoopStart"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>240</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>011cf1ea-1122-4ab3-ad76-793b8c649d31</onsuccess><groupid>18552619-c327-406e-9f94-61a3df17b4c8</groupid><looptype>ForEach</looptype><loopdata>Queue Names</loopdata></stage><stage stageid="6802c43b-0690-4166-83e7-7a6528b6c021" name="Queue Names" type="LoopEnd"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1110</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>95465138-b795-4105-b240-75670cb558e6</onsuccess><groupid>18552619-c327-406e-9f94-61a3df17b4c8</groupid></stage><stage stageid="465caa3b-879a-4791-8400-75324324a788" name="Get Completed Items" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>315</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to retrieve the completed items from" expr="[Queue Names.Current Queue]" /><input type="datetime" name="Start Date" narrative="The start date from which any items marked as complete should be returned. Optional - No date indicates no start date threshold" expr="[Period Start]" /><input type="datetime" name="End Date" narrative="The end date up to which any items marked as complete should be returned. Optional - No date indicates no end date threshold" expr="[Period End]" /><input type="number" name="Maximum Rows" narrative="The maximum number of rows to return. Optional - No value indicates that all rows should be returned" expr="" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr=""-"&[Tag]" /></inputs><outputs><output type="collection" name="Completed Items" narrative="The items which were marked as complete within the given date range, up to the maximum count if one was given" stage="Item IDs" /></outputs><onsuccess>3d03dfcc-e6c6-4fbb-8aaf-473e980424fd</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Completed Items" /></stage><stage stageid="0db5f65f-75b4-4d74-912e-953d693923c8" name="Period Start" type="Calculation"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>150</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>fe65280e-e06c-4be9-9a9d-2cdb4fa989ab</onsuccess><calculation expression="Now()-[Period Length]" stage="Period Start" /></stage><stage stageid="14a093dd-7dc8-408c-9aee-f5513a92a8f1" name="Period Length" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>240</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>7.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="463d5a5b-8555-421c-8264-eed8f47d89f4" name="Period Start" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>270</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="fe65280e-e06c-4be9-9a9d-2cdb4fa989ab" name="Period End" type="Calculation"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>195</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>df8a2299-8967-4d1d-98f3-d91649ebbfd2</onsuccess><calculation expression="Now()" stage="Period End" /></stage><stage stageid="153aa2c2-98d4-47ad-8fad-2242b2b2fee4" name="Item IDs" type="Collection"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>420</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /><collectioninfo><field name="Item ID" type="text" description="The Item ID of the work queue item" /></collectioninfo></stage><stage stageid="3d03dfcc-e6c6-4fbb-8aaf-473e980424fd" name="Item IDs" type="LoopStart"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>360</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9a31ca28-3df2-4274-a4a0-1f76c89b6317</onsuccess><groupid>d9899048-7061-4255-8c74-9b1552556f5e</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="b585960a-36a5-49e4-ae98-2ed6e9414894" name="Item IDs" type="LoopEnd"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>630</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>40375afb-ca95-4a05-918d-d9496a3f6ba6</onsuccess><groupid>d9899048-7061-4255-8c74-9b1552556f5e</groupid></stage><stage stageid="ed979e17-e78c-4cfc-abe7-b32817efe9c8" name="Check in Next Queue" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>285</displayx><displayy>480</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to check" expr="[Queue Names.Next Queue After Completion]" /><input type="text" name="Key" narrative="The key to check." expr="[Item Key]" /><input type="flag" name="Include Pending" narrative="Check any items in the queue which are currently awaiting being worked. This will include any deferred items which have a deferral date in the past and any locked items. Optional - Default is True" expr="True" /><input type="flag" name="Include Deferred" narrative="Check any items in the queue which are currently deferred to a later date. Optional - Default is True" expr="True" /><input type="flag" name="Include Completed" narrative="Check any items in the queue which are completed. Optional - Default is True" expr="True" /><input type="flag" name="Include Terminated" narrative="Check any items in the queue which have been fully terminated. Optional - Default is True" expr="True" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The Item IDs which represent the work items found with the given key" stage="" /><output type="flag" name="Result" narrative="True if an item with the given key is in the queue, False otherwise." stage="Item Key Exists" /></outputs><onsuccess>3202f7b6-3a24-44d7-88cc-89dbd6ca5421</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Is Item In Queue" /></stage><stage stageid="4cc3cce7-3dcb-4eb1-887b-12646d266af1" name="Item Key Exists" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>585</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>flag</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="3202f7b6-3a24-44d7-88cc-89dbd6ca5421" name="Item Key Exists?" type="Decision"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>285</displayx><displayy>555</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item Key Exists]" /><ontrue>b585960a-36a5-49e4-ae98-2ed6e9414894</ontrue><onfalse>eb135ddd-fb93-4c11-afbc-e26cfd114b1e</onfalse></stage><stage stageid="9a31ca28-3df2-4274-a4a0-1f76c89b6317" name="Get Item Data" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>285</displayx><displayy>420</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to get data from. An error will be raised if this item does not exist." expr="[Item IDs.Item ID]" /></inputs><outputs><output type="text" name="Key" narrative="The key value of the item." stage="Item Key" /><output type="text" name="Status" narrative="The status of the item." stage="" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="" /><output type="timespan" name="Worktime" narrative="The total time spent on this item (including previous attempts)" stage="" /><output type="timespan" name="Attempt Worktime" narrative="The amount of time spent on this particular attempt of the item" stage="" /><output type="datetime" name="Loaded DateTime" narrative="The date and time at which this item was first loaded into the queue." stage="" /><output type="datetime" name="Deferred DateTime" narrative="The date and time at which this item has been deferred to. Empty if this item has not been deferred." stage="" /><output type="datetime" name="Completed DateTime" narrative="The date and time at which this item was marked as complete. Empty if this item has not been marked as complete" stage="" /><output type="datetime" name="Exception DateTime" narrative="The date and time at which this item was marked as an exception. Empty if there has never been an exception on this item." stage="" /><output type="text" name="Exception Reason" narrative="The exception reason recorded against this item." stage="" /><output type="text" name="Tags" narrative="The semi-colon separated set of tags which apply to the item. " stage="" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data" /></outputs><onsuccess>ed979e17-e78c-4cfc-abe7-b32817efe9c8</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Item Data" /></stage><stage stageid="8619f395-8bf5-453a-a9d7-3a54a149cb74" name="Item Key" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>480</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="b68aa9d1-c7d1-4747-a383-f52cfd27a1ac" name="Item Data" type="Collection"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>525</displayy><displaywidth>150</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>collection</datatype><private /><alwaysinit /></stage><stage stageid="4e7fe722-b4a5-4b0b-9369-9a23014d993a" name="Tag" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>330</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Promoted</initialvalue><private /><alwaysinit /></stage><stage stageid="eb135ddd-fb93-4c11-afbc-e26cfd114b1e" name="Note5" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative>The case has completed this stage but does not exist in the next queue. So add a new item to the next queue and tag the original item to indicate case has been promoted to the next stage.</narrative><displayx>405</displayx><displayy>555</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>ee571fd9-9ada-4d5c-af70-f2e68da9b2e3</onsuccess></stage><stage stageid="ee571fd9-9ada-4d5c-af70-f2e68da9b2e3" name="Add to Next Queue" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>540</displayx><displayy>555</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Names.Next Queue After Completion]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>38cf0049-68f4-49a8-b086-6da0b95758f1</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="38cf0049-68f4-49a8-b086-6da0b95758f1" name="Tag Current Queue Item" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>540</displayx><displayy>630</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Tag]" /></inputs><onsuccess>b585960a-36a5-49e4-ae98-2ed6e9414894</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="eca9c8d0-2591-42de-afe6-dd6f43293191" name="Note2" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative>** NB It is assumed the same 'key value' will be used in all queues.</narrative><displayx>465</displayx><displayy>390</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>ed979e17-e78c-4cfc-abe7-b32817efe9c8</onsuccess></stage><stage stageid="7c7e3e13-3a86-4f2d-b074-5b5226b65cf5" name="Note2" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative>** NB In this example the 'item data' collection is re-used to create the new item. This does not have to be the case, the new item could have its own collection with different columns from the first collection.</narrative><displayx>720</displayx><displayy>450</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>ee571fd9-9ada-4d5c-af70-f2e68da9b2e3</onsuccess></stage><stage stageid="8825c477-cd81-4a0b-9eed-afe1cf29a624" name="Get Exception Items" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>720</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to retrieve the exception items from" expr="[Queue Names.Current Queue]" /><input type="datetime" name="Start Date" narrative="Optionally, the start threshold date. Any items returned will have been marked as an exception after this date. If no value is given, there will be no start threshold." expr="[Period Start]" /><input type="datetime" name="End Date" narrative="Optionally, the end threshold date. Any items returned will have been marked as an exception before this date. If no value is given, there will be no end threshold." expr="[Period End]" /><input type="number" name="Maximum Rows" narrative="Optionally, the maximum number of rows to return. No value indicates that all rows should be returned" expr="" /><input type="text" name="Key Filter" narrative="Optionally, a key value to filter by. Only items with this key value will be considered." expr="" /><input type="text" name="Tag Filter" narrative="Optionally, a tag mask to filter by. The tag should be in the format : ."+wanted tag; -unwanted tag ; other wanted tag"." expr=""-"&[Tag]" /></inputs><outputs><output type="collection" name="Exception Items" narrative="The items which were marked with an exception within the given date range, up to the maximum count if one was given" stage="Item IDs" /></outputs><onsuccess>23ca1d6f-ba1a-41eb-bae4-86b88a911edf</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Exception Items" /></stage><stage stageid="011cf1ea-1122-4ab3-ad76-793b8c649d31" name="Check Next Queue?" type="Decision"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>315</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Queue Names.Next Queue After Completion]<>""" /><ontrue>46d47952-db42-4843-95fe-658f947304ed</ontrue><onfalse>41e66301-58b2-404f-960b-8687836dce85</onfalse></stage><stage stageid="f343c1a3-fbb4-4f47-9350-8b5b392a2161" name="Check Exception Queue?" type="Decision"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>720</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Queue Names.Next Queue After Exception]<>""" /><ontrue>fbff3378-f5fa-49c0-8875-d482067584d7</ontrue><onfalse>644475bf-5d39-40e1-bc5c-3a9320932e02</onfalse></stage><stage stageid="41e66301-58b2-404f-960b-8687836dce85" name="Note5" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative>There is no next queue in the sequence</narrative><displayx>15</displayx><displayy>420</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>40375afb-ca95-4a05-918d-d9496a3f6ba6</onsuccess></stage><stage stageid="40375afb-ca95-4a05-918d-d9496a3f6ba6" name="anchor16" type="Anchor"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>630</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>f343c1a3-fbb4-4f47-9350-8b5b392a2161</onsuccess></stage><stage stageid="644475bf-5d39-40e1-bc5c-3a9320932e02" name="Note5" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative>There is no exception queue in the sequence.</narrative><displayx>15</displayx><displayy>825</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>9ea492b7-5848-4721-80e4-29d953c9572a</onsuccess></stage><stage stageid="23ca1d6f-ba1a-41eb-bae4-86b88a911edf" name="Item IDs" type="LoopStart"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>765</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>3bc0410a-e2c4-4baa-9d1f-ca576791dfe4</onsuccess><groupid>8c0f9dbf-b37e-4f96-81cd-3c70d2dbc058</groupid><looptype>ForEach</looptype><loopdata>Item IDs</loopdata></stage><stage stageid="f02fb666-fe7b-4270-8236-5a71ef9bd186" name="Item IDs" type="LoopEnd"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>285</displayx><displayy>1035</displayy><displaywidth>120</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>9ea492b7-5848-4721-80e4-29d953c9572a</onsuccess><groupid>8c0f9dbf-b37e-4f96-81cd-3c70d2dbc058</groupid></stage><stage stageid="57f78a25-460d-4e9c-9001-27e8d562288a" name="Check in Next Queue" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>285</displayx><displayy>885</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to check" expr="[Queue Names.Next Queue After Completion]" /><input type="text" name="Key" narrative="The key to check." expr="[Item Key]" /><input type="flag" name="Include Pending" narrative="Check any items in the queue which are currently awaiting being worked. This will include any deferred items which have a deferral date in the past and any locked items. Optional - Default is True" expr="True" /><input type="flag" name="Include Deferred" narrative="Check any items in the queue which are currently deferred to a later date. Optional - Default is True" expr="True" /><input type="flag" name="Include Completed" narrative="Check any items in the queue which are completed. Optional - Default is True" expr="True" /><input type="flag" name="Include Terminated" narrative="Check any items in the queue which have been fully terminated. Optional - Default is True" expr="True" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The Item IDs which represent the work items found with the given key" stage="" /><output type="flag" name="Result" narrative="True if an item with the given key is in the queue, False otherwise." stage="Item Key Exists" /></outputs><onsuccess>631fbb9e-cdbd-45e2-80c5-94026280e93b</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Is Item In Queue" /></stage><stage stageid="631fbb9e-cdbd-45e2-80c5-94026280e93b" name="Item Key Exists?" type="Decision"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>285</displayx><displayy>960</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Item Key Exists]" /><ontrue>f02fb666-fe7b-4270-8236-5a71ef9bd186</ontrue><onfalse>d329569d-8766-48dc-9b80-6b1125cf763e</onfalse></stage><stage stageid="3bc0410a-e2c4-4baa-9d1f-ca576791dfe4" name="Get Item Data" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>285</displayx><displayy>825</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the item to get data from. An error will be raised if this item does not exist." expr="[Item IDs.Item ID]" /></inputs><outputs><output type="text" name="Key" narrative="The key value of the item." stage="Item Key" /><output type="text" name="Status" narrative="The status of the item." stage="" /><output type="number" name="Attempts" narrative="The number of attempts already made to work this item." stage="" /><output type="timespan" name="Worktime" narrative="The total time spent on this item (including previous attempts)" stage="" /><output type="timespan" name="Attempt Worktime" narrative="The amount of time spent on this particular attempt of the item" stage="" /><output type="datetime" name="Loaded DateTime" narrative="The date and time at which this item was first loaded into the queue." stage="" /><output type="datetime" name="Deferred DateTime" narrative="The date and time at which this item has been deferred to. Empty if this item has not been deferred." stage="" /><output type="datetime" name="Completed DateTime" narrative="The date and time at which this item was marked as complete. Empty if this item has not been marked as complete" stage="" /><output type="datetime" name="Exception DateTime" narrative="The date and time at which this item was marked as an exception. Empty if there has never been an exception on this item." stage="" /><output type="text" name="Exception Reason" narrative="The exception reason recorded against this item." stage="" /><output type="text" name="Tags" narrative="The semi-colon separated set of tags which apply to the item. " stage="" /><output type="collection" name="Data" narrative="The data associated with the item - a single collection row." stage="Item Data" /></outputs><onsuccess>57f78a25-460d-4e9c-9001-27e8d562288a</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Get Item Data" /></stage><stage stageid="d329569d-8766-48dc-9b80-6b1125cf763e" name="Note5" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative>The case has completed this stage but does not exist in the next queue. So add a new item to the next queue and tag the original item to indicate case has been promoted to the next stage.</narrative><displayx>405</displayx><displayy>960</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>6079a185-3711-4402-8fa2-1bb51c4d778c</onsuccess></stage><stage stageid="6079a185-3711-4402-8fa2-1bb51c4d778c" name="Add to Next Queue" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>540</displayx><displayy>960</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Queue Name" narrative="The name of the queue to add items to" expr="[Queue Names.Next Queue After Exception]" /><input type="collection" name="Data" narrative="A collection containing the data, one row for each item to be added" expr="[Item Data]" /><input type="datetime" name="Defer Until" narrative="Optionally, the date/time the new item(s) should be deferred until" expr="" /><input type="number" name="Priority" narrative="Optionally, the priority for the new item(s). Lower numbers represent higher priorities. The default is 0." expr="" /><input type="text" name="Tags" narrative="Optionally, a semi-colon-separated set of tags to apply to the queue item(s)" expr="" /><input type="text" name="Status" narrative="Optionally, the initial status required of the work queue item(s) " expr="" /></inputs><outputs><output type="collection" name="Item IDs" narrative="The IDs of the items which have been added to the queue, in the order of the collection of data passed that was input" stage="" /></outputs><onsuccess>cfa4851a-b43e-4151-84e7-e1227513643c</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Add To Queue" /></stage><stage stageid="cfa4851a-b43e-4151-84e7-e1227513643c" name="Tag Current Queue Item" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>540</displayx><displayy>1035</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Item ID" narrative="The ID of the queue item to add the tag to" expr="[Item IDs.Item ID]" /><input type="text" name="Tag" narrative="The tag to add to the item. Note that this cannot start with a '+' (plus) or '-' (minus) character, and cannot contain ';' (semi-colon) characters" expr="[Tag]" /></inputs><onsuccess>f02fb666-fe7b-4270-8236-5a71ef9bd186</onsuccess><resource object="Blueprism.Automate.clsWorkQueuesActions" action="Tag Item" /></stage><stage stageid="c24e0ed8-c351-4426-98d0-903571a3ab01" name="Note2" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative>** NB It is assumed the same 'key value' will be used in all queues.</narrative><displayx>465</displayx><displayy>810</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>57f78a25-460d-4e9c-9001-27e8d562288a</onsuccess></stage><stage stageid="cc87393c-f39e-4337-9c98-bb5a26f40932" name="Note2" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative>** NB In this example the 'item data' collection is re-used to create the new item. This does not have to be the case, the new item could have its own collection with different columns from the first collection.</narrative><displayx>720</displayx><displayy>840</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>6079a185-3711-4402-8fa2-1bb51c4d778c</onsuccess></stage><stage stageid="9ea492b7-5848-4721-80e4-29d953c9572a" name="anchor16" type="Anchor"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1035</displayy><displaywidth>10</displaywidth><displayheight>10</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>6802c43b-0690-4166-83e7-7a6528b6c021</onsuccess></stage><stage stageid="06f16a77-3a5f-4ca7-a9b3-a8b3d1149e86" name="Period End" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-195</displayx><displayy>300</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>datetime</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="46d47952-db42-4843-95fe-658f947304ed" name="Note5" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative>Ensure that each complettion in the current queue (within the specified period) has a corresponding item in the next queue.</narrative><displayx>150</displayx><displayy>315</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>465caa3b-879a-4791-8400-75324324a788</onsuccess></stage><stage stageid="fbff3378-f5fa-49c0-8875-d482067584d7" name="Note5" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative>Ensure that each exception in the current queue (within the specified period) has a corresponding item in the next queue.</narrative><displayx>150</displayx><displayy>720</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>8825c477-cd81-4a0b-9eed-afe1cf29a624</onsuccess></stage><stage stageid="646f5dc2-618e-4093-88d6-86193b272222" name="Got Lock?" type="Decision"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>45</displayy><displaywidth>90</displaywidth><displayheight>60</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><decision expression="[Lock Token]<>""" /><ontrue>0db5f65f-75b4-4d74-912e-953d693923c8</ontrue><onfalse>751eb923-6b04-4dcb-906e-95b58c86091d</onfalse></stage><stage stageid="a5e2be64-b3d8-41eb-a619-04f82bf3a571" name="Lock Name" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>-15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue xml:space="preserve">Synchronise Queues</initialvalue><private /><alwaysinit /></stage><stage stageid="f521d13d-e83a-4bc2-bc8b-b4549cbf5e1f" name="Lock Token" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>45</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>text</datatype><initialvalue /><private /><alwaysinit /></stage><stage stageid="6648b68d-560b-4e9a-941e-5499dfc29aa4" name="End4" type="End"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>270</displayx><displayy>45</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="751eb923-6b04-4dcb-906e-95b58c86091d" name="Note5" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative>The lock is held elsewhere, probably because this work is currently being done on another machine.</narrative><displayx>150</displayx><displayy>45</displayy><displaywidth>120</displaywidth><displayheight>90</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>6648b68d-560b-4e9a-941e-5499dfc29aa4</onsuccess></stage><stage stageid="aeda9bc2-750a-4303-93a3-d5f8acec2755" name="Get Lock" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>-30</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the required lock. Mandatory parameter." expr="[Lock Name]" /><input type="timespan" name="Timeout" narrative="The maximum amount of time to await the lock. Default is to wait forever" expr="[Lock Timeout]" /><input type="text" name="Preferred Token" narrative="The preferred token to use for the lock. Default behaviour is to generate a new unique token." expr="" /><input type="text" name="Comment" narrative="The comments to set on the lock" expr="" /></inputs><outputs><output type="text" name="Token" narrative="The token registered against the lock. This will be empty if the lock could not be acquired" stage="Lock Token" /></outputs><onsuccess>646f5dc2-618e-4093-88d6-86193b272222</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Acquire Lock" /></stage><stage stageid="fce22291-c464-4ce9-bcbb-5912826100c7" name="Lock Timeout" type="Data"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>-195</displayx><displayy>15</displayy><displaywidth>150</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><datatype>timespan</datatype><initialvalue>0.00:00:00</initialvalue><private /><alwaysinit /></stage><stage stageid="f1c0c617-77d0-405a-bda4-24b96be0a961" name="Note2" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative>** NB An environment lock is used to ensure only one machine does this work at any one time.</narrative><displayx>225</displayx><displayy>-105</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>aeda9bc2-750a-4303-93a3-d5f8acec2755</onsuccess></stage><stage stageid="beeb9ee8-b47a-4d02-8720-62fe9cfa2a78" name="Release Lock" type="Action"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>960</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>90fea2f5-b80e-481f-a0c1-c6cbc82be6a0</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="9126d32e-98f5-4871-a2aa-e8958be3ded8" name="Note2" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative>** NB After maintaining the queue, the lock is released.</narrative><displayx>-180</displayx><displayy>1005</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>beeb9ee8-b47a-4d02-8720-62fe9cfa2a78</onsuccess></stage><stage stageid="d18fa266-8f7e-40c1-a142-c93f89f2f553" name="Block2" type="Block"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>165</displayy><displaywidth>585</displaywidth><displayheight>765</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="163c1938-0212-4ef5-a13a-bff5bafe43b9" name="Recover" type="Recover"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>900</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>60878dcc-3d5a-46dd-88b1-567b04ee9de4</onsuccess></stage><stage stageid="60878dcc-3d5a-46dd-88b1-567b04ee9de4" name="Release Lock" type="Action"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>960</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>1390052f-3da3-4323-b9c3-1a8dbafa273d</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="1390052f-3da3-4323-b9c3-1a8dbafa273d" name="Throw" type="Exception"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>1020</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="4c7cf640-6810-43bd-99d8-1fab0b8a0c54" name="Note2" type="Note"><subsheetid>73088449-bfbc-4b95-ab5d-e769c2839b59</subsheetid><narrative>** NB In the event of an exception the lock must be released.</narrative><displayx>330</displayx><displayy>1005</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>60878dcc-3d5a-46dd-88b1-567b04ee9de4</onsuccess></stage><stage stageid="7e8ca434-b96c-4f75-ab18-453747e0560f" name="End5" type="End"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>15</displayx><displayy>825</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="9df4cc1a-f0d0-4960-8437-5bd4e49013a0" name="Release Lock" type="Action"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>765</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>7e8ca434-b96c-4f75-ab18-453747e0560f</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="e76fdda5-4236-4a9c-bee6-ccfd23a1a90a" name="Note2" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative>** NB After maintaining the queue, the lock is released.</narrative><displayx>-180</displayx><displayy>810</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>9df4cc1a-f0d0-4960-8437-5bd4e49013a0</onsuccess></stage><stage stageid="aa3e29cc-935f-4357-a14b-56b779914229" name="Recover" type="Recover"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>705</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>61122d48-a8f1-426f-83c7-8b0c4b947b1f</onsuccess></stage><stage stageid="61122d48-a8f1-426f-83c7-8b0c4b947b1f" name="Release Lock" type="Action"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>765</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>98e13b9f-9c6f-4b23-a879-717cd751c024</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="98e13b9f-9c6f-4b23-a879-717cd751c024" name="Throw" type="Exception"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><loginhibit /><narrative></narrative><displayx>135</displayx><displayy>825</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="8c3461a1-c517-434c-a657-688260512471" name="Note2" type="Note"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative>** NB In the event of an exception the lock must be released.</narrative><displayx>330</displayx><displayy>810</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>61122d48-a8f1-426f-83c7-8b0c4b947b1f</onsuccess></stage><stage stageid="d13744cd-38ba-41e4-8724-a2dc0a81fccd" name="Block3" type="Block"><subsheetid>f341d164-7e83-4dfd-a6d5-8a418082351d</subsheetid><narrative></narrative><displayx>-75</displayx><displayy>150</displayy><displaywidth>435</displaywidth><displayheight>585</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="9ffa4a88-4b71-4d97-b683-bfa1afa3aa89" name="End5" type="End"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>15</displayx><displayy>1230</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="95465138-b795-4105-b240-75670cb558e6" name="Release Lock" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>15</displayx><displayy>1170</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>9ffa4a88-4b71-4d97-b683-bfa1afa3aa89</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="76664535-75dd-49ab-83c4-fac2774becd1" name="Note2" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative>** NB After maintaining the queue, the lock is released.</narrative><displayx>-180</displayx><displayy>1215</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>95465138-b795-4105-b240-75670cb558e6</onsuccess></stage><stage stageid="f6dca489-a8dd-4d25-8fa2-44b770eda5f0" name="Recover" type="Recover"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>150</displayx><displayy>1110</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><onsuccess>549aa66a-8ea4-493d-bc0b-2bdfa795ddd3</onsuccess></stage><stage stageid="549aa66a-8ea4-493d-bc0b-2bdfa795ddd3" name="Release Lock" type="Action"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>150</displayx><displayy>1170</displayy><displaywidth>90</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><inputs><input type="text" name="Name" narrative="The name of the specific lock to be released. Default behaviour is to release all locks with the given token." expr="[Lock Name]" /><input type="text" name="Comment" narrative="The comments to set on the lock(s)" expr="" /><input type="text" name="Token" narrative="The token associated with the lock(s) to be released. Mandatory parameter." expr="[Lock Token]" /><input type="flag" name="All Sessions" narrative="True to release locks matching the specified constraints across all sessions; False to only release locks acquired in the current session. Default is False" expr="True" /></inputs><onsuccess>2d004d52-fadf-4101-a4d2-fcf5b1be5257</onsuccess><resource object="BluePrism.AutomateAppCore.clsEnvironmentLockingBusinessObject" action="Release Lock" /></stage><stage stageid="2d004d52-fadf-4101-a4d2-fcf5b1be5257" name="Throw" type="Exception"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><loginhibit /><narrative></narrative><displayx>150</displayx><displayy>1230</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /><exception type="" detail="" usecurrent="yes" /></stage><stage stageid="8a553195-a8b5-42db-af79-9c9f7295c822" name="Note2" type="Note"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative>** NB In the event of an exception the lock must be released.</narrative><displayx>345</displayx><displayy>1215</displayy><displaywidth>180</displaywidth><displayheight>120</displayheight><font family="Tahoma" size="12" style="Bold" color="FF00FF" /><onsuccess>549aa66a-8ea4-493d-bc0b-2bdfa795ddd3</onsuccess></stage><stage stageid="d5532050-f062-4f92-8f1a-0ed85cdba311" name="Block4" type="Block"><subsheetid>d5635c6a-b62c-4ab2-bc41-b33ac79c21dc</subsheetid><narrative></narrative><displayx>-90</displayx><displayy>105</displayy><displaywidth>705</displaywidth><displayheight>1035</displayheight><font family="Tahoma" size="10" style="Regular" color="7FB2E5" /></stage><stage stageid="3a83c039-a985-45b4-8c6f-623fc1a181da" name="End1" type="End"><narrative></narrative><displayx>15</displayx><displayy>165</displayy><displaywidth>60</displaywidth><displayheight>30</displayheight><font family="Tahoma" size="10" style="Regular" color="000000" /></stage><stage stageid="3fc46209-031d-45a7-b716-5c8b530d0d09" name="Note3" type="Note"><narrative>This process has not been designed to run, it is merely a collection diagram fragments based on a common theme.
Each page is an example intended to illustrate how a particular task might be acheived in Blue Prism.
These examples may be copied into a new diagram and modified to suit your needs.</narrative><displayx>15</displayx><displayy>30</displayy><displaywidth>270</displaywidth><displayheight>150</displayheight><font family="Tahoma" size="10" style="Bold" color="0000FF" /><onsuccess>3a83c039-a985-45b4-8c6f-623fc1a181da</onsuccess></stage></process></process>
</bpr:contents>
</bpr:release>