Академический Документы
Профессиональный Документы
Культура Документы
Sample data for organizations, accounts, contacts, leads, opportunities, sales teams (operators and their sales
goals), engagement maps, and tasks
Utilities to reset the sample data
A Pega Web Mashup gadget for leads
Sample vendor information to demonstrate the creation of contacts from business cards
1. Log in to the Pega Platform by entering the administrator credentials for your implementation.
2. In Dev Studio, click Configure > Application > Distribution > Import.
3. Click Choose File and browse for the the PegaCRMSample_DDL.jar file from the Sample folder on your distribution
media.
4. After the file is uploaded, click Next.
5. Log out of the Pega Platform and log in to the sample application by entering the credentials for the
sfasamplesysadmin operator ID.
6. In Dev Studio, click Configure > Application > Distribution > Import.
7. Click Choose File and browse for the PegaCRMSample_DML.jar file from the Sample folder on your distribution
media.
8. After the file is uploaded, click Next.
To verify data in the Sales Rep portal, complete the following steps:
1. Log in to Pega Sales Automation by entering the credentials for the operator tmason.
2. In the Sales Rep portal navigation pane, click a menu item to confirm the presence of the sample data.
For example, to confirm the presence of sample data for opportunities, click Opportunities. The list of sample
opportunities should be displayed in the Opportunity screen.
To verify data in the Sales Manager portal, complete the following steps:
1. Log in to Pega Sales Automation by entering the credentials for the operator skendall.
2. In the Sales Manager portal navigation pane, click a menu item to confirm the presence of the sample data.
For example, to confirm the presence of sample data for opportunities, click Opportunities. The list of sample
opportunities should be displayed in the Opportunity screen.
1. Log in to the Pega Platform by entering the credentials for the sfasamplesysadmin operator ID.
2. Click Launch web interface > SFA for Sales Ops.
3. In the navigation pane, click Tools.
4. Click Reset Sample Data.
When you run the Reset Sample Data utility, the application invokes the PrepareDemoData activity rule to compare the
sample time periods that are provided with the current system date. Verify that time periods are created.
The SampleDataEndDate dynamic system setting in Pega Sales Automation stores the end date of the sample data.
This setting changes for each release as the sample data is updated. The Reset Sample Data utility uses the
current system date and the dynamic system setting date to compute the number of days to add to make the
sample data current. For example, if the current system date is June 30, 2017 and the SampleDataEndDate value is
March 31, 2017, the Reset Sample Data utility adds 90 days to the SampleDataEndDate setting to make the time
periods current.
The logic moves created dates and closed dates.
1. Log in to the Pega Platform by entering the credentials for the sfasamplesysadmin operator ID.
2. Click Launch web interface > SFA for Sales Ops.
3. In the navigation pane, click Tools.
4. Click Populate Customer Movie.
5. On the Execute Populate Customer Movie dialog box, in the Populate for field, select one of the following options:
To generate timeline data for all sample contacts, select ALL.
To generate timeline data for a specific sample contact, select One. You are then prompted to enter a Contact
ID.
6. Click OK.
1. Log in to the Pega Platform by entering the credentials for the sfasamplesysadmin operator ID.
2. Click Launch web interface > SA for Sales Ops.
3. In the navigation pane, click Tools.
4. Click Reset AI Data.
When you run the Reset AI Data utility, the application performs the following activities:
You can update the Pega-provided sample data by using the Pega Sales Automation Data Import wizard. For more
information, see Importing the Pega Sales Automation sample data.
Because the application maintains unique IDs for sample data, when you update the sample data, in the Data Import
wizard, in the Purpose field, you must select the Add or update option.
Before you can demonstrate this feature, configure a gadget by using Pega Web Mashup and embed it in the
BusinessLeadCreationScreen section in the sample application. Ensure that the HTML source for the section
contains the following information:
pega.web.config.appName = "SFASample"
pega.web.config.systemID = "NBAA"
PegaA_params=[UserIdentifier:" ", Password:" "} –
Enter the credentials for any operator in the sample application.
Add the BusinessLeadCreationScreen portal to the access group for the operator that you specified in the HTML
source for the BusinessLeadCreationScreen section. Use this operator to demonstrate the lead capture process.
The default values for the new lead that is created from the gadget are defined in the crmDefault_Web data transform.
The default territory for the new lead is BT1 (that is, Global).
The default owner for the new lead is the operator that is used to authenticate the gadget.
The default stage for the lead is Assigned.
You can modify the default values for your implementation as needed.
The following figure displays the default values that are specified in the crmDefault_Web data transform:
After you create an account and an application, Abbyy sends an email to the email address that you used to register the
account. The email contains the application ID and password that you need to use when defining parameters for the
getCardData Java API method. The Abbyy OCR functionality is available in the sample application when the Abbyy
application configuration is complete.
GetCardData activity
In the sample application, the GetCardData activity calls the getCardData Java API method, which accepts the following
arguments:
File content
Abbyy project name
Abbyy project password
The file content is passed into the GetCardData activity from the ScanBusinessCard activity, which contains the image of
the scanned business card.
The Java API method getCardData comes from a custom Java JAR file called PegaCRMAbbyy.zip, which is a Java wrapper
application that calls the Abbyy software. It is included in the SAPlus sample application RAP.
The BusinessCardParseData data transform maps the data that is returned from the third-party software vendor to the
contact work object in the Pega Sales Automation application. Abbyy returns an XML structure after processing the file
image that is received from the app. In the sample application, the data in the XML structure is placed in the data
structure PegaCRM-Int-BusinessCard-Abbyy- by using the following subclasses:
DocumentType
BusinessCardType
FieldType
CharactersType
CharType
FieldComponentsType
FieldComponentType
The BusinessCardParseData data transform then maps the data from the XML data model to the contact data structure
and makes it available in the application.
To import your data into Pega Sales Automation application, use comma-separated values (CSV) files. The columns in
the CSV files are mapped to fields in the Pega Sales Automation data model by using templates. The following image
outlines the data import process:
The data import process is divided into the following major steps:
You can use one of the following options for uploading the CSV files into your application:
Analyze the type of data that you have and how it relates to the Pega Sales Automation entities and their fields.
Use the Pega Sales Automation sample data templates as examples when creating your CSV files to ensure that
the CSV file you want to import contains the fields and values that are allowed by Pega Sales Automation and that
all required fields are provided. If you find that the default templates do not fulfill your requirements, you can
extend them. For more information, see Data import scenarios.
Make sure that the data types are correct and that date formats are unified across all the CSV files. The Data
Import wizard supports the following ISO 8601 date and time formats:
hhmmssZ
hhmmssffffff
hhmmss+|-hhmm
hh:mm:ss.ffffff
hh:mm:ss.ffffff+|-hh:mm
yyyymmdd
yyyymmddThhmmssZ
yyyymmddThhmmssffffff
yyyymmddThhmmss+|-hhmm
yyyy-mm-dd
yyyy-mm-ddThh:mm:ss.ffffff
yyyy-mm-ddThh:mm:ss.nnnnnn+|-hh:mm
Make sure the relationships between the records are maintained to ensure proper associations between the
entities. You can use VLOOKUP in your Excel files to match parent record IDs with child records in your export CSV
files. For example, check if contacts are linked to the Accounts that they are related to.
Territory
Partner
Operator
Time period
Sales goal
Organization
Accounts
Contact
Household
Lead (individual)
Lead (business)
Product
Competitor
Opportunity (individual)
Opportunity (business)
Task
Customer activity
Pega Pulse
Territory
Territories are used to manage the individual members of your sales organization and to grant access to the accounts,
contacts, leads, opportunities, organizations, and households in the Pega Sales Automation application.
Territory ID is mandatory for most of the Pega Sales Automation objects.
If you have not activated territory management, set a default global territory value called BT1 for territories.
Forecast manager, Forecast delegate, and Parent territory values must exist prior to the import. These columns
need to be updated with your implementation-specific groups.
Forecast manager and Forecast delegate fields should not be the same in the .CSV file.
Partner
With Pega Sales Automation, you can work directly with external agencies, resellers, and sales partners by granting
them access to your local implementation. Review the following sample .CSV file:
Operator
An operator is an individual user of the Pega Sales Automation application: either a member of your sales team, a
partner's sales team, or an administrator.
You must update the Operator Type column with your implementation specific access groups.
To import the reporting hierarchy, perform the following steps:
1. Import users.
2. Update the External owner ID’s under the Reports To column.
3. Re-import the .CSV file.
Time period
Sales goals are measured against specific time periods. You can set up time periods with different frequencies (for
example, fiscal year, quarter, and month) that are interdependent.
Ensure that the parent frequency time period exists and has valid start and end dates.
If the fiscal year, quarter, and month records are all included in a single file and validation occurs, only the fiscal
year records are imported.
Sales-goal
Sales goals give sales managers the ability to plan quarterly or monthly goals for sales representatives based on a
variety of metrics. Sales goals are measured against specific time periods. You can set up multiple time periods in the
application, for example, a year, a quarter, or a month.
Organization
An organization represents the top level of the business hierarchy. An organization can be a specific business, holding
company, or corporation. Organizations have one or more child entities in the form of accounts. Organizations are used
in B2B selling only. You must update the Owner column with your implementation-specific groups.
Accounts
Accounts are economic decision-making units. Accounts are used in B2B sales to represent the logical or physical groups
to which products or services are sold.
Use external IDs of the automatically created accounts to relate with other entities, for example, contact, leads,
and opportunities.
Before importing accounts, make sure that you enable the Autoaccountcreation Dynamic System Setting.
Contact
A contact is a person who is a prospect or a customer.
In B2B sales, a contact is usually an employee of the organization to which you are selling.
In B2C sales, a contact is the person interested in making a purchase.
Household
A household is a group of contacts with one of the members as a head of household. A household usually represents
members of a family or contacts living at the same address. A household can also be used to group any set of contacts
that share a commonality and have a primary contact person. Review the following sample .CSV file:
Provide a valid start date and end date with the supporting format.
Provide a valid contact identifier as a household member.
Lead (individual)
A lead is a prospective customer of a product or service. Once qualified, leads can be converted to a contact or to an
opportunity. Review the following sample .CSV file:
Lead (business)
A lead is a prospective customer of a product or service. Once qualified, leads can be converted to a contact or to an
opportunity. You need to use Lead column to load business-to-business (B2B) selling mode leads.
Product
Your products are the goods and services that you sell to your customers. Pega Sales Automation supports the following
product hierarchy:
Categories
Families
Groups
Products
You must perform multiple imports to load multiple product hierarchies. For example, for the hierarchy: category,
family, group, and products, you must perform four separate imports and load the products in the same order.
Before you import the product hierarchy data, enable engagement maps.
Competitor
Your competitors are other organizations that sell similar products to the same base of customers. Enter product and
competitor information in the application to align opportunities with product offerings and to identify your competitors
so you can differentiate your product.
Opportunity (individual)
You can customize the opportunity case types by modifying the Pega-provided stages or by adding your own stages and
steps to reflect the processes. Use the Opportunity individual column to load B2C opportunities.
Opportunity (business)
An opportunity is a qualified deal or a potential sale that you track, develop, and manage. Opportunities often begin as
leads that have been qualified. Opportunities are the foundation of your sales pipeline, goal attainment, and forecast.
Use the Opportunity column to import B2B opportunities.
Task
Tasks are reminders of actions or processes for sales teams to follow.
Update the Start date and Due date fields according to the Pega Sales Automation validation standards. For example, a
due date of a task cannot be in the past.
Customer activity
Activities are interactions with prospects or customers, such as phone calls, meetings, and co-browse sessions.
Pega Pulse
Pega Pulse adds social activity stream capabilities to your user interface. With Pega Pulse, application users can
collaborate in real time, share comments, files, and URLs with other users, and take action directly from an activity
stream. Review the following sample .CSV file:
Use the pulse loader to import the Feed post and Feed Comment fields.
Update RelatedTo and PostedBy information based on your implementation specific groups.
The Mapping options allow users to set fields by using lookups, decision tables, or decision trees. For example, if you
have a territory ID in your source file but want to populate the territory name related to the ID in your target field, you
can use a lookup to search by the ID and populate the respective name.
There are default fields available to use for external IDs that are retrieved by using a lookup.
This article explains how to use the Data Import wizard. If you are using the Data Import File Listener, skip this article.
For more information, see Using the Data Import File Listener.
To import your data by using the Data Import wizard, perform the following steps:
2. Import data.
1. Select an import purpose:
1. To add only new records, click Add only. Updates to existing records are ignored.
2. To add and update records, click Add or update.
2. Click Choose File and select the CSV file that you want to import.
3. Map fields.
1. Select the template that you want to use.
If the purpose is set to Add or update, you can use the Update type to control how empty fields are
handled.
If the purpose is set to Add or update, the Match existing records by option allows you to choose the field
name with which existing records in the system will be identified for update.
4. Select import options.
1. Optional: To save mappings configured on the Map fields page in the wizard to a new or existing template for
future use, select Save import settings.
2. If this is the first time you are loading data from a data source, clear the Skip running validate rules check box.
Load only a few rows of data as a test before loading a full record set. Once you are confident about the
quality of your data, select the Skip running validate rules check box to reduce the throughput.
Pega Sales Automation comes with a file listener for the following entities:
Operator
Contact
Household
Lead (individual and business)
Opportunity (individual and business)
Organization
Task
Customer activity
Territory
Account (in 8.2 version only)
The data import File Listener data import process is divided into the following steps:
1. Import recommendations
2. Preparing the data
3. Configuring the data import File Listener
4. Running the data import File Listener
Import recommendations
For best performance, while using the data import File Listener, keep in mind the following recommendations:
The size of the File Listener base upload should not exceed 1 million records in a single file.
Batch size value recommended for upload is 1000.
It is recommended to use Add Only mode for the initial data migration.
To improve performance, high-volume import process should not include generating unique IDs. Include pyID for
work object records in the import file. Update the unique ID stored in the pc_data_uniqueID table after importing
contacts. Set the value in the table to the highest pyID in the contact table.
Database indexes improve query performance, however, when updating a database table, indices can have a
negative impact if there are too many indices or a database table is very large. A table with 100,000,000 rows can
cause lower performance when modifying the table. Remove non-essential indices during the import phase.
Use the FilterHistory system setting to override the current application ruleset to stop the process of creating work
history. Set the history to "WRITE_NONE” and then run the History-Work-.resetFilterHistory activity or restart the
server.
Keep in mind that the number of threads per node should be the same as the number of CPUs on that node. By
doing this, you improve the performance of the initial load. After you complete the import, enable Audit history.
To ensure a maximum parallel processing, there must be as many input files for the file listener as there are
threads, because each thread is processing one file at the time.
Setting SkipValidation to true is not improving performance.
Preparing the data
Data import File Listener uses the same underlying APIs as the data import wizard to process files placed in
predetermined folders on the server. Importing data by using the data import File Listener always requires templates. If
necessary, you need to use the data import wizard to make any template changes prior to using the file listener.
Before starting the entire data import, import a few records to start with and fix any issues.
For Pega Cloud deployments, it is recommended to use SFTP server implementation. Move files to the
/usr/local/tomcat/work/sync-data folder.
1. Provide the base folder in the file listener source location. The file listener looks in one of the following
subfolders, depending on the object type being imported:
/Contact
/CustomerActivity
/Household
/IndividualLead
/IndividualOpportunity
/Opportunity
/Lead
/Operator
/Organization
/Task
Territory
/Account (in 8.2 version only)
2. Enter the file listener notification email addresses to which you want a notification email sent.
2. By default, the data import File Listener is configured to run with the following settings:
4. Place your files in the subfolder corresponding to the object type you are importing.
After an entire file is processed, output files are created in the WEB ROOT folder. The output file lists the failed records
along with information about the error. A data import results summary is emailed to the notification email addresses
that are provided.
Pega Sales Automation artificial intelligence-based opportunity
insights
Pega Sales Automation uses decisioning capabilities to provide predictive insights for opportunities.
Opportunity insights are displayed in the opportunity record for each opportunity. The widget is dynamic and responds
to changes, such as stage changes and changes in customer activity or contact growth.
Win probability
Adaptive models predict the likelihood of winning an opportunity. The application uses the average number of all won
opportunities for a given stage as the base propensity. The difference between the likelihood that you will win an
opportunity and the base propensity is an indicator of how you are progressing with the opportunity.
Close date
Adaptive models predict the quarter when an opportunity is most likely to close. The application compares the target
date range that is set by the sales representative and the predicted closing quarter to indicate whether the opportunity
close date is earlier than expected, on time, or delayed.
Historical data – The adaptive model provides a set of key predictors that are drawn from an analysis of data from
actual production environments. Production data was used to create weekly snapshots for each closed opportunity
over a two-year period. Over 2,000 opportunities were used to create the weekly snapshots and approximately
50,000 records were used to define the key predictors and train the adaptive models.
The following predictors are provided in the adaptive model:
Pega Sales Automation Pega Sales Automation for Financial Services
B2B and B2C opportunities B2B opportunity B2C opportunity
.ActiveDays .ActiveDays .ActiveDays
.Age (months or years in
.AllTotal30Vs90 .AllTotal30Vs90
business)
.AllUnique30Vs90 .AllUnique30Vs90 .AllTotal30Vs90
.ContactGrowthPast30Vs90Days .AnnualRevenue .AllUnique30Vs90
.CountOfClsPast30Vs90Days .ContactGrowthPast30Vs90Days .AnnualIncome
.OpportunitySource .CountOfClsPast30Vs90Days .ContactGrowthPast30Vs90Days
.OrganizationIndustry .CurrentAssets .CountOfClsPast30Vs90Days
.OrganizationRevenue .EstimatedCreditScore .CurrentAssets
.OrgDownloadActivity30Vs90Days .LoanAmount .EstimatedCreditScore
.OrgSubscrbeActivity30Vs90Days .MonthlyDebtToIncomeRatio .LoanAmount
.OrgWebsiteActivity30Vs90Days .MonthsInBusiness .MonthlyDebtToIncomeRatio
.ReceivedTotal30Vs90 .NumberOfEmployees .NoOfAccounts
.ReceivedUnique30Vs90 .OpportunitySource .NoOfHouseholdMembers
.SentTotal30Vs90 .OrganizationIndustry .OpportunitySource
.SentUnique30Vs90 .OrgDownloadActivity30Vs90Days .pyPostalCode
.StageDuration .OrgSubscribeActivity30Vs90Days .ReceivedTotal30Vs90
.StageSequence .OrgWebsiteActivity30Vs90Days .ReceivedUnique30Vs90
.PreviousYearGroth .SentTotal30Vs90
.pyPostalCode .SentUnique30Vs90
.ReceivedTotal30Vs90 .StageDuration
.ReceivedUnique30Vs90 .StageSequence
.SentTotal30Vs90 .TotalOutstandingDebt
.SentUnique30Vs90 .ValueOfCollateral
.StageDuration
.StageSequence
.TotalOutstandingDebt
.ValueOfCollateral
Adaptive learning – An agent runs daily to execute a data flow that makes a call to a decision strategy. The
decision strategy contains all of the adaptive models and runs on all of the open opportunities to capture the data
that is required by the models. The decision strategy uses the standard Delayed Learning cache. When an
opportunity is closed, the application triggers a response strategy from a data flow to fetch the data for relevant
decisions and train the applicable models. You can use the same decision strategy at any time to evaluate an
opportunity and return propensities.
Solution overview
The following figure displays an overview of the solution:
The application uses a single strategy to drive the insights that are displayed on the dashboard widget and to take
periodic predictor snapshots. The strategy runs all three model types (move to next stage, opportunity win, and win
date), distinguishing them by using labels that are mapped to the issue and group hierarchy. For the opportunity win
and move to next stage models, the strategy also evaluates a model without predictors (opportunity win base
propensities) to establish a base propensity for benchmarking.
Strategy models
The solution includes a set of models that provide predictors based on historical data.
The input predictor range should be as complete as possible. All models share the same predictors, although they might
treat them differently.
When an opportunity moves from the current stage to the next stage, the application sends a positive, one-response to
all opportunities in the Adaptive Decision Manager (ADM) data cache. The application also takes a snapshot of the
previous stage. The response is filtered by using an additional Decision Data Store (DDS) dataset. The response strategy
for the move to next stage model filters out the decision results for stages that have already been marked as positive. It
then determines whether the current stage is higher than the stage in the snapshot, and returns only the decision
results for which this is true.
This model does not use predictors. Instead, the model uses an opportunity stage as the context to provide the base
propensity of moving from the current stage to the next stage.
ADM does not support exact date win predictions. Instead, ADM supports separate models for the following outcomes:
The application uses propositions in a Decision Data shape to model the date ranges. The propositions have both a
minimum and maximum days attribute. If you require more granularity, you can edit the propositions to meet your
needs. You can also draw a spline in the flow to create a smoother display for the dashboard widget.
This model does not use predictors. Instead, the model uses an opportunity stage as the context to provide the base
propensity of winning an opportunity in a specified time frame.
For the Pega Sales Automation application, review the following D_PredictSAOpportunity data page description:
D_PredictSAOpportunity
The Analytics widgets in the opportunity run in the context of the D_PredictSAOpportunity data page. This data page has
the SAPredictOpportunity activity as a data source, which runs the GetContactGrowthRatio, GetEmailActivityRatio,
GetTrendsDataRatio, and GetCIRatio activities before calling the SAPredictOpportunity data flow. The data flow uses the
EvaluateOpportunity strategy to predict the propensity to move to the next stage, to win an opportunity, and to predict
the close date quarter.
For the Pega Sales Automation for Financial Services application, review the following D_PredictSAOpportunity data
page description:
D_PredictSAOpportunity
This data page populates the propensity for an Opportunity case. The Analytics widgets in the opportunity run in the
context of the D_PredictSAOpportunity data page. This data page has the SAPredictOpportunity activity as a data
source, which runs the PopulatePredictors activity. The PopulatePredictors activity replaces the following activities:
GetContactGrothRatio, GetEmailActivityRatio, GetTrendsDataRatio, and GetCIRatio, which are available in the Pega
Sales Automation application. When there are multiple products specified, the PopulatePredictors activity iterates all of
the products propensity, but displays the least propensity model. This workflow is applicable only for the credit and
debit product types.
Data flows
Review the following data flows list:
StoreOpportunitySnapshots
The solution uses the StoreOpportunitySnapshots data flow during the initial training of the models by using the data
that is fetched from the internal production data. This data flow converts each record from the PegaCRM-Data-SFA-
Predictors class into opportunity objects and then routes them to the EvaluateOpportunity strategy. In the data flow, the
Mode for the EvaluateOpportunity strategy is set to Make decision and store data for later response capture.
TrainFromHistory
The input for TrainFromHistory comes from the RD OpportunityStages, which fetches one record per opportunity from
the predictors’ data table, sorted by maximum stage. This data flow calls the OpportunityClosed and MovedToNextStage
data flows.
OpportunityClosed
The OpportunityClosed data flow calls the CloseOpportunity strategy, which captures responses for decisions in the past
period.
MovedToNextStage
The MoveToNextStage data flow calls the HandleNextStageResponses strategy, which is the core strategy for training
the PredictNextStageModels adaptive model. The available responses depend on whether an opportunity moves up or
down from the current stage.
SnapshotOneOpportunity
The SnapshotOneOpportunity data flow reuses the EvaluateOpportunity strategy, which is used to train the model
during bulk processing. This data flow runs on a daily basis and captures all predictors for the opportunity each time it
runs.
SAPredictOpportunity
The SAPredictOpportunity data flow reuses the EvaluateOpportunity strategy to get the analytic results for the
opportunity.
The StoreOpportunitySnapshots and the TrainFromHistory data flows are not applicable for the Pega Sales Automation
for Financial Services application.
You can view details for each data flow in Dev Studio.
Strategies
The solution uses the following strategies:
EvaluateOpportunity
HandleNextStageResponses
Adaptive models
Each adaptive model has predictors, context, and outcomes that you must configure before you can train the models to
predict outcome propensities based on your use cases. Base propensity models do not have any predictors, but they
have the OpportunityStage property in their context so that you can train different models for each stage.
PredictiveMoveNextStage
BaseWinModel
PredictWin
PredictCloseDate
The Pega Sales Automation application suggests actions to managers based on the performance of sales
representatives. It also provides suggestions to sales representatives about how to improve their performance. The
artificial intelligence model predicts the probability to reach the target, for example, reaching a target of 300k in 18
months. You can configure the definition of success (300k), T-Zero (3 months), and T-End (18 months).
The adaptive models capture all of these actions to predict the effectiveness of the corresponding sales representatives.
Radar charts provide precise insights about the adaptive models.
Coaching actions
The coaching actions are based on the difference between the maximum propensity that sales representatives achieve
per predictor and their current propensity. The coaching actions are prioritized based on the differences scale. For
example, actions associated with the predictor where the sales representative has a maximum improvement scope are
listed first.
The sales manager receives a notification from the Sales coach at the start of the week. The manager then completes
the following steps:
1. Click the recommendation notification. The manager’s Pulse feed opens, displaying new coaching
recommendations.
The Coaching plan widget displays in the panel on the right side of the Pulse feed. Coaching recommendations
appear on the Suggested tab in the Coaching plan widget.
2. Filter the recommendations by the sales representative and identify the coaching recommendations to pursue.
3. Click the Coach button for each recommendation and create a coaching plan.
The Recommendation dialog box contains details about the Recommended Value and Current Value for the
selected category for the sales representative.
4. Select the next touchpoint by choosing a Follow-up date.
5. Click Submit.
The recommendation status becomes Active and a notification is sent to the sales representative that a coaching
plan has been assigned.
The sales representative receives a notification from the Sales coach indicating that a coaching plan has been assigned.
The sales representative then completes the following steps:
Only the sales manager and the sales representative can see these Pulse communications—they are not visible to
anyone else in the organization.
On the day that the sales representative follows up on coaching plan, the Sales coach bot posts a comment in the Pulse
feed of the Coaching recommendation explaining the sales representative progress. The post contains details about the
degree of improvement made by the sales representative. The sales manager then decides whether to follow up with
the sales representative, complete the plan, or cancel the plan.
Historical data
The key predictors are configured in the adaptive model rule based on the analysis of data from real production
environments. The adaptive model after the training period activates or deactivates predictors. Production data is also
used to create weekly snapshots for sales representatives during their first 18 months in the organization. The system
uses data from the Human Resources systems to improve the accuracy of the predictors.
The Pega Sales Automation application has the following predictors in the adaptive model:
Adaptive learning
An agent runs daily and executes a data flow that calls a decision strategy. A decision strategy contains the
effectiveness adaptive model for all of the sales representatives who have not completed their first 18 months of
employment period to capture the data that is required by the models. A decision strategy uses the standard Delayed
Learning cache. When a sales representative reaches 18 months of employment, the application triggers a response
strategy from a data flow to retrieve the data for relevant decisions and to train the applicable model.
To view the radar chart, select a score. The D_SalesRepEffectiveness data page calls the PredictSalesRepEffectiveness
activity, which calls the GetEffectiveness activity to present current predictor values for each sales representative. The
D_SalesRepEffectiveness data page also executes the PredictEffectiveness data flow. The system calls the
SalesManagerCoachingActions data flow to suggest actions for each sales representative.
Strategy models
The Pega Sales Automation application uses the following strategies:
EvaluateEffectiveness strategy
The Pega Sales Automation application uses the EvaluateEffectiveness strategy, which is used to train the
PredictEffectiveness model as well as to predict the effectiveness score of each sales representative. To reuse this
strategy, to train the model, and predict the effectiveness score, complete the following steps:
The strategy sets the context for the model and calls the adaptive model. The system presents the results individually
or as a set on the primary page, which you can configure in the strategy properties in the data flow.
The
EvaluateEffectiveness strategy overview
EndProbation strategy
The Pega Sales Automation application uses the EndProbation strategy, which is called from the
SalesRepProbationCompleted data flow when the initial 18-month of employment period (T-End) is completed. The
strategy retrieves the daily snapshots of the sales representative and sets the outcome based on whether the sales
representative achieved their target. The system returns the results to the data flow, which sources them to the
pxAdaptiveAnalytics data set. The adaptive models learn and advance by using this data.
The EndProbation strategy overview
Data flows
The Pega Sales Automation application uses the following data flows:
The PredictEffectiveness data flow compares the sales representative object (Data-Admin-Operator-ID) with the previous
snapshot (8 weeks earlier) to calculate the delta. The system retrieves the earlier snapshot for calculating delta by using
the PegaCRM-Data-SFA-SalesRepSnapshot data set. The PredictEffectiveness data flow calls the EvaluateEffectiveness
strategy with the mode set as Make Decision and updates the results, including the propensity, in the operator record.
The propensity shows the effectiveness score for the particular sales representative.
The
PredictEffectiveness data flow
Every 24 hours, an agent calls the SalesRepDailySnapshots data flow, which captures snapshots of the predictors for
each sales representative who has not completed the initial 18-month of employment period. To reuse this strategy, to
train the model, and to predict the effectiveness score, the EvaluateEffectiveness strategy mode is set to Make decision
and store data for later response capture. The application also stores the effectiveness propensity for each of the sales
representative every day. The system calculates the optimal for each day by taking the average of the effectiveness
score of all of the successful sales representatives on that day.
After a sales representative completes the initial 18-month employment period (T-end), the system updates the
outcome for all of the previously captured snapshots. The EndProbation strategy sets outcomes based on the total
amount that the sales representatives achieved. To reuse this strategy, to train the model, and to predict the
effectiveness score, the EndProbation strategy mode is set to Capture response for previous decision in the past period.
The results from the strategy are sourced to pxAdaptiveAnalytics.
Historical data
The adaptive model provides a set of key predictors that are based on the analysis of data from real production
environments. For example, the system uses:
Production data to create weekly snapshots for each closed leads over one-year period
Records to define core predictors
Records to train the adaptive models
The following predictors are provided in the Pega Sales Automation adaptive model:
AvgTimeToConvertLeads
ContactAge
DownloadCount
ExistingCustomer
Industry
LeadAge
LeadCompany
LeadsContactActivities
LeadsContactInEmailCount
LeadsContactOutEmailCount
LeadRating
LeadSource
NoOfActivitiesByMeeting
NumberOfActivities
NumberOfActivitiesByEmail
NumberOfActivitiesByPhone
NumberOfWonOpportunities
OrgSubscribeCount
WebsiteVisitCount
ValidEmail
ValidWorkPhone
Adaptive learning
An agent runs daily and executes a data flow that calls a decision strategy. A decision strategy contains the Lead
Ranking adaptive model, which represents properties to capture the data that is required by the models. A decision
strategy uses the standard Delayed Learning cache.
When a lead is converted to an opportunity or closed without being converted, the system triggers a response strategy
from a data flow to retrieve the data for relevant decisions and train the applicable models.
1. A LeadScoring agent runs daily to capture the current snapshot of all of the leads and passes the snapshot to the
LeadRankingUpdate data flow.
2. The LeadRankingCloseProbation data flow runs to set the outcome against the lead that is stored in step 1.
3. The leads are displayed. The system uses all of the historical data that is gathered while performing the above
steps to calculate the propensity of the lead to change into an opportunity.
Model
Data pages
Data flows
Viewing the data flow details
Strategies
Adaptive models
To set lead ranking outcomes, define positive or negative outcome values on the Outcomes tab.
To view the advanced settings, such as performance monitoring or data analysis binning, open the Settings tab.
D_crmLeadsList
The lead score in the leads list run in the context of the D_crmLeadsList data page. The D_crmLeadList data page has
the crmLeadsList report definition data source, which retrieves all lead information from the database. The system uses
the data and the CaluculateLeadScore rule in post-load processing.
CalculateLeadScore
CalculateLeadScore is a post-processing activity that combines the data for each lead that is available in the PegaCRM-
Work-SFA-Lead lead table with the PegaCRM-Data-SFA-LeadPredicotrs table. The system runs the RankedLead data flow
to predict the propensity for each lead. The calculated propensity represents the likelihood for that particular lead to be
converted to an opportunity.
StoreLeadSnapshots
The StoreLeadSnapshots data flow uses the lead data from the production environment. The StoreLeadSnapshots data
flow converts each record from the PegaCRM-Data-SFA-LeadTrainingPredictors class into lead objects. After that, the
system routes converted records to the EvaluateLeadRanking strategy. Use the Make decision and store data for later
response capture mode for EvaluateLeadRanking strategy.
CaptureLeadOutcomes
The LeadRankingOutcomes report definition is the input for the CaptureLeadOutcomes data flow. The
LeadRankingOutcomes report definition retrieves one record per lead from the historical predictors data table, sorted by
the maximum snapshot date. The system then retrieves the outcome for each lead. The CaptureLeadOutcomes data
flow calls the LeadRankingCloseProbation data flow.
LeadRankingUpdate
The system invokes the LeadRankingUpdate data flow by using the SA-Artifacts agent. The SA-Artifacts agent stores the
daily lead snapshot. The system collects lead static data and predictor data for each lead. The system then routes the
data to the EvaluateRanking strategy. Change the mode to Make decision and store data for later response capture.
LeadRankingCloseProbation
The system uses the LeadRankingCloseProbation data flow to set the outcome for a lead when an outcome is triggered,
such as when the system convers a lead into an opportunity or when it closes a lead.
RankLead
The RankLead data flow runs on a demand basis. The system invokes the RankLead data flow by using the
CalculateLeadScore activity for each lead to calculate the lead score. The RankLead data flow collects predictor
properties for each lead and the lead static data. After the system collects lead static and predictor properties data, it
routes the data to the EvaluateLeadRanking strategy to calculate the lead score. Use the Make decision mode for the
EvaluateLeadRanking strategy.
1. In the Dev Studio Explorer panel, click Records > Data Model > Data Flow.
2. Select a data flow to open it and view the data flow record.
EvaluateLeadRanking
CloseLead
1. In the Dev Studio Explorer panel, click Records > Decision > Strategy.
2. Select a strategy to open it and view the strategy record.
1. In the Dev Studio Explorer panel, click Records > Decision > Adaptive Model.
2. Select an adaptive model to open it and view the adaptive model record.
Before using artificial intelligence insights with Pega Sales Automation, activate the feature for your implementation and
then configure the application to train Pega’s adaptive models for artificial intelligence.
To configure your application for artificial intelligence, log in to Pega Sales Automation and complete the following
steps:
If you installed the Pega Sales Automation sample application, to reset the artificial intelligence sample, use the Tools
menu in the Sales Ops portal. This resets the sample data that is related to artificial intelligence features for
demonstration purposes.
When you configure next-best-action strategies for Pega Sales Automation, you can display the Next Best Actions
widget on your sales representative's dashboards. The widget displays the top ten (ranked) actions for the sales
representative. Each action includes a tool tip that displays the trigger for the action. The action displays as a hyperlink
that you can click to access the screen or form that is required to complete the recommended action. When you mark
an action as complete in the widget, the list is dynamically updated.
The following figure shows the Next Best Rep Actions widget on the dashboard populated with the top ten next-best-
actions.
Next-best-actions are associated with opportunities. The Next Best Actions section for an opportunity displays the three
next-best-actions to take for the opportunity.
The following figure shows the Next Best Actions section for an opportunity populated with the top three next-best-
actions.
The application provides the following next-best-actions. The actions are assigned a default numerical ranking (up to
100) that the application uses to prioritize the actions to display.
Call Contact
Follow up on an open service case and provide customer an update
Drive digital activity
Drive Contact growth
Create renewal Opportunity
Call Organization
Convey birthday wishes to Contact
Send the data sheet for the product recently added to Opportunity
Read competitive battle card for Competitor
Add contract documents
Create a new Opportunity for a household member
Send a thank you note
Contacts must have a value in the CLV_Value column in the crm_entity_contact table. If null values are present, run the
PopulateCLVwithRandomValues activity. This is required for the Call<contact>NBA action.
This action is triggered when a lead is added to a contact who meets the following criteria:
The contact has a customer lifetime value (CLV) greater than 400.
The contact is associated with an existing opportunity.
This action requires Pega CRM with both Pega Customer Service and Pega Sales Automation enabled. This action is
triggered when a contact has an open service case that was created in either application. If the contact has multiple
open service cases, the oldest service case (based on pxCreateDataTime) is presented first.
1. Open a contact.
2. Click Actions and select one of the following service actions:
General Service Request
Complaint or Compliment
Schedule Activity
3. After you add the service action, it displays on the Engagement Profile tab in the Recent service cases section for
the contact.
4. Open an opportunity linked to this contact.
The Follow up on open service case and provide customer an update action displays in the Next Best Actions
section of the opportunity.
The Follow up on open service case and provide customer an update activity also displays in the Next Best Rep
Actions widget on the sales representative's dashboard, along with the number of days the service action is open.
5. To open the service action and follow up with the customer, click the action link.
This action is associated with the following parameters and default values:
For each parameter, the application calculates a ratio that compares the past 30 days of activity with the past 90 days
of activity. The action is triggered when an opportunity is linked with an organization and the ratio for any parameter
falls below the specified default value, indicating a decrease in user activity.
This activity is associated with the following parameter and default value:
For this parameter, the application calculates a ratio that compares the number of customers added in the past 30 days
to the number of customers added in past 90 days. The action is triggered when an opportunity is linked with an
organization and the contact growth parameter for the organization falls below the default value, indicating that the
rate of adding new customers has declined below normal.
1. Open an opportunity for which the number of contacts added in the last 30 days is lower than the number of
contacts added in the last 90 days.
The Drive Contact growth action displays in the Next Best Actions section of the opportunity.
2. To open the associated organization, click the action link.
3. To view the Contact Growth graph, click the Contact Growth tab.
This action is triggered one year after the date that an opportunity is closed.
Call Organization
Default Rank: 75
This action is triggered when there is no interaction with the organization for a period of 30 days.
1. Open an organization with whom there has been no interaction in the last 30 days.
2. Open any opportunity from this organization.
The Call Organization action displays in the Next Best Actions section of the opportunity.
3. To open the organization that is associated with the opportunity and complete the appropriate action, click the
action link.
Opportunity level – If the contact of the opportunity has a birthday today, the action is triggered on the contact's
actual birthday. The action is displayed (and available for seven days) in the Next Best Actions section of the
opportunity and the Next Best Rep Actions widget on the sales representative's dashboard.
Organization level – If any contact of organization has a birthday today, the action is triggered. The action is
displayed (and available for seven days) in the Next Best Actions section of the opportunity and the Next Best Rep
Actions widget on the sales representative's dashboard.
1. Open an opportunity.
2. Open a contact and change the contact's date of birth to today's date.
The Convey birthday wishes to Contact action displays in the Next Best Actions section of the opportunity.
3. Click the action link to open the default email client and send birthday wishes to the contact. The To and Subject
fields have default values for the contact and the activity. The body of the email has default text for the birthday
message.
1. Open an opportunity.
2. Add a product to the opportunity.
The Prompt Data sheet for the product action displays in the Next Best Actions section of the opportunity.
3. To view the tool tip to determine which product was added, click the i icon.
4. To open the default email client and send a product sheet to the contact for the opportunity, click the action link.
The To and Subject fields have default values for the contact and the activity. The body of the email has default
text that includes a website URL for the product sheet.
To complete this action, you must set up the product's website URL.
1. Open an opportunity.
2. Add a competitor to the opportunity.
The Read Competitive battle card for <Competitor Name> action displays in the Next Best Actions section of the
opportunity.
3. To open the competitor's website URL, click the action link.
To complete this action, you must set up the competitor's website URL.
This action is triggered when you move an opportunity to the Negotiation stage.
This action is triggered to recommend the creation of a new opportunity when a household member for an opportunity
contact turns 18 in the current month. The action is triggered only for individual opportunities and displays for the entire
month.
1. Open an opportunity.
2. Close the opportunity.
The Send thank you note action displays in the Next Best Actions section of the opportunity.
3. To open the Send Thank You form and send the thank you email, click the action link.
When an opportunity is closed, only the Send thank you note and Create renewal Opportunity actions can be triggered.
Prerequisites
Before you begin your configuration, ensure that the following are installed:
Any data model that is required for a new next-best-action must be created in the GivenSAOpp primary step page.
To import components and define your strategy, complete the following steps:
Prerequisites
To use next-best-action strategies with Pega Sales Automation, the following decisioning tools and services are
required:
Decision Strategy Manager (DSM) and Adaptive Decision Manager (ADM) must be installed on the server.
The following services must be running with a status of normal:
Decision Data Store
Adaptive Decision Manager
Data Flow
Visual Business Director
Ruleset
Pega Sales Automation Next-Best-Action uses the SA-Artifacts ruleset.
Class
A new SA-SR class (Sales Automation – Strategy Results) provides the foundation for the entire Pega Sales Automation
Next-Best-Action structure. This class has direct pattern inheritance from Data-pxStrategyResults.
You can view details for the SANBAIssue business issue in Designer Studio.
1. In Dev Studio, click Configure > Decisioning > Decisions > Proposition Management.
2. In the Business issues & groups section, click to expand the SANBAIssue business issue.
Property
The NBAForSalesRepOpp page list property holds the results of decision strategies and populates the repeating grid of
the NBASalesRepOpp section of an opportunity. This page list is populated by the NBASalesRepOpp activity.
You can view details for this property by searching for and selecting the NBAForSalesRepOpp page list property in the
Designer Studio search text header field.
Activities
Pega Sales Automation Next-Best-Action uses the following activities:
NBASalesRepOpp – This activity uses the opportunity ID as an input parameter and populates the next-best-actions
in the NBAForSalesRepOpp property. The activity opens an opportunity in the GivenSAOpp page, which acts as the
parent for the entire next-best-action data model for the activity. The activity then populates the accounts, leads,
contacts, households, competitors, and contacts related to the organization to create a tree structure of pages.
CaptureTopActions – This activity is invoked to store the next-best-action interaction response in the interaction
history.
GetNextBestAction – This activity populates the D_opportunitiesNextBestAction data page, which populates the
Next-Best-Actions widget on the sales representative's dashboard. This activity runs the
DisplaysAListOfOpportunitiesForNBA report definition, and for each opportunity, it calls the NBASalesRepOpp
activity to get the top actions for that opportunity. The activity stops when it reaches ten actions.
You can view details for each of these activities by searching for and selecting the activity name in the Designer Studio
search text header field.
Report definitions
The NBASalesRepOpp activity uses various report definitions to populate the GivenSAOpp page.
ContactsRelatedToOrganizaton – The activity uses this report definition to get the contacts that are related to the
organization.
LastActivityByOrg – The activity uses this report definition to get the last activity that was performed by the
organization.
ActiveHouseholdMembersForAllHouseHoldsLinkedWithContact – The activity uses this report definition to populate
the list of active contacts for the primary contact's households for the current opportunity.
DisplaysAListOfOpportunitiesForNBA – The activity uses the report definition to get the list of opportunities that
were closed in the current quarter and those that were closed more than a year ago, sorted by opportunity amount.
You can view details for each of these report definitions by searching for and selecting the report definition name in the
Dev Studio search text header field.
Data flows
The NBASalesRepOpp activity uses two data flows:
BuildOpportunitySpine – The activity uses this data flow to get a list of contacts, products, and competitors for the
opportunity.
NBASalesRepOpp – This data flow runs the parent NextBestActionsForSalesRep decision strategy.
You can view details for each of these data flows by searching for and selecting the data flow name in the Dev Studio
search text header field.
Strategies
Pega Sales Automation Next-Best-Action uses the following strategies:
NextBestActionsForSalesRep – This strategy is the parent strategy. It uses the GivenSAOpp page and has multiple
sub strategies. In this strategy, the results from sub strategies are grouped and ranked in priority order in the Top
3 Actions component. This component provides the top three actions and the top action to the Results component.
The top three actions are displayed in the opportunity and the top action is displayed in the Next-Best-Actions
widget on the sales representative's dashboard.
Sub Strategies – For all of the sub strategies within the main strategy (NextBestActionsForSalesRep), the strategy
evaluates a specific condition and generates an action. The sub strategies evaluate the appropriate pagelist in the
data structure, generate actions, and filter out actions that have been completed and stored in decision history
(.pyOutcome !=”Clicked”) by the CaptureTopAction activity. The Proposition Filter filters out unwanted and
unqualified actions by using When rules. The Set Property component populates the other properties for Pega Sales
Automation Next-Best-Action:
OpportunityCompetitorStrategy
HouseholdMemberStrategy
OpportunityContactStrategy
ContactRecentLeadStrategy
OpportunityProductStrategy
ServiceActionStrategy
OrganizationContactStrategy
Dashboard widget
The Dashboard_NextBestActions widget is populated by the D_OpportunitiesNextBestAction data page.
Data page
The D_OpportunitiesNextBestAction populates the Next-Best-Actions dashboard widget by calling the GetNextBestAction
activity.
To integrate your Pega Sales Automation with the LinkedIn Sales Navigator, perform the following steps:
For on-premises installations, each customer needs to create their own application key and provide it to the LinkedIn
representative.
Before you configure JavaScript domains, add https://www.linkedin.com as a valid SDK domain. This is required for the
widget and sign in button to render.
Failure to configure a JavaScript domain results in the following error: javascript console error Error: You must specify a
valid JavaScript API Domain as part of this key's configuration.
Dashboard widgets
Reports
For information about application-specific widgets and reports, see the following articles:
Dashboard widgets
Pega Sales Automation applications include the dashboard widgets that are described in this article. These widgets
capture and display information about your leads, opportunities, sales activity, goals, campaign results, and pipeline
status.
The widgets available in Pega Sales Automation applications are described in the following table:
Portals that
Widget
Widget description include
name
widget
Activity map Matrix view of the sales team's customer engagement activity. Sales Manager
Campaign
Campaign effectiveness of the sales representative or sales team, based on the number Sales Rep,
success
of leads converted to opportunities. Sales Manager
summary
Closed +
Insight into whether the sales representative's or sales team's closed business, Sales Rep,
commit vs
combined with committed details, will attain their quota for the quarter. Sales Manager
goal
Completed
Insight into the last 30 days of activities for the top ten most active members of a sales
activities by Sales Manager
managers team, by communication type.
sales rep
Customer Open service requests associated with customers in the sales representative's assigned Sales Rep,
requests organizations. Sales Manager
Lead Sales Rep,
Stage progression for all leads created in the last six months. Provides insight into where
conversions Sales Manager,
leads are falling out of the pipeline.
by stage Sales Ops
Tabular gamification widget that ranks sales representatives based on sales and activity Sales Rep,
Leaderboards performance. Compares deals, revenue, and activities for sales representatives Sales Manager,
reporting to the same sales manager. Sales Ops
Leads by The sales representative's or sales team's leads by source for all leads created in the Sales Rep,
source last six months. Sales Manager
Lead to
The sales representative's or sales team's leads converted to opportunities by month, Sales Rep,
opportunity
with a conversion rate overlay. Sales Manager
conversions
Next best Decisioning strategies identify and rank the sale's representative's or sales manager's Sales Rep,
actions next best action for every opportunity set to close in the current quarter. Sales Manager
Next best Artificial intelligence-based insights guide sales representatives to the top offers across Sales Rep that
Portals
Widget
offers their book of business.
Open leads Widget description include
name The sales representative's or sales team's assigned leads created within the last two Sales Rep,
by create widget
days. Sales Manager
date
Open pipeline Insight into the sales team's pipeline by opportunity stages for the top ten opportunities
Sales Rep
by sales rep in the current quarter.
Sales Rep,
Open tasks The sales representative's or sales team's open tasks based on type and priority.
Sales Manager
Opportunities Sales Rep,
The sales representative's or sales team's open opportunities by competitor.
by competitor Sales Manager
Opportunities The sales representative's or sales team's open opportunities by the products being Sales Rep,
by product sold. Sales Manager
Opportunity
The stage progression for all opportunities created in the last six months. Provides Sales Rep,
conversions
insight into where opportunities are falling out of the pipeline. Sales Manager
by stage
Opportunity
The sale's representative's or sales team's opportunities by revenue industry for all won Sales Rep,
revenue by
opportunities created in the current and previous quarter. Sales Manager
industry
Sales Rep,
Pipeline The sales representative's or sales team's open opportunities by stage and amount. Sales Manager,
Sales Ops
Pipeline by Sales Rep,
The sales representative’s or sales team's pipeline by territory.
territory Sales Manager
Sales Rep,
Pipeline The sales representative's or sales team's current pipeline along with snapshots of the
Sales Manager,
growth trend pipeline for the trailing three months.
Sales Ops
Quarterly
Insight into the sales representative's or sales team's quarter-over-quarter comparison Sales Rep,
sales
of closed sales. Sales Manager
comparison
Quota The sales representative's or sales team's quarter-to-date sales as a percentage of Sales Rep,
attainment quota. Sales Manager
Sales Artificial intelligence-based insight into whether a sales representative or a sales team is Sales Rep,
futurecast going to attain quota for the quarter. Sales Manager
Sales
Artificial intelligence-based insight into the effectiveness of sales representatives based
manager Sales Manager
on the number of contacts created, leads converted, and opportunities in the pipeline.
coach
Sales coach Artificial intelligence-based insight into coaching actions for sales representatives. Sales Manager
Successful All referral leads opened by a sales representative that are being managed by other Sales Rep,
referrals sales representatives. Sales Manager
Top 5 The sales representative's or sales team's top five opportunities that are in the final two Sales Rep,
opportunities stages of the sales process, by dollar amount. Sales Manager
Upcoming Upcoming birthdays for contacts in the sales representative's or sales manager's Sales Rep,
birthdays territory. Includes email and mobile call capabilities. Sales Manager
Sales Rep,
Win/loss The sales representative's or sales team's won and lost opportunities in the last six
Sales Manager,
analysis months with a win rate overlay.
Sales Ops
Reports
Pega Sales Automation applications include the reports that are described in this article. Use these reports to review
information about your accounts, contacts, leads, and opportunities, and to track data import and sales activity,
For information about additional reports available in all Pega applications, see Standard reports and categories.
Report categories
Account and Contact reports
Data Import reports
Lead reports
Opportunity reports
Sales reports
Information about data imports that are performed by using the Data Import wizard.
Lead reports
Information about new leads and year-to-date activity for all leads.
Opportunity reports
Information about new opportunities and year-to-date activity for all opportunities.
Sales reports
Information about all opportunities won year-to-date and progress toward meeting sales revenue goals.
For more information about the Sales Automation integration with Microsoft Outlook, see:
Integrating Pega Sales Automation with Microsoft Outlook by using the Pega for Outlook Office add-in
Integrating Pega Sales Automation with Microsoft Outlook by using the Pega for Outlook VSTO add-in
After you complete the installation and configuration of the Pega for Outlook VSTO add-in, you can use your Microsoft
Outlook client software to connect your email messages and calendar appointments with Pega Sales Automation
records. Access the Pega for Outlook Office add-in in both Microsoft Outlook Client software and browsers.
To see information about the recipients of a Microsoft Outlook message, click the message in your Microsoft
Outlook folder. Data related to the contacts in that message automatically display in the Pega Sales Automation
side panel. When the message is opened, all of the email addresses in the message are sent to Pega Sales
Automation and are compared to existing Pega Sales Automation contact addresses. If there is a match, the
contact's information together with the associated objects information is displayed in the Pega Sales Automation
panel.
To synchronize messages and appointments between Microsoft Outlook and Pega Sales Automation, look at the
Pega Sales Automation panel in Microsoft Outlook.
A green check icon when you select a message indicates that the message has been synchronized with Pega
Sales Automation. To open Sales Automation in your default web browser, click the icon and select View in
Browser. To see more details, click the Activities tab.
A blue email icon next to a message indicates that it is not yet synchronized with Pega Sales Automation. To
synchronize the message, click the blue icon. When synchronization is complete, the icon turns into green
check icon.
To see the meeting in Pega Sales Automation, click the entry in Pega Sales Automation panel and select View in
Browser, then click the Activities tab.
To search all Pega Sales Automation work objects from Microsoft Outlook, in the Pega Sales Automation panel,
click the Search field. To open any of the results in Pega Sales Automation, click an item in the search results and
select View in Browser.
For a list of Pega for Outlook Office add-in limitations, see Using Pega for Outlook with Pega Sales Automation.
With the Pega for Outlook Office add-in, you can perform the following actions:
Search, open, and display Pega Sales Automation leads, contacts, opportunities, organizations, and accounts.
Synchronize emails and appointments.
Associate emails or appointments with contacts, leads, opportunities, organizations, and accounts.
Create contacts, leads, opportunities, activities, and tasks.
The Pega for Outlook Office add-in supports the following features:
Single sign-on (SSO) – after you log in to the add-in for the first time, you can access it from any device, without
reentering your login credentials.
Pinnable taskpane – leave the add-in taskpane open in your mailbox when you switch between messages.
Pinnable taskpane is supported only by Outlook 2016 for Windows and Outlook Online. For more information, see
Pinnable taskpane.
If you customize your URL pattern by replacing prweb in your URL with a custom value, you must override the
OutlookLogin.js and OutlookAddIn.js script files in your implementation layer. Pinnable taskpane is supported in an
email or appointment reply as well.
Prerequisites
Verify that your server is SSL enabled (HTTPS).
Verify that third-party cookies are enabled for your browser. To learn how to enable them, see your browser's
online documentation.
If you are using Microsoft Edge to access a private server, add https://outlook.office.com to your list of trusted
websites.
To configure Outlook add-in on iPhone in Safari, allow cross-site tracking in Safari.
To install the Pega for Outlook Office add-in, complete the following steps:
You can replace the Pega-provided icons in the AddIn/Images folder with your own images. However, you must use the
Pega-provided icon names for your images because these names are referenced in the manifest URLs.
<servlet>
<servlet-name>OutlookAddIn</servlet-name>
<display-name>OutlookAddIn</display-name>
<servlet-class>com.pega.pegarules.internal.web.servlet.WebStandardBoot</servlet-class>
<init-param>
<param-name>PegaEtierClass</param-name>
<param-value>com.pega.pegarules.session.internal.engineinterface.service.HttpAPI</param-value>
</init-param>
<init-param>
<param-name>AuthenticationType</param-name>
<param-value>PRCustom</param-value>
</init-param>
<init-param>
<param-name>RuntimeServletName</param-name>
<param-value>OutlookAddIn</param-value>
</init-param>
<init-param>
<param-name>AuthService</param-name>
<param-value>OutlookAddinService</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>OutlookAddIn</servlet-name>
<url-pattern>/OutlookAddIn</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>OutlookAddIn</servlet-name>
<url-pattern>/OutlookAddIn/*</url-pattern>
</servlet-mapping>
If you are authenticating the Pega for Outlook Office add-in by using a custom single sign-on (SSO), follow the
instructions for Authenticating the Pega for Outlook Office add-in using a custom single-sign-on (SSO).
1. In the Dev Studio header search text field, search for and download the OAddinManifest.xml file.
2. Open the OAddinManifest.xml file.
3. Configure the manifest file elements as shown in the following table:
Manifest
file
Manifest file element element Sample input
required
data
Enter the
unique ID of
<Id>String</Id> your Office <Id>6ac7a924-6039-42e5-8d0c-63a0b9c31417</Id>
Addin-in as a
GUID.
Enter the
URL of the
image that
is used to
<IconUrl
<IconUrl DefaultVAlue=" " /> represent
DefaultValue="https://10.60.215.243:8443/AddIn/Images/Icon64.png"/>
your Pega
for Outlook
Office add-
in.
Enter the
source file
locations for
your Pega
for Outlook
Office add-in
as a URL
between 1
<SourceLocation
<SourceLocation DefaltValue=" and 2,018
DefaultValue="https://10.60.215.243:8443/prweb/OutlookAddIn?
"/> characters pyActivity=@baseclass.OutlookShowLoad&pzAuth=guest"/>
long.
The source
location
must be an
HTTPS
address,
Manifest not
a filefile
path.
Manifest file element element Sample input
Enter the
required
URLdata
of the
<bt:Images> images that <bt:Images>
are used to
<bt:Image id="icon16" represent <bt:Image id="icon16"
DefaultValue=""/> your Pega DefaultValue="https://10.60.215.243:8443/AddIn/Images/Icon16.png"/>
<bt:Image id="icon32" for Outlook <bt:Image id="icon32"
DefaultValue=""/> Office add- DefaultValue="https://10.60.215.243:8443/AddIn/Images/Icon64.png"/>
<bt:Image id="icon80" in. Microsoft <bt:Image id="icon80"
DefaultValue=""/> recommends DefaultValue="https://10.60.215.243:8443/AddIn/Images/Icon80.png"/>
using three
</bt:Images> images: </bt:Images>
16px, 32px,
and 80px.
<bt:Urls> <bt:Urls>
</bt:Urls> </bt:Urls>
1. In the explorer panel of App Studio, click Settings > Application Settings.
2. Click the Microsoft Exchange tab.
3. In the Outlook add-in settings section, complete the following steps:
1. If you want to process attachments when synchronizing emails and appointments, select the Process
attachments check box. For more information, see Configuring Pega Sales Automation to Microsoft Exchange
calendar integration.
2. Enter the Internal domains that you want to filter out when populating the Add a Person list for emails and
appointments. For example, if you enter, in.pega.com, any email or appointment recipients that have the domain
@in.pega.com do not display in the Add a Person list. If you enter multiple domains, enter the domain names
as comma separated values. For example, pega.com, in.pega.com .
4. Click Save.
5. Enter the certificate location to validate the JWT token which is used to establish SSO across devices.
1. In Dev Studio, click Records > Security > Keystore > Office365.
1. If you are using Office 365, no action is needed.
2. If you are using an on-premises Exchange 2013 or 2016 server, change the KeyStore URL to reflect that.
For example, if you are using an Exchange 2013 server with the URL, mail.in.company.com, then your
KeyStore URL is: https://mail.in.company.com /autodiscover/metadata/json/1/.
6. Configure an Email Listener account by clicking Dev Studio > Records > Integration Resources > Email Listener >
OfficeAddInComposeView > Email Account and make sure that the listener address is correct. It is recommended
not to have multiple listeners configured with the same email account (within or across systems).
1. If the synchronization is not automatic, configure the Email Listener account with IMAP option (send event
invitations in iCalendar format) in Exchange Server.
2. In Office 365 mailbox, configure the Mail settings. Open Mail Settings > POP/IMAP settings and make sure to
check Send Event Invitations in iCalendar format.
7. Enable sync in the compose view.
If you want to use your organization's SSO service to allow authentication by using network credentials, rather than the
Microsoft Exchange Server JWT token, complete the following steps:
10. Add your SSO servlet after prweb in each line ("/prweb/SSO").
For example:
1. Log in to Microsoft Office 365 as an admin user and open the Microsoft Exchange Admin center.
2. Click Admin > Exchange > Organization > Add-ins.
3. Click Add > Add from File.
4. Upload and install the OAddinManifest.xml file that you configured for your Pega for Outlook Office add-in.
1. Log in to Pega Sales Automation as an administrator.
2. In the Dev Studio header search text field, search for and select the OAddinManifest.xml file.
3. Click Download file.
4. Open the file and change the Pega-provided URLs to match the URLs for your implementation.
5. Double-click the application to open the Edit Add-in settings window and review the default settings. If you select
the Optional, disabled by default option, your users must manually enable the add-in.
1. From your Microsoft Office 365 inbox, in the top-right corner of the screen, click the Gear icon.
2. In the Settings pane, click Manage add-ins.
3. Click Click here to add a custom add-in.
4. Click Add from file and upload the OAddinManifest.xml file that you configured for your Pega for Outlook Office add-
in.
If you configure the Pega Sales Automation to Microsoft Exchange calendar integration after enabling the Pega for
Outlook Office add-in you will not be able to update the calendar items from the Sales Automation portal. Meetings
synchronized using the Outlook add-in can not be updated in the portal until running the
MigrateOfficeAddinAppointment activity.
With the Pega for Outlook VSTO add-in, you can search, open, and display Pega sales Automation leads, contacts, and
opportunities from within Microsoft Outlook. You can also create emails, appointments, activities, and contacts in
Microsoft Outlook and synchronize them with Pega Sales Automation.
For a list of Pega for Outlook Office add-in limitations, see Using Pega for Outlook with Pega Sales Automation.
Prerequisites
Microsoft .NET Framework 4.5
Microsoft Outlook version 2010, 2013, or 2016
To configure and install the Pega for Outlook VSTO add-in, complete the following steps:
1. In the App Studio Explorer panel, click Settings > Application Settings.
2. Click the Microsoft Exchange tab.
3. In the Outlook add-in settings section, enter the Internal domains that you want to filter out when populating the
Add a Person list for emails and appointments.
4. In the VSTO add-in only sections, to determine how the add-in displays in Pega Sales Automation, select one of the
following Side panel configuration options:
Explorer Only – The side panel opens by default in Explorer, but a button displays in Compose, Reply, and
Read Only Inspector. Recommended for 32 bit.
Explorer Compose & Reply – The side panel opens by default in Explorer, Compose, and Reply, but a button
displays in Read Only Inspector. Suitable for 32 bit.
All – The side panel opens by default in all views. Recommended for 64 bit.
5. In the VSTO add-in only section, in the Maximum side panel width (pixels) field, enter 320.
6. Click Save.
A Pega Sales Automation panel now displays in Microsoft Outlook. The panel shows the relevant organizations, accounts,
contacts, leads, and opportunities based on the email or appointment that you are viewing in Microsoft Outlook. You can
also search for and create work objects from within the add-in.
1. In Dev Studio, click Create > SysAdmin > Dynamic System Settings.
2. On the Create Dynamic System Settings form, in the Owning Ruleset field, enter PegaFW-Outlook, then enter a
Short Description and Setting Purpose for the new setting.
3. Click Create and Open.
4. On the Edit Dynamic System Settings form, in the Value field, enter the servlet path of the authentication service.
For example, if the servlet path is /prweb/PRWebLDAP1, enter PRWebLDAP1 in the Value field.
5. Click Save.
Push mechanism (recommended) – The push mechanism listens for Exchange Web Services (EWS) notifications to
identify new, updated, and canceled appointments on the Microsoft Exchange server and then synchronizes the
appointments with your Pega Sales Automation calendar. For more information, see Configuring the push
mechanism for Microsoft Exchange to Pega Sales Automation calendar integration.
Polling mechanism – The polling mechanism checks for new, updated, and canceled appointments on the Microsoft
Exchange server and then synchronizes the appointments with your Pega Sales Automation calendar. Use the
polling method only if the push mechanism is not available for your implementation. For more information, see
Configuring the polling mechanism for Microsoft Exchange to Pega Sales Automation calendar integration.
Prerequisites
You must complete the steps that are required to configure the Pega Sales Automation to Microsoft Exchange calendar
integration before you can configure the Microsoft Exchange to Pega Sales Automation calendar integration. For details,
see Configuring Pega Sales Automation to Microsoft Exchange calendar integration.
Limitations
The following calendar integration functionality is not supported when using Pega Sales Automation 7.31 and 7.4:
The following calendar integration functionality is not supported when using Pega Sales Automation 7.22 with Hfix-
33779:
Use the polling method only if the push mechanism is not available for your implementation. For best results, use the
push mechanism for Microsoft Exchange to Pega Sales Automation calendar integration.
Prerequisites
Before you can configure the Microsoft Exchange to Pega Sales Automation calendar integration, you must configure
and initiate the polling mechanism for Microsoft Exchange to Pega Sales Automation calendar synchronization. For
details, see the Pega Sales Automation Implementation Guide on the Pega Sales Automation product page.
Notification Enter the end point URL for the PushNotificationsListener REST service for Microsoft Exchange service
URL notifications.
Enter the number of minutes to use as the maximum timeout value before canceling the
Notification
synchronization and sending a calendar synchronization failure email notification. The application
frequency
retries the synchronization until the timeout limit is reached. For optimal performance, enter 30 for
(min)
this setting.
Enter the email addresses of the operators to whom you want to send calendar synchronization failure
email notifications. Separate email addresses by using a semicolon (;).
Notify sync
failure to For a description of common calendar synchronization failure messages, see Failure messages for
Pega Sales Automation calendar synchronization with Microsoft Exchange.
Setting
Setting value
name
6. Click Save.
PegaCRM-SFA – Intended for use with the Pega Sales Automation application.
PegaCRMFW-ExchangeImpl – Intended for use with other Pega applications.
Only PegaCRM-SFA agents should be enabled for Pega Sales Automation implementations.
To tell Pega Sales Automation how frequently to run the calendar synchronization polling agent, you must define an
interval in seconds. To avoid locking issues, you should run the polling agent on a single node.
The time period that is used for synchronizing past appointments is driven by the IsSkipAppointment when rule. The
default value for this rule is 180 days.
After the initial synchronization completes, the polling agent only synchronizes future appointments that have been
created, updated, or deleted since the last synchronization.
You can enable calendar synchronization in bulk for existing operators by using the Pega Sales Automation Data
Import wizard to update your operator records in Pega Sales Automation.
You can enable calendar synchronization for a new operator when you create the operator record in Pega Sales
Automation.
To verify that calendar synchronization is enabled for an operator, complete the following steps:
For information about the cloud configuration requirements, see Cloud configuration requirements for Pega Sales
Automation calendar synchronization with Microsoft Exchange.
Prerequisites
Before you can configure the Microsoft Exchange to Pega Sales Automation calendar integration, you must configure
and initiate the push mechanism for Microsoft Exchange to Pega Sales Automation calendar integration. For details, see
the Pega Sales Automation Implementation Guide on the Pega Sales Automation product page.
1. In the App Studio Explorer panel, click Settings > Application Settings.
2. Click the Microsoft Exchange tab.
3. In the Exchange Integration section, to enable calendar integration, select the Microsoft Exchange calendar
integration check box, then enter the calendar integration settings for your implementation as described in the
following table:
Setting
Setting value
name
Exchange
Enter the URL for your Microsoft Exchange server.
URL
Enter the Microsoft Exchange version for your implementation in the following format:
Exchange
version Exchange2010
Exchange2013
Exchange2016
Exchange365
Notification Enter the end point URL for the PushNotificationsListener REST service for Microsoft Exchange service
URL notifications.
Enter the number of minutes to use as the maximum timeout value before canceling the
Notification
synchronization and sending a calendar synchronization failure email notification. The application
frequency
retries the synchronization until the timeout limit is reached. For optimal performance, enter 30 for
(min)
this setting.
Enter the email addresses of the operators to whom you want to send calendar synchronization failure
Notify sync email notifications. Separate email addresses by using a semicolon (;).
failure to
For a description of common calendar synchronization failure messages, see Failure messages for
Pega Sales Automation calendar synchronization with Microsoft Exchange.
6. Click Save.
PegaCRM-SFA – Intended for use with the Pega Sales Automation application.
PegaCRMFW-ExchangeImpl – Intended for use with other Pega applications.
Only PegaCRM-SFA agents should be enabled for Pega Sales Automation implementations.
To tell Pega Sales Automation how frequently to run the calendar synchronization push subscriptions and push
notifications agents, you must define an interval in seconds. You should run the push agents on multiple nodes.
After the initial synchronization completes, the push agents only synchronize future appointments that have been
created, updated, or deleted since the last synchronization.
You can enable calendar synchronization in bulk for existing operators by using the Pega Sales Automation Data
Import wizard to update your operator records in Pega Sales Automation.
You can enable calendar synchronization for a new operator when you create the operator record in Pega Sales
Automation.
To verify that calendar synchronization is enabled for an operator, complete the following steps:
The following table contains descriptions of some common calendar synchronization failure messages:
Active Directory is unavailable. Try again later. If the error persists, troubleshoot the
Microsoft Exchange Server or contact
Microsoft support.
Configuration requirements when your Pega application server is in the cloud and your Microsoft Exchange server
is on-premises
Configuration requirements when your Pega application server is on-premises and your Microsoft Exchange server
is in the cloud
You can host your cloud instance as either a private cloud (internal to your network) or public cloud (external to your
network).
Private cloud – If you have a private cloud instance that uses a VPN site-to-site tunnel, you can allow
communications between your Pega application server and your Microsoft Exchange server without exposing any of
your environments to the Internet or moving them into the DMZ.
Public cloud – If you have a public cloud instance, you must set up a proxy in the DMZ to allow communications
between the off-site (external) Pega application server and the on-premises (internal) Microsoft Exchange server.
The URL will direct the off-site (external) Pega application server/EWS to the proxy in the DMZ, which will then pass
on the communications to the on-premises (internal) Microsoft Exchange server.
Alternatively, you can choose one of the following approaches to allow communications between the off-site (external)
Pega application server and the on-premises (internal) Microsoft Exchange server:
Use something like an F5 in the DMZ to take the place of the proxy. The functionality will remain the same.
Move your Microsoft Exchange server into the DMZ.
Requirements
Configuration
If your Pega application server is on an internal network and resides behind a firewall, IPS, or load balancer setup, and
your Microsoft Exchange server is cloud-based (outside of your network), you must allow your network to permit
communications from the cloud-hosted Microsoft Exchange server to the Pega Application server.
Required ports
Identify the port that will be used for inbound traffic to your network. This is often port 443.
For additional security, you should configure your edge device to specify the inbound domains that can send
communications to the Pega application server so that only those from Microsoft Exchange online can communicate
with the Pega application server.
In many cases, the standard endpoint URL for Microsoft Exchange online is:
https://outlook.office365.com/ews/exchange.asmx. In this example, you would configure your edge device’s policy to
allow inbound communications from *.office365.com to communicate with the Pega application server on the inbound traffic
port. If you are unsure of your endpoint URL, please contact your organization’s Microsoft Office 365/Microsoft Exchange
online administrator.
If this approach is too broad to meet your organization’s security policies, or you require more domains to be
whitelisted, please see the Office 365 URLs and IP address ranges page on the Microsoft support website.
With this integration, you can create, update, and cancel appointments in the Pega Sales Automation application and
synchronize them in real time with your Microsoft Exchange server.
Prerequisites
To create an appointment in Pega Sales Automation and synchronize the appointment with Microsoft Exchange, you
must create one impersonation account on Microsoft Exchange with impersonation privileges for all of the users who will
manage appointments in the application.
With Microsoft Exchange impersonation, one account is acting as another account. When an account is impersonated,
the system logs the access as if the impersonated account is acting on the system. The calling account must have the
appropriate permissions and email ID to perform impersonation. This allows the user who has impersonation
permissions to make calls against the other user's account. The impersonated account is maintained in the
EWS_Integration_AuthProfile authentication profile.
You only need to create one impersonation account to manage appointments for all Pega Sales Automation users.
Your Microsoft Exchange administrator must configure the Microsoft Exchange impersonation account for your Pega
Sales Automation implementation and provide you with the user name and password so that you can update the
security profile in the application.
Configuration
To configure your Pega Sales Automation to Microsoft Exchange calendar integration, complete the following steps:
You must install Java before you can generate your keystore file.
1. Retrieve the Exchange Web Services (EWS) endpoint URL from Microsoft Outlook. For information on how to
retrieve the EWS endpoint URL, see the Microsoft website.
The EWS endpoint URL should look like the following example URL:
https//mail.*****.com/ews/Exchange.asmx
2. Launch the EWS endpoint URL in a Google Chrome browser window.
3. Complete the following steps to generate and save the SSL certificate file:
1. Press F12 to open Developer Tools.
2. Click the Security tab.
3. Click View Certificate and click the Details tab.
4. Click Copy to File.
5. Click Next and choose the format with Base-64 Encoded X.509.
6. Click Browse and select the file name and path where you want to generate the keystore file.
7. Click Finish.
4. In the Program Files directory on your machine, open the JDK/bin folder. (Sample path: C:\Program
Files\Java\jdk1.6.0_26\bin)
5. Run the Java Keytool application in the JDK/bin folder.
6. Open the Command Prompt dialog and run the following command:
keytool -importcert -file "<Path for ssl certificate>" -keystore "<Path for jks file name>" - alias "<anything>"
For the "<Path for ssl certificate>" , enter the path where you generated the SSL certificate.
For the "<Path for jks file name>" , enter the name for the jks file with path similar to the path for the SSL certificate.
7. Press Enter.
8. At the prompt, enter a password and confirm the password.
9. Press Enter.
10. At the Trust Question prompt, enter yes. The keystore file is generated in the same path where your SSL certificate
exists.
1. In the Dev Studio header search text field, search for and select the WS-security profile named
EWS_Integration_SecurityProfile.
2. Click the Keystore tab.
3. Next to the Keystore field, click the Open icon .
4. Click Upload file.
5. Click Choose File to search for and select the JKS keystore file for your server.
6. Click Upload file.
7. Enter the Keystore password and click Save.
1. In the Dev Studio header search text field, search for and select the EWS_Integration_ AuthProfile authentication
profile.
2. Click Save as.
3. In the Type field, select NTLM.
4. Click Create and Open.
5. Enter the User name that is required by Microsoft Exchange. This is the user email for the impersonated user
account.
6. Click Set password.
7. Enter the Password for the user and click Submit.
8. Click Save.
1. In the Dev Studio header search text field, search for and select the EnableAppointments dynamic system setting.
2. In the Value field, enter true.
3. Click Save.
4. In the Dev Studio header search text field, search for and select the CreateItemURL dynamic system setting.
5. In the Value field, enter the URL for the integration. This is your service endpoint URL.
6. Click Save.
For example, an experienced sales representative might use Pega Co-Browse to coach a junior representative on using
the Pega Sales Automation application. Or, sales representatives can walk a customer through the product or help
resolve an issue. A sales representative can initiate sessions.
In order to use Pega Co-Browse, the content must be enabled for co-browsing. The two methods of initiating a Co-
Browse session are:
Entering Session Code – The co-worker, sales representative, or customer retrieves a session code from the co-
browse enabled website, and shares the code with the sales representative.
Sending an Email Link – The customer uses the Sales Automation application to send an email to the co-worker or a
sales representative that contains a link to the co-browse enabled web content.
Co-Browse demonstration
Co-browsing has many advantages that make work easier for the sales representative and customers. In this
demonstration, you see how a sales representative uses Pega Co-Browse.
1. Establishing connectivity
2. Enabling connectivity
3. Demonstrating the Hoover's D&B Direct 2.0 Data connector functionality
1. Follow the steps in the Hoover's Dun & Bradstreet Direct 2.0 Data Installation Guide.
2. Log in to your Sales Automation application and click Application menu > Definition.
3. Add a DnBapi built on application.
4. Add a SA-DnB application ruleset.
5. Click Save.
As a result of integrating with D&B, the organization details, for example first name, last name, phone number, and
address, are not replaced with the selected organization details. The implementation teams can customize these
parameters in the application implementation layer according to their functionality.
The Pega Sales Automation application includes the following business objects:
Account
Activity
Appointment
Contact
Household
Lead
Operator
Opportunity
Organization
Task
The business objects that the application uses depend on the selling mode that you select for your implementation. The
following selling modes are available:
Business-to-business (B2B) – Use this mode if you are selling products and services to other businesses.
Business-to-consumer (B2C) – Use this mode if you are selling products and services directly to individual
consumers.
Mixed mode – Use this mode if you are selling products to both individual consumers and to other businesses.
RULE-OBJ-ACTIVITY PEGACRM-DATA-PRODUCT
PegaCRM-
PegaCRM GetProductDetails GETPRODUCTDETAILS
Data-Product
#20180613T142428.879 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-
PegaCRM-
PegaCRM crmCancelWork CRMCANCELWORK #20180613T142446.173
Work-
Class Ruleset Rule name GMT Key
RULE-OBJ-ACTIVITY PEGACRM-WORK-
PegaCRM-
PegaCRM crmClearWorkbasket CRMCLEARWORKBASKET
Work-
#20180613T142446.239 GMT
RULE-OBJ-SERVICELEVEL PEGACRM-WORK-
PegaCRM-
PegaCRM crmClearWorkbasket CRMCLEARWORKBASKET
Work-
#20180613T142605.995 GMT
RULE-OBJ-ACTIVITY PEGACRM-
PegaCRM- PegaCRM crmCancelClear CRMCANCELCLEAR #20180613T142428.202
GMT
PegaCRM- RULE-OBJ-MODEL PEGACRM-WORK-
PegaCRM crmStages
Work- CRMSTAGES #20180613T142555.308 GMT
RULE-ACCESS-ROLE-NAME PEGACRM-
PegaCRM PegaCRM-SFA:SuggestedVisits SFA:SUGGESTEDVISITS
#20180613T142312.041 GMT
PegaCRM- RULE-DECLARE-PAGES D_CRMPRODUCTS
PegaCRM D_crmProducts
Data-Product #20180613T142318.047 GMT
PegaCRM- RULE-DECLARE-PAGES
Data- PegaCRM Declare_crmAirportCodes DECLARE_CRMAIRPORTCODES
AirportCode #20180613T142318.273 GMT
PegaFW-Data- PegaCRMFW- RULE-DECLARE-PAGES D_EWSTIMEZONEIDS
D_EWSTimezoneIds
EWSTimezones ExchangeImpl #20180613T151046.420 GMT
RULE-OBJ-PROPERTY PEGAFW-DATA-
PegaFW-Data- PegaCRMFW-
TimezoneID EWSTIMEZONES TIMEZONEID
EWSTimezones ExchangeImpl
#20180613T151033.454 GMT
PegaCRMFW- RULE-HTML-SECTION DATA-PORTAL
Data-Portal pyCMEvents7
ExchangeImpl PYCMEVENTS7 #20180613T151048.508 GMT
RULE-OBJ-REPORT-DEFINITION PEGAFW-DATA-
PegaFW-Data- PegaCRMFW-
DataTableEditorReport EWSTIMEZONES DATATABLEEDITORREPORT
EWSTimezones ExchangeImpl
#20180613T151114.219 GMT
RULE-DECLARE-PAGES
PegaFW-Data- PegaCRMFW-
D_EWSTimezoneIdsList D_EWSTIMEZONEIDSLIST
EWSTimezones ExchangeImpl
#20180613T151046.450 GMT
PegaCRM- RULE-HTML-SECTION PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmConvertLead_Contact LEAD-IND CRMCONVERTLEAD_CONTACT
Lead-Ind #20180613T140028.617 GMT
RULE-HTML-SECTION PEGACRM-WORK-SFA-
PegaCRM-
LEAD-IND
Work-SFA- PegaCRM-SFA crmConvertLead_CreateNewContact
CRMCONVERTLEAD_CREATENEWCONTACT
Lead-Ind
#20180613T140028.682 GMT
RULE-HTML-SECTION PEGACRM-WORK-SFA-
PegaCRM-
LEAD-IND
Work-SFA- PegaCRM-SFA crmConvertLead_ExistingAccount
CRMCONVERTLEAD_EXISTINGACCOUNT
Lead-Ind
#20180613T140028.722 GMT
RULE-HTML-SECTION PEGACRM-WORK-SFA-
PegaCRM-
LEAD-IND
Work-SFA- PegaCRM-SFA CrmConvertLead_OpportunityTab
CRMCONVERTLEAD_OPPORTUNITYTAB
Lead-Ind
#20180613T140028.764 GMT
PegaCRM- RULE-HTML-SECTION PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmConvertLeadTab LEAD-IND CRMCONVERTLEADTAB
Lead-Ind #20180613T140028.790 GMT
PegaCRM- RULE-HTML-SECTION PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmConvertLeadToContact LEAD-IND CRMCONVERTLEADTOCONTACT
Lead-Ind #20180613T140028.812 GMT
PegaCRM-
RULE-HTML-SECTION PEGACRM-WORK-SFA-
Work-SFA-
PegaCRM-SFA WorkSummaryleadConv OPPORTUNITY-IND WORKSUMMARYLEADCONV
Opportunity-
#20180613T140100.814 GMT
Ind
PegaCRM- RULE-HTML-SECTION PEGACRM-WORK-SFA-
Work-SFA- OPPORTUNITY
PegaCRM-SFA WorkPrimaryDetailsLeadConv
Opportunity WORKPRIMARYDETAILSLEADCONV
#20180613T140114.325 GMT
RULE-OBJ-ACTIVITY @BASECLASS
@baseclass PegaCRM-SFA SalesGoalAttainment SALESGOALATTAINMENT
#20180613T140159.792 GMT
RULE-OBJ-ACTIVITY CODE-PEGA-LIST
Code-Pega-List PegaCRM-SFA GetSource
GETSOURCE #20180613T140209.513 GMT
RULE-PORTALSKIN PYSFASKIN
PegaCRM-SFA pySFASkin
#20180613T140840.177 GMT
RULE-OBJ-ACTIVITY EMBED-STAGE
Embed-Stage PegaCRM-SFA crmLoadStageStatusDP CRMLOADSTAGESTATUSDP
#20180613T140220.572 GMT
PegaCRM- RULE-OBJ-ACTIVITY PEGACRM-DATA-PRODUCT
PegaCRM-SFA crmProducts
Data-Product CRMPRODUCTS #20180613T140222.588 GMT
PegaCRM-
Class Ruleset Rule name RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
Key
PegaCRM-SFA crmConvert
Work-SFA-Lead CRMCONVERT #20180613T140317.865 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmConvertLeadToNewContact CRMCONVERTLEADTONEWCONTACT
Work-SFA-Lead
#20180613T140317.948 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmConvertOpportunity CRMCONVERTOPPORTUNITY
Work-SFA-Lead
#20180613T140318.025 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmCreateOpportunity CRMCREATEOPPORTUNITY
Work-SFA-Lead
#20180613T140318.086 GMT
PegaCRM- RULE-OBJ-ACTIVITY PEGACRM-WORK-
Work- PegaCRM-SFA SaveAppointment APPOINTMENT SAVEAPPOINTMENT
Appointment #20180613T140308.913 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-
PegaCRM-
PegaCRM-SFA crmCancelFlowAction CRMCANCELFLOWACTION
Work-
#20180613T140309.831 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmPostConvert CRMPOSTCONVERT #20180613T140318.464
Work-SFA-Lead
GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmPostCreateOpportunity CRMPOSTCREATEOPPORTUNITY
Work-SFA-Lead
#20180613T140318.508 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmPreConvertOpportunitySetup CRMPRECONVERTOPPORTUNITYSETUP
Work-SFA-Lead
#20180613T140318.664 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmResolveConvertedLead CRMRESOLVECONVERTEDLEAD
Work-SFA-Lead
#20180613T140318.982 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmSetWorkStatus CRMSETWORKSTATUS
Work-SFA-Lead
#20180613T140319.118 GMT
PegaCRM- RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmConvert LEAD-IND CRMCONVERT
Lead-Ind #20180613T140319.766 GMT
PegaCRM- RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmConvertLeadToNewContact LEAD-IND CRMCONVERTLEADTONEWCONTACT
Lead-Ind #20180613T140319.808 GMT
PegaCRM- RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmConvertLeadToNewOpp LEAD-IND CRMCONVERTLEADTONEWOPP
Lead-Ind #20180613T140319.852 GMT
PegaCRM- RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmPostConvert LEAD-IND CRMPOSTCONVERT
Lead-Ind #20180613T140319.946 GMT
PegaCRM- RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmPostCreateOpportunity LEAD-IND CRMPOSTCREATEOPPORTUNITY
Lead-Ind #20180613T140319.990 GMT
PegaCRM- RULE-OBJ-FLOW PEGACRM-WORK-SFA-LEAD
Work-SFA-Lead PegaCRM-SFA crmConvertLead CRMCONVERTLEAD #20180613T140438.069
GMT
PegaCRM- RULE-OBJ-FIELDVALUE PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA ContactExists Create New LEAD-IND CONTACTEXISTS!CREATE NEW
Lead-Ind #20180613T140418.631 GMT
PegaCRM- RULE-OBJ-FIELDVALUE PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA ContactExists Select Existing LEAD-IND CONTACTEXISTS!SELECT EXISTING
Lead-Ind #20180613T140418.653 GMT
PegaCRM- RULE-OBJ-FLOW PEGACRM-WORK-SFA-LEAD-
Work-SFA- PegaCRM-SFA crmConvertLead IND CRMCONVERTLEAD
Lead-Ind #20180613T140438.838 GMT
RULE-OBJ-FLOWACTION PEGACRM-WORK-SFA-
PegaCRM-
PegaCRM-SFA crmConvertLead LEAD CRMCONVERTLEAD
Work-SFA-Lead
#20180613T140512.264 GMT
PegaCRM- RULE-OBJ-FLOWACTION PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA crmConvertLead LEAD-IND CRMCONVERTLEAD
Lead-Ind #20180613T140512.504 GMT
RULE-OBJ-MODEL CODE-PEGA-LIST
Code-Pega-List PegaCRM-SFA GetSourceFromRD GETSOURCEFROMRD #20180613T140525.897
GMT
RULE-OBJ-MODEL PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaCRM-SFA crmConvertLead CRMCONVERTLEAD #20180613T140604.829
Work-SFA-Lead
GMT
PegaCRM- RULE-OBJ-MODEL PEGACRM-WORK-SFA-LEAD-
Work-SFA- PegaCRM-SFA crmConvertLead IND CRMCONVERTLEAD
Lead-Ind
Class Ruleset Rule name #20180613T140606.216
KeyGMT
PegaCRM- RULE-OBJ-MODEL PEGACRM-WORK-SFA-
Work-SFA- PegaCRM-SFA SetOpptyStages OPPORTUNITY SETOPPTYSTAGES
Opportunity #20180613T140612.734 GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
WORK-SFA-OPPORTUNITY
Work-SFA- PegaCRM-SFA CrmGetOppAccOrg
CRMGETOPPACCORG #20180613T140711.225
Opportunity
GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
WORK-SFA-OPPORTUNITY
Work-SFA- PegaCRM-SFA CrmGetOppTrendPredictors
CRMGETOPPTRENDPREDICTORS
Opportunity
#20180613T140711.264 GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
WORK-TASK-CUSTACT
Work-Task- PegaCRM-SFA CallReportsByContact
CALLREPORTSBYCONTACT
CustAct
#20180613T140734.555 GMT
PegaCRM- RULE-OBJ-REPORT-DEFINITION PEGACRM-
Work-Task- PegaCRM-SFA CallReportsByOrg WORK-TASK-CUSTACT CALLREPORTSBYORG
CustAct #20180613T140734.609 GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
WORK-TASK-CUSTACT
Work-Task- PegaCRM-SFA CallReportsPerMonth
CALLREPORTSPERMONTH
CustAct
#20180613T140734.665 GMT
PegaCRM- RULE-OBJ-REPORT-DEFINITION PEGACRM-
Work-Task- PegaCRM-SFA crmSalesActivities WORK-TASK-CUSTACT CRMSALESACTIVITIES
CustAct #20180613T140735.565 GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
WORK-TASK-CUSTACT
Work-Task- PegaCRM-SFA GetActivitiesByContact
GETACTIVITIESBYCONTACT
CustAct
#20180613T140735.667 GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
WORK-TASK-CUSTACT
Work-Task- PegaCRM-SFA ListOfCustomerActivities
LISTOFCUSTOMERACTIVITIES
CustAct
#20180613T140735.786 GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
PegaCRM-SFA UpcomingTasks WORK-TASK UPCOMINGTASKS
Work-Task
#20180613T140736.573 GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
PegaCRM-SFA TasksRelatedToContact WORK-TASK TASKSRELATEDTOCONTACT
Work-Task
#20180613T140736.428 GMT
RULE-ALIAS-FUNCTION EMBED-USERFUNCTION
Embed- STAGEDISPLAYORDERWITHCLOSED
UserFunction PegaCRM-SFA StageDisplayOrderWithClosed
#20180613T135433.644 GMT
RULE-DECLARE-PAGES
PegaCRM-
PegaCRM-SFA D_crmStagesLeadConv D_CRMSTAGESLEADCONV
Work-
#20180613T135510.020 GMT
RULE-OBJ-FLOW PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaSA-Advisor crmQualifyLead CRMQUALIFYLEAD #20180613T134531.710
Work-SFA-Lead
GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaSA-Advisor crmQualifyLeadToOpp CRMQUALIFYLEADTOOPP
Work-SFA-Lead
#20180613T134528.153 GMT
RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-LEAD
PegaCRM-
PegaSA-Advisor crmConvertLeadToNewOpp CRMCONVERTLEADTONEWOPP
Work-SFA-Lead
#20180613T134528.093 GMT
RULE-DECLARE-DECISIONTABLE PEGACRM-
PegaCRM-
PegaSA-Advisor crmDetermineStatus WORK-SFA-LEAD CRMDETERMINESTATUS
Work-SFA-Lead
#20180613T134517.474 GMT
RULE-HTML-SECTION PEGACRM-WORK-SFA-
PegaCRM-
OPPORTUNITY
Work-SFA- SA-Artifacts WorkPrimaryDetailsLeadConv
WORKPRIMARYDETAILSLEADCONV
Opportunity
#20180705T122455.083 GMT
PegaCRM- RULE-OBJ-REPORT-DEFINITION PEGACRM-
Work-Task- SA-Artifacts ListOfCIsForAnOrg WORK-TASK-CUSTACT LISTOFCISFORANORG
CustAct #20180613T133832.180 GMT
RULE-OBJ-REPORT-DEFINITION PEGACRM-
PegaCRM-
WORK-TASK-CUSTACT
Work-Task- SA-Artifacts GetLastOrgActivityDetails
GETLASTORGACTIVITYDETAILS
CustAct
#20180613T133832.119 GMT
PegaCRM- RULE-OBJ-ACTIVITY PEGACRM-WORK-SFA-
SA-
Work-SFA- crmCreateOpportunity LEAD-IND CRMCREATEOPPORTUNITY
LocalCampaigns
Lead-Ind #20180613T134219.702 GMT
Editing work object templates in App Studio for Pega Sales Automation
In App Studio, you can use the work object templates to edit the user interface sections of your application and make
them more useful and suited to your business needs. A work object template is an editable view of a work object that
allows you to edit, reorder, add, or delete fields.
You can create templates for the the following work objects:
Organization
Partner
Account
Opportunity
Contact
Lead
Appointment
The ABAC security model in Sales Automation 7.4 allows you to:
Before you begin the upgrade process, review the following information:
By default, the EnableAttributeBasedSecurity Dynamic System Setting is set to true. For more information, see
Upgrading your application to use ABAC security.
All database-related rules add ABAC policy conditions in the generated queries (for example, Obj-Browse, report
definitions, Connect-SQL).
Class join conditions on report definitions must use left joins instead of inner joins to avoid unexpected filtering of
rows. For example, to show an accounts list with the corresponding organization's name, if the operator did not
have permissions on the organization instance, the inner join filters that row, which is not an expected behavior.
If implementation teams want to enforce new conditions, then the Access Policies and Access Policy Conditions can
be overridden in implementation layers. For more information, see Upgrading your application to use ABAC
security.
Standard associations are shipped for the core objects. While creating report definitions from the report browser,
you can use these associations to retrieve information about the associated classes.
If you upgrade your application without editing the implementation layer report definitions, the security model will be a
mix of RBAC rules in the implementation layer and ABAC rules in the product layer. Report definitions do explicit joins as
modeled by developers. The system also applies ABAC-related policy conditions. Upgrading to ABAC is recommended,
because these actions might not result in the desired performance.
To upgrade your application to use ABAC security, perform the following steps: