Types of data sources in Proactive Prompts
Data sources are the different type of data retrieving methods from data tables in Proactive Prompts.
| Data source type | Description |
|---|---|
| Simple | Retrieves data from a single data table. For example, this type of table can be
used to prompt the manager about employee not changing the current role, or prompt the
employee about high unused PTO balance. Note: Use the Simple type of data source when you’re sure that the data source output returns one record per user selected from the User field. Otherwise, the framework considers only the first record and skips the remaining records. For multiple records, choose the Aggregated data source. |
| Aggregate | Allows use of aggregate functions on the data source, for example, Count. For
example, this type of table can be used to prompt the managers about large number of
requests from new hires, or prompt the employee about the number of overdue tasks. Note:
|
| Script | For complex conditions, use this data source to write code and retrieve data. For example, this type of table can be used to prompt the manager about large number of comments on a case. The script should return a
comma-separated list of objects with the following key-value pairs:
|
| Performance Analytics Indicator | Uses the data collected by the Performance Analytics job for the selected indicator
and breakdown. For example, this type of table can be used to prompt the manager about
number of open incidents. Note: The Performance Analytics job must be run to process the
data. For more information, see Activate Performance Analytics
jobs. |