|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<Flow xmlns="http://soap.sforce.com/2006/04/metadata"> |
| 3 | + <apiVersion>66.0</apiVersion> |
| 4 | + <areMetricsLoggedToDataCloud>false</areMetricsLoggedToDataCloud> |
| 5 | + <customErrors> |
| 6 | + <name>Error_message</name> |
| 7 | + <label>Error message</label> |
| 8 | + <locationX>0</locationX> |
| 9 | + <locationY>0</locationY> |
| 10 | + <customErrorMessages> |
| 11 | + <errorMessage>Digital møte lenke kan ikke være tom når kurstypen er webinar.</errorMessage> |
| 12 | + <isFieldError>false</isFieldError> |
| 13 | + </customErrorMessages> |
| 14 | + </customErrors> |
| 15 | + <environments>Default</environments> |
| 16 | + <interviewLabel>HOT_Require_VideoLink_For_Webinar {!$Flow.CurrentDateTime}</interviewLabel> |
| 17 | + <label>HOT_Require_VideoLink_For_Webinar</label> |
| 18 | + <processMetadataValues> |
| 19 | + <name>BuilderType</name> |
| 20 | + <value> |
| 21 | + <stringValue>LightningFlowBuilder</stringValue> |
| 22 | + </value> |
| 23 | + </processMetadataValues> |
| 24 | + <processMetadataValues> |
| 25 | + <name>CanvasMode</name> |
| 26 | + <value> |
| 27 | + <stringValue>AUTO_LAYOUT_CANVAS</stringValue> |
| 28 | + </value> |
| 29 | + </processMetadataValues> |
| 30 | + <processMetadataValues> |
| 31 | + <name>OriginBuilderType</name> |
| 32 | + <value> |
| 33 | + <stringValue>LightningFlowBuilder</stringValue> |
| 34 | + </value> |
| 35 | + </processMetadataValues> |
| 36 | + <processType>AutoLaunchedFlow</processType> |
| 37 | + <start> |
| 38 | + <locationX>0</locationX> |
| 39 | + <locationY>0</locationY> |
| 40 | + <connector> |
| 41 | + <targetReference>Error_message</targetReference> |
| 42 | + </connector> |
| 43 | + <filterFormula>AND( |
| 44 | + TEXT({!$Record.Type__c}) = "Webinar", |
| 45 | + OR( |
| 46 | + ISBLANK({!$Record__Prior.Id}), |
| 47 | + TEXT({!$Record.Type__c}) <> TEXT({!$Record__Prior.Type__c}) |
| 48 | + ), |
| 49 | + ISBLANK({!$Record.VideoLink__c}) |
| 50 | +)</filterFormula> |
| 51 | + <object>Course__c</object> |
| 52 | + <recordTriggerType>CreateAndUpdate</recordTriggerType> |
| 53 | + <triggerType>RecordBeforeSave</triggerType> |
| 54 | + </start> |
| 55 | + <status>Active</status> |
| 56 | +</Flow> |
0 commit comments