Skip to main content

SalesforceAskUser

This Script is part of the Salesforce Pack.#

Asks a user a question via Salesforce Chatter and process the reply directly into the investigation.

Script Data#


NameDescription
Script Typepython
Tags-

Dependencies#


This script uses the following commands and scripts.

  • salesforce-push-comment

Inputs#


Argument NameDescription
persistentIndicates whether to use a one-time entitlement or a persistent one.
replyEntriesTagThe tags to add on comment reply entries.
retriesThe number of times to try and create an entitlement when there is a failure.
taskThe task that should be closed with the reply. If none, then no playbook tasks will be closed.
option1The first option for a user reply. Options cannot contain whitespaces.
option2The second option for the user reply. Options cannot contain whitespaces.
oidThe object ID of the subject.
additionalOptionsA comma delimited list of additional options (in cases where more than 2 options are needed). Options cannot contain whitespaces.
textThe text of the chatter comment. If not given, a default post message will be generated based on option arguments.
linkThe link to add to the message.

Outputs#


There are no outputs for this script.