Menu

Logic Commands (v20)

Control

if

The if command forms a basic conditional section. This command's child commands are evaluated...

choose

The choose command creates a set of conditional sections, of which only one will have its com...

when

A child of a choose command. The child commands of when are evaluated if the condition of the...

otherwise

A child of a choose command. The children of otherwise are evaluated if the contents of none ...

forEach

The forEach command iterates through the contents of the specified Collection, allowing each ...

next

Directs the currently active Segment to start evaluating another Step. This command interrupt...

Introduction

INTRODUCTION

Logic Commands are used to define template's flow logic. Commands are divided into categories: ...

Core

addItem

Adds an item to a Collection. This new item will become the last item of the Collection. ...

addListItem

Adds an item to a Collection. Essentially the same as addItem, but should the item value be a...

addMapEntry

Adds an entry to a Map. The entry will have the key and value as defined by the resolved valu...

addZipItem

Adds a new item into a ZIP archive being created with a createZip command. Parent...

composeContent

Evaluates the content commands in the defined document part or an external document. A Flow d...

count

Counts the number of items within a Collection and places the result into a new variable. Whi...

SFDC Core

batch

The batch command groups up the Salesforce API requests done by its child commands. This resu...

create

Creates a new record of the specified type with field values as defined by child commands. Th...

describePicklist

Retrieves the possible values of a specified picklist field and stores them into the variable...

describeGlobal

Produces a Collection containing descriptions of objects in the user's Salesforce organizatio...

field

Defines a field value for a record creation or update operation. This command does nothing by...

query

Executes a Salesforce Object Query Language (SOQL) query. The results of the query are delive...

SFDC Email

mail

Sends an email message through Salesforce using the user's Salesforce account. The child comm...

to

Adds a recipient to the the generated email message. Parent commands m...

replyTo

Sets the 'Reply-To' header of the generated email message, defining the address that will rec...

cc

Adds an address to the "CC" field of the generated email message. Parent commands...

bcc

Adds an address to the "BCC" field of the generated email message. Parent command...

htmlBody

Sets the HTML content of the generated email message. This content can be defined as a HTML d...

SFDC File

createAttachment

Uploads a file into Salesforce as an Attachment record and attaches it to the specified recor...

createContentVersion

Uploads a file into Salesforce as either a new file or a new version for an existing file. Th...

load

Downloads the file data of a specified record and stores it into the variable context a new F...

loadAttachment

Downloads the file data of the specified Attachment record and stores it into the variable co...

loadLatestContentVersion

Downloads the file data of the latest version of a ContentDocument record and stores it into ...

SFDC Chatter

getFeedItems

This command and others commands  in "SFDC Chatter" group requires additional license i.e. Dy...

postFeedItem

Creates a new FeedItem record, which appears as a post in the chosen record's Chatter feed. O...

createFeedAttachment

Creates a new FeedAttachment record, which is a file attachment to a feed item. The attachmen...

createFeedItem

Posts a file into the specified record's Chatter feed. Creates a FeedItem record into the cho...

Data Format

setBooleanFormat

Creates a format that can be used with Boolean values. By default, Boolean values appear as "...

setBooleanParser

Creates a parser that can make Boolean values out of Strings. Parsers can be used in the log...

setCurrencyFormat

Creates a format that can be used with Currency values. The currency symbol, often pre...

setCurrencyParser

Creates a parser that can make Currency values out of Strings. Parsers can be used in the lo...

setDateFormat

Creates a format that can be used with Date values. Note that Date and DateTime values are se...

setDateTimeFormat

Creates a format that can be used with DateTime values. Note that Date and DateTime values ar...

API

returnDocument

This command requires additional API license. Defines the output of a composing proc...

returnHTTPResponse

This command requires additional API license. Defines the output of a composing proc...

returnString

This command requires additional API license. Defines the output of a composing proc...

Advanced

addHeader

This command requires additional license. Adds a header field to the HTTP request cr...

get

This command requires additional license. Sends a GET request to the defined URL and...

filter

Alters a filter of the report produced by a loadReport commands. The specified value attribut...

function

Calls the specified function, evaluating the logic in it. The specified function may be defin...

loadReport

Loads a report from Salesforce and produces a Report data value based on the received data . ...

post

This command requires additional license. Sends a POST request to the specified URL....

Excel Calculation

columnCell

This command requires extra license. A child command of insertColumnValues that speci...

eval

This command requires extra license. A child command for evalFormulas that specifies...

evalDefinedName

This command requires extra license. Evaluates and retrieves the values of all cells...

evalFormulas

This command requires extra license. Evaluates specified formulas found in an XLSX w...

evalRows

This command requires extra license. Evaluates and retrieves the values of all cells...

insertColumnValues

This command requires extra license. A child command for modifyWorkbook that will, t...

Electronic Signature (DocuSign)

sendToDocuSign

DocuSign commands aren't part of the Dynamo standard package and require extra license. Pleas...

signer

Defines a signer for the document sent with the sendToDocuSign command. Parent co...

storeESignature

Stores data of an e-signature process initiated through sendToDocuSign into Salesforce as a n...

getDocuSignDocument

Retrieves the specified DocuSign envelope's document if it has been signed by all of its sign...

getDocuSignStatus

Retrieves the status of the specified DocuSign envelope, such as one created and sent by the ...

Chart

chart

This command requires additional license i.e. Chart module must be enabled. A HTML c...

setChartData

This command requires additional license i.e. Chart module must be enabled. A logic ...

addCategory

A child command of defineAxis that adds a category label for the axis being defined. The labe...

defineAxis

A child command of setChartData that defines the properties of one of the chart's axes. A cha...

deriveSeries

A child command of setChartData that adds a data series, with its data extracted from a Colle...

addDataPoint

A child command of addSeries that adds a data point to the series created by the parent comma...