|
• You must configure real-time sync separately for each custom object in your Service Board tenant.
• To configure real-time sync for custom objects in both directions between Salesforce and Service Board, special configuration steps are required. For more information, see Configuring Two-Way Real-Time Sync for Custom Objects.
|
Field
|
Value
|
---|---|
Process Name
|
A name for the process, for example, Notify Service Board for Work Detail.
|
API Name
|
Auto-populates based on the text you enter in the Name field, for example, Notify_Service_Board_for_Work_Detail. You can modify this to any unique value.
|
Description
|
A brief description of the process.
|
The process starts when
|
A record changes
|
Field
|
Value
|
---|---|
Object list
|
Select the custom object for which you are configuring real-time sync.
|
Start the process list
|
only when a record is created
|
Field
|
Value
|
---|---|
Criteria Name
|
Is New
|
Criteria for Executing Actions
|
Formula evaluates to true
|
Build Formula
|
ISNEW()
|
Field
|
Value
|
||
---|---|---|---|
Action Type
|
Apex
|
||
Action Name
|
Platform Event
|
||
Apex Class
|
SVMXSB__SB_ProcessBuilderHelper
|
||
Set Apex Variables: Event Name
|
• Type: String
• Value: Create
|
||
Set Apex Variables: Record Id
|
• Type: Field Reference
• Value: [<Salesforce API Name>].Salesforce API Name, for example, [SVMXC__Work_Order_Line__c].SVMXC__Work_Order_Line.
|
||
Set Apex Variables: Object Name
|
• Type: String
• Value: Salesforce API name for the custom object.
|
Field
|
Value
|
---|---|
Criteria Name
|
Is Changed
|
Criteria for Executing Actions
|
Formula evaluates to true
|
Build Formula
|
Criteria for triggering the action, for example:
ISCHANGED([Account].OwnerId)
|| ISCHANGED([Account].Name) || ISCHANGED([Account].ParentId) || ISCHANGED([Account].SVMXC__Preferred_Technician__c |
Field
|
Value
|
||
---|---|---|---|
Action Type
|
Apex
|
||
Action Name
|
Platform Event
|
||
Apex Class
|
SVMXSB__SB_ProcessBuilderHelper
|
||
Set Apex Variables: Event Name
|
• Type: String
• Value: Update
|
||
Set Apex Variables: Record Id
|
• Type: Field Reference
• Value: [<Salesforce API Name>].Salesforce API Name, for example, [SVMXC__Work_Order_Line__c].SVMXC__Work_Order_Line.
|
||
Set Apex Variables: Object Name
|
• Type: String
• Value: Salesforce API name for the custom object.
|
|
If any custom field sets were previously created for other Service Board objects, be sure to use the same API name for the newly added field set.
|