Home Search

DriveWorks Pro 23
SFGetAccounts

Send Feedback

SFGetAccounts

Returns a pipe bar (|) delimited list of the account names in Salesforce.

Syntax

SFGetAccounts(Connect to Salesforce)

Where:

Connect to Salesforce is False to NOT connect, any other value to connect. Can be used as a way to refresh the data, by simply changing this value.

We recommend the value of this variable is triggered during a running specification (not when the specification loads).

For example:

  • Use a checkbox to set the variable from FALSE to TRUE when the connection is required to made.

    Or

  • Run a macro on the enter state of the specification that uses the Drive Constant Value task to set this value from FALSE to TRUE.

Examples

RuleMeaning
SFGetAccounts(TRUE) Returns a pipe bar (|) delimited list of the account names. Change this value to refresh the status.
SFGetAccounts(LoginReturn) Returns a pipe bar (|) delimited list of the account names using the Login control to refresh the status.