|
| 1 | +[ |
| 2 | + { |
| 3 | + "flow": { |
| 4 | + "flowVariables": [], |
| 5 | + "flowResources": [], |
| 6 | + "flowMetadata": ["apiVersion", "processType", "label", "status"], |
| 7 | + "flowNodes": ["waits", "start"], |
| 8 | + "name": "Test_Flow_WaitConditions", |
| 9 | + "xmldata": { |
| 10 | + "@xmlns": "http://soap.sforce.com/2006/04/metadata", |
| 11 | + "apiVersion": "62.0", |
| 12 | + "label": "Test Flow Wait Conditions", |
| 13 | + "processType": "AutoLaunchedFlow", |
| 14 | + "waits": { |
| 15 | + "name": "Wait_For_Conditions", |
| 16 | + "label": "Wait For Conditions", |
| 17 | + "locationX": "176", |
| 18 | + "locationY": "287", |
| 19 | + "waitEvents": { |
| 20 | + "name": "myWaitEvent", |
| 21 | + "conditionLogic": "and", |
| 22 | + "conditions": { |
| 23 | + "leftValueReference": "myVariable_current.Status", |
| 24 | + "operator": "EqualTo", |
| 25 | + "rightValue": { "stringValue": "Completed" } |
| 26 | + } |
| 27 | + } |
| 28 | + }, |
| 29 | + "start": { |
| 30 | + "locationX": "50", |
| 31 | + "locationY": "0", |
| 32 | + "connector": { "targetReference": "Wait_For_Conditions" }, |
| 33 | + "triggerType": "RecordAfterSave", |
| 34 | + "object": "Account", |
| 35 | + "recordTriggerType": "Create" |
| 36 | + }, |
| 37 | + "status": "Draft" |
| 38 | + }, |
| 39 | + "label": "Test Flow Wait Conditions", |
| 40 | + "processType": "AutoLaunchedFlow", |
| 41 | + "start": { |
| 42 | + "locationX": "50", |
| 43 | + "locationY": "0", |
| 44 | + "connector": { "targetReference": "Wait_For_Conditions" }, |
| 45 | + "triggerType": "RecordAfterSave", |
| 46 | + "object": "Account", |
| 47 | + "recordTriggerType": "Create" |
| 48 | + }, |
| 49 | + "status": "Draft", |
| 50 | + "type": "AutoLaunchedFlow", |
| 51 | + "elements": [ |
| 52 | + { "element": "62.0", "subtype": "apiVersion", "metaType": "metadata" }, |
| 53 | + { "element": "Test Flow Wait Conditions", "subtype": "label", "metaType": "metadata" }, |
| 54 | + { "element": "AutoLaunchedFlow", "subtype": "processType", "metaType": "metadata" }, |
| 55 | + { |
| 56 | + "element": { |
| 57 | + "name": "Wait_For_Conditions", |
| 58 | + "label": "Wait For Conditions", |
| 59 | + "locationX": "176", |
| 60 | + "locationY": "287", |
| 61 | + "waitEvents": { |
| 62 | + "name": "myWaitEvent", |
| 63 | + "conditionLogic": "and", |
| 64 | + "conditions": { |
| 65 | + "leftValueReference": "myVariable_current.Status", |
| 66 | + "operator": "EqualTo", |
| 67 | + "rightValue": { "stringValue": "Completed" } |
| 68 | + } |
| 69 | + } |
| 70 | + }, |
| 71 | + "subtype": "waits", |
| 72 | + "metaType": "node", |
| 73 | + "connectors": [], |
| 74 | + "name": "Wait_For_Conditions", |
| 75 | + "locationX": "176", |
| 76 | + "locationY": "287" |
| 77 | + }, |
| 78 | + { |
| 79 | + "element": { |
| 80 | + "locationX": "50", |
| 81 | + "locationY": "0", |
| 82 | + "connector": { "targetReference": "Wait_For_Conditions" }, |
| 83 | + "triggerType": "RecordAfterSave", |
| 84 | + "object": "Account", |
| 85 | + "recordTriggerType": "Create" |
| 86 | + }, |
| 87 | + "subtype": "start", |
| 88 | + "metaType": "node", |
| 89 | + "connectors": [ |
| 90 | + { |
| 91 | + "element": { "targetReference": "Wait_For_Conditions" }, |
| 92 | + "processed": false, |
| 93 | + "type": "connector", |
| 94 | + "reference": "Wait_For_Conditions" |
| 95 | + } |
| 96 | + ], |
| 97 | + "name": "flowstart", |
| 98 | + "locationX": "50", |
| 99 | + "locationY": "0" |
| 100 | + }, |
| 101 | + { "element": "Draft", "subtype": "status", "metaType": "metadata" } |
| 102 | + ], |
| 103 | + "startReference": "Wait_For_Conditions" |
| 104 | + } |
| 105 | + } |
| 106 | +] |
0 commit comments