Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Definition of the TaskReminder Flow
<?xml version="1.0" encoding="UTF-8"?>
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
<actionCalls>
<name>TaskReminder</name>
<label>TaskReminder</label>
<locationX>21</locationX>
<locationY>32</locationY>
<actionName>NewTask</actionName>
<actionType>quickAction</actionType>
<inputParameters>
<name>OwnerId</name>
<value>
<elementReference>UserId</elementReference>
</value>
</inputParameters>
<inputParameters>
<name>Subject</name>
<value>
<elementReference>NoteTempalte</elementReference>
</value>
</inputParameters>
</actionCalls>
<formulas>
<name>UserId</name>
<dataType>String</dataType>
<expression>{!$User.Id}</expression>
</formulas>
<interviewLabel>MyReportNotificationFlow {!$Flow.CurrentDateTime}</interviewLabel>
<label>MyReportNotificationFlow</label>
<processType>AutoLaunchedFlow</processType>
<startElementReference>TaskReminder</startElementReference>
<textTemplates>
<name>NoteTempalte</name>
<text>Report subscription notification was received for report {!ReportName}, record count was {!RecordCount}.</text>
</textTemplates>
<variables>
<name>RecordCount</name>
<dataType>Number</dataType>
<isCollection>false</isCollection>
<isInput>true</isInput>
<isOutput>false</isOutput>
<scale>2</scale>
</variables>
<variables>
<name>ReportName</name>
<dataType>String</dataType>
<isCollection>false</isCollection>
<isInput>true</isInput>
<isOutput>false</isOutput>
</variables>
</Flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.