- DarkLight
Overview
- DarkLight
A Workflow defines rules that provide an ability to configure Screen Pop for different call types, outbound types, and lets you decide where to store the data in Salesforce. You can define the default rule set for inbound and outbound calls.
Note
You can use default workflow rules provided with build binaries (path: configuration/application config/sfadmin/workflows).
Add a Workflow
Follow the steps listed below to add a workflow.
Click the Workflow tab in the left pane.
Click +Add. Complete the information as below. Mandatory fields are marked with an asterisk (*).
Field
Description
Name
Enter a name for the workflow.
Import from file
Select this checkbox to import a workflow. If you choose to import, select the workflow to import from a pop up.
Call direction
Select one of Inbound or Outbound. The application lists the Call Direction SubTypes based on the call direction.
Default Workflow
To set this workflow as the default, turn this switch to Yes.
Description
Enter a description for the workflow.
Channel
Select a Channel from the dropdown list.
Click Save & Next to navigate to Invoke SF Page.
Invoke SF Page
You can control the call-related fields that are displayed and the Salesforce objects that are searched for incoming and outgoing calls. The fields defined in this section describe how the screen pop should happen in Softphone and the variables that the application should display.
You are on the Invoke SF Page tab.
Click +Add Scenario.
In When should the SF page be invoked, select the following:
Select a Channel Object from the dropdown list. This lists the items configured in the Channel section.
Select a Channel Call Type from the dropdown list.
Select a Channel Event from the dropdown list.
Navigate to What visual force page to be invoked. Complete the following.
Enter the Salesforce page URL to be invoked.
Click +Add Parameter. Complete the following in the Parameters to be passed section:
Enter a Name for the parameter.
Select a Value Type from the dropdown list.
Select a Channel Object from the dropdown list containing the items configured in the Channel section.
Select a Channel Group from the dropdown list containing channel types.
Select a Channel Variable from the dropdown list containing channel variables.
You can add multiple sets of search criteria.
Click Save & Next to navigate to the Look Up page.
Look Up
You can control the call-related fields that are displayed and the Salesforce objects that are searched for incoming and outgoing calls. The fields defined in this section describe how screen pop should happen in Softphone and what variables to be displayed.
You are on the Look Up tab.
Click +Add Screen pop scenario.
In When should the screen pop search happen, complete the following:
Select a Channel Object from the dropdown list. This lists the items configured in the Channel section.
Select a Channel Call Type from the dropdown list.
Select a Channel Event from the dropdown list.
In What variable should be used for search, complete the following in Step 1 section.
Select a Channel Object from the dropdown list containing the items configured in the Channel section.
Select a Channel Group from the dropdown list containing channel types.
Select a Channel Variable from the dropdown list containing channel variables.
Select the If Null Go To Next Step checkbox, if all the above values are Null. You can define variables in Step 2.
Select the Use Expression checkbox if you want the search parameters to be populated with values from an expression defined in the application.
Select the Remove Leading Characters checkbox if you want to remove leading characters while searching. Enter the Characters to be removed.
Select the Remove Trailing Characters checkbox if you want to remove leading characters while searching. Enter the Characters to be removed.
If you want the screen pop with values populated based on the Salesforce ID, select the Direct Screen Pop checkbox.
Global and Case Insensitive
Enter regex characters
You can add as many screen pop scenarios.
Click Save & Next to navigate to the No Match - Prefill tab.
No Match - Prefill
There may be instances when details of a call do not match any existing record. Use this section to configure what the screen pop should show in such cases.
You are on the No Match - Prefill tab.
From the Choose salesforce object to be invoked during no match dropdown list, select a value.
Navigate to the Fields to be prefilled in object section and click +Add Fields to be prefilled.
From the dropdown lists select appropriate values for the following:
Lightning Field - this is optional. The dropdown lists the fields on Salesforce’s Lightning variant based on the selected Salesforce object.
Classic Field - this is optional. The dropdown lists the fields on Salesforce’s Classic variant based on the selected Salesforce object.
Select a Channel Object.
Select a Channel Group.
Select a Channel Variable.
Click Save & Next to navigate to the Object Creation tab.
Object Creation
This section deals with configuring objects - when you should create them and what objects you should create.
You are on the Objects to be Created tab.
In the When should object to be created? section, click +Add channel objects scenario. Complete the following:
Select a Channel Object from the dropdown list. This lists the items configured in the Channel section.
Select a Channel Call Type from the dropdown list.
Select a Channel Event from the dropdown list.
In the What SF Objects to be created? section, click +Add SF objects to be created. Complete the following:
Select a Salesforce Object from the dropdown list.
Select an Object Label Type from the dropdown list.
If you select SF Variables, select the Salesforce field as an additional input.
If you select Static, enter a Task name as an additional input.
The Display Value Field is dependent on the Object Label Type that you have selected.
If you have selected Object Field Value, select from the list of Salesforce fields.
If you have selected Static Value, enter a Task Name.
Click +Add Fields to be updated and complete the following information:
Choose the fields to be updated from the dropdown list.
Select a Source Object Type from the dropdown list.
Select a Channel Object from the dropdown list.
Select a Channel Group from the dropdown list.
Select a Channel Variable from the dropdown list.
You can add multiple objects. After adding all objects, click Save & Next to navigate to the Call Log tab.
Call Log
Use this section to configure when you update the logs and what information should be part of the logs.
You are on the Call Log tab.
Click +Add call log.
In the When to update section, complete the following:
Select a Channel Object from the dropdown list.
Select a Channel Call Type from the dropdown list.
Select a Channel Event from the dropdown list.
In the What to update section, click +Add fields to be updated.
Select the Salesforce object from the call log dropdown list.
Click +Add Task fields to be updated and complete the following:
Choose Fields to be updated - Select the required Salesforce variable from the dropdown list.
Select the Source Object Type from the dropdown list. Options are Channel Object and SF Custom Field.
Select a Channel Object from the dropdown list.
Select a Channel Group from the dropdown list.
Select a Channel Variable from the dropdown list.
You can add multiple call logs. After adding all call logs, click Save & Next to navigate to the Manual Log tab.
Manual Log
Need to add a small intro about Manual Log.
You are on the Manual Log tab.
Click +Add manual log.
In the What to update section, from the dropdown list, select Created SF Object.
Click +Add fields to be updated.
For SF Field, select one of the following:
The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object. The label is related to ID.
The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID.
Select a Source User Variable from the dropdown list.
Click Submit & Close to complete configuring the Workflow.
Default Settings
The manual call logs display the objects that the task should contain. The default settings for inbound and outbound calls are listed.
User Object | Source User Variable |
---|---|
WhoId | Name of a lead or contact. A human. |
WhatID | Related to a non-human object. For example, accounts, opportunities, campaigns, cases, or custom objects. |
Notes | Comments. |
Edit a Workflow
Select the Workflow to edit.
Click the Edit button.
Update the required details and click Save & Close.
Delete a Workflow
Select the Workflow to delete.
Click the Delete button.
Click OK on the confirmation dialog box to delete.
Copy a Workflow
Select the Workflow to copy.
Click the Copy button.
Export Workflow
Select the Workflow to export.
Click the Export button.