Skip to content

Commit 469208a

Browse files
adding flow to bypass flows
1 parent e12b76c commit 469208a

File tree

1 file changed

+118
-0
lines changed

1 file changed

+118
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
3+
<apiVersion>59.0</apiVersion>
4+
<assignments>
5+
<name>Assign_Decision_Outcome_False</name>
6+
<label>Assign Decision Outcome False</label>
7+
<locationX>1010</locationX>
8+
<locationY>218</locationY>
9+
<assignmentItems>
10+
<assignToReference>VarByPassValue</assignToReference>
11+
<operator>Assign</operator>
12+
<value>
13+
<booleanValue>false</booleanValue>
14+
</value>
15+
</assignmentItems>
16+
</assignments>
17+
<assignments>
18+
<name>Assign_Decision_Outcome_True</name>
19+
<label>Assign Decision Outcome True</label>
20+
<locationX>523</locationX>
21+
<locationY>218</locationY>
22+
<assignmentItems>
23+
<assignToReference>VarByPassValue</assignToReference>
24+
<operator>Assign</operator>
25+
<value>
26+
<booleanValue>true</booleanValue>
27+
</value>
28+
</assignmentItems>
29+
</assignments>
30+
<decisions>
31+
<name>Check_Weather_Flow_Will_Be_ByPass</name>
32+
<label>Check Weather Flow Will Be ByPass</label>
33+
<locationX>764</locationX>
34+
<locationY>216</locationY>
35+
<defaultConnectorLabel>Defult</defaultConnectorLabel>
36+
<rules>
37+
<name>Is_ByPass</name>
38+
<conditionLogic>and</conditionLogic>
39+
<conditions>
40+
<leftValueReference>$Permission.Skip_All_Record_Triggered_Flows</leftValueReference>
41+
<operator>EqualTo</operator>
42+
<rightValue>
43+
<booleanValue>true</booleanValue>
44+
</rightValue>
45+
</conditions>
46+
<connector>
47+
<targetReference>Assign_Decision_Outcome_True</targetReference>
48+
</connector>
49+
<label>Is ByPass</label>
50+
</rules>
51+
<rules>
52+
<name>Is_By_Pass_Not</name>
53+
<conditionLogic>and</conditionLogic>
54+
<conditions>
55+
<leftValueReference>$Permission.Skip_All_Record_Triggered_Flows</leftValueReference>
56+
<operator>EqualTo</operator>
57+
<rightValue>
58+
<booleanValue>false</booleanValue>
59+
</rightValue>
60+
</conditions>
61+
<connector>
62+
<targetReference>Assign_Decision_Outcome_False</targetReference>
63+
</connector>
64+
<label>Is By Pass Not</label>
65+
</rules>
66+
</decisions>
67+
<environments>Default</environments>
68+
<interviewLabel>Flow Used To ByPass Record Level Flow {!$Flow.CurrentDateTime}</interviewLabel>
69+
<label>Flow Used To ByPass Record Level Flow</label>
70+
<processMetadataValues>
71+
<name>BuilderType</name>
72+
<value>
73+
<stringValue>LightningFlowBuilder</stringValue>
74+
</value>
75+
</processMetadataValues>
76+
<processMetadataValues>
77+
<name>CanvasMode</name>
78+
<value>
79+
<stringValue>FREE_FORM_CANVAS</stringValue>
80+
</value>
81+
</processMetadataValues>
82+
<processMetadataValues>
83+
<name>OriginBuilderType</name>
84+
<value>
85+
<stringValue>LightningFlowBuilder</stringValue>
86+
</value>
87+
</processMetadataValues>
88+
<processType>AutoLaunchedFlow</processType>
89+
<runInMode>SystemModeWithoutSharing</runInMode>
90+
<start>
91+
<locationX>650</locationX>
92+
<locationY>48</locationY>
93+
<connector>
94+
<targetReference>Check_Weather_Flow_Will_Be_ByPass</targetReference>
95+
</connector>
96+
</start>
97+
<status>Active</status>
98+
<variables>
99+
<name>IsByPassNot</name>
100+
<dataType>Boolean</dataType>
101+
<isCollection>false</isCollection>
102+
<isInput>false</isInput>
103+
<isOutput>true</isOutput>
104+
<value>
105+
<booleanValue>false</booleanValue>
106+
</value>
107+
</variables>
108+
<variables>
109+
<name>VarByPassValue</name>
110+
<dataType>Boolean</dataType>
111+
<isCollection>false</isCollection>
112+
<isInput>false</isInput>
113+
<isOutput>true</isOutput>
114+
<value>
115+
<booleanValue>false</booleanValue>
116+
</value>
117+
</variables>
118+
</Flow>

0 commit comments

Comments
 (0)