From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate>= Salesforce Lightning Scenario and Workflow Variables = The Salesforce Lightning widget will set the following variables in scenario and workflow immediately after...")
 
 
Line 6: Line 6:
  
 
== $(sf:description) ==
 
== $(sf:description) ==
''$(sf:description)'' is the notes field from your Salesforce call center.
+
''$(sf:description)'' is the notes field from your Salesforce call center.  
  
 
== $(sf:direction) ==
 
== $(sf:direction) ==
Line 15: Line 15:
  
 
== $(sf:objectId) ==
 
== $(sf:objectId) ==
''$(sf:objectId)'' is the ID of the Salesforce record to which the interaction activity was posted.
+
''$(sf:objectId)'' is the ID of the Salesforce record to which the interaction activity was posted. This is the record that was in focus at the time the interaction was ended.
  
 
== $(sf:objectType) ==
 
== $(sf:objectType) ==
''$(sf:objectType)'' is the Salesforce object type (e.g., Account, Activity, Case, etc.).
+
''$(sf:objectType)'' is the Salesforce object type (e.g., Account, Activity, Case, etc.). This is the object type of the record that was in focus at the time the interaction was ended.
  
 
== $(sf:recordingUrl) ==
 
== $(sf:recordingUrl) ==

Latest revision as of 17:07, 10 February 2023

• 5.19 • 5.8

Salesforce Lightning Scenario and Workflow Variables

The Salesforce Lightning widget will set the following variables in scenario and workflow immediately after call completion.

$(screenpopData)

See $(screenpopData.XXX) in the Scenario Builder Reference Guide

$(sf:description)

$(sf:description) is the notes field from your Salesforce call center.

$(sf:direction)

$(sf:direction) is the call’s direction as received in your Salesforce call center (e.g., inbound, outbound).

$(sf:duration)

$(sf:duration) is the duration, in seconds, of the call and/or chat that the agent received in the Salesforce call center.

$(sf:objectId)

$(sf:objectId) is the ID of the Salesforce record to which the interaction activity was posted. This is the record that was in focus at the time the interaction was ended.

$(sf:objectType)

$(sf:objectType) is the Salesforce object type (e.g., Account, Activity, Case, etc.). This is the object type of the record that was in focus at the time the interaction was ended.

$(sf:recordingUrl)

$(sf:recordingUrl) is the URL with the call recording or SMS chat transcript; this URL points to the Contact Center Administrator application, section Interaction Records. Note: It is possible for agents with the privilege Listen to call recordings and view chat transcripts on assigned services to click the URLs stored in your Salesforce call center’s call recording field and view the interaction details.

$(sf:serviceName)

$(sf:serviceName) is the name of the service the interaction happened on in the Salesforce call center.


< Previous | Next >