OBLYTECH Logo
OBLYTECH Logo

Import Workday or Salesforce Data into ServiceNow Process Mining

Process Mining can analyze processes that run in Workday or Salesforce alongside your ServiceNow data. You have two routes. A dedicated app for each system handles the connection and scheduled, incremental imports. You still match each field in the Field Mapping area. A manual audit table works with any external source and gives full control over the fields you import.

Choose the app route or the manual audit table

Process Mining works from an audit log, the record of events captured when a task is performed. The first decision is therefore where the process actually runs. Recruitment, onboarding and offboarding that run in Workday, or lead-to-opportunity, quote-to-cash and case handling that run in Salesforce, need their event data in ServiceNow before a project can analyze them.

Route Best suited to What it requires
App-based import Recurring loads from Workday or Salesforce, with scheduled, incremental imports, plus the field matching step described below The Process Mining plugin, the external data application and the matching spoke
Manual audit table One-time or occasional loads, systems with no dedicated app, or teams that want full control over fields and mapping The Process Mining plugin

The app route handles the connection and the schedule. You still match each source column to a field, and the Field Mapping area is where you check each pairing before running the job. The manual audit table works with any external source and gives full control over which fields you import. For general Workday integration setup, see the ServiceNow and Workday integration guide.

For a process you plan to refresh regularly, start with the app wherever one exists.

Confirm plugin versions and install the apps

Before you install, confirm the prerequisites below are in place: Process Mining for External Data 29.5.3, plus the spoke that matches your source. Each app has its own ID (sn_workday_hr_spke for Workday, sn_promin_sf for Salesforce). Install the prerequisites first.

Component Version Needed for
Process Mining for External Data (application ID sn_po_extdata) 29.5.3 Both apps
Workday HR Spoke 3.0.2 Process Mining for Workday
Salesforce Spoke (application ID sn_sforce_v2_spoke) 2.5.0 Process Mining for Salesforce

The Workday connection depends on the Workday HR Spoke (application ID sn_workday_hr_spke), so set that up first.

An administrator installs an app from All > System Application > All Available Applications > All, searching by name or application ID. The Workday and Salesforce apps are bundled in the plugin. If the search returns nothing, request the application from the ServiceNow Store. The Salesforce application ID is sn_promin_sf.

Create the audit table and its custom fields

The audit table is a staging table that holds external records in the shape Process Mining expects. Creating one needs the sn_process_mining_admin role. Open Workspaces > Process Mining Workspace, select the External data integration icon, then select Create dataset. Give the dataset a unique name that states the data type and source.

The next screen lists the audit columns. Five columns are added automatically: Case ID, Event value and Timestamp, plus the two optional columns, User and Event type. For background on staging data, read the import set explanation.

Custom fields need careful planning. They become the breakdown filters on the process graph, and without them the graph offers no breakdown filters. You can add up to 10, with these types:

  • String: maximum length 4000 characters, default size 80.
  • Decimal and Integer: maximum size 20, default size 15.
  • Boolean, Datetime and Date.
  • Reference: requires a reference table and a reference field. These are used for multi-dimensional mining against an external dataset.

Decide which breakdowns analysts need before you build the table. For more on the data sources an import set can read from, see import set data source types. After you review the full column list, select Create import table. The screen shows the table name, which you need for the import steps.

Set up the connector and map the source fields

Navigate to All > Process Mining > External Data Set > Connectors, then select New. The Connector Configuration form contains these fields:

Field What to enter or what happens
Name A label for the configuration, such as the source system
Type Workday or Salesforce, which sets the source app
Subflow The subflow that matches the selected type
Table Filled in automatically with the audit table you created
Active Selected by default
Fullpull Selected by default for the first run. It clears automatically after that import
Import from date The start date and time for the initial import
Domain Set by default and cannot be changed
Action inputs At this release, the query type is the available option

The query names the source columns to bring in. The example query selects from the business process transactions table:

SELECT workdayID, businessProcessType, processHistory{process, cf_CF_IS_Subprocess, status, completedOn, dueDate, person} as processHistory FROM businessProcessTransactions

Save the record, then select Retrieve Field Mapping. This fills Action Output with the source column names. In the Field Mapping area, match each audit table field with its source column, and check each pairing before you run the job.

Select Run Import Job and track progress in the Connector Executions area. Two limits apply. An import running longer than 24 hours is cancelled automatically, under the system property sn_po_extdata.cancel_job_after_seconds. Salesforce data arrives in batches, sized by the property sn_promin_sf.salesforce_data_chunk_size. If an import is cancelled, review the query, because the query sets which columns are imported. For more on scheduled import runs, see scheduling and monitoring import runs.

Validate the load and build the record table

When the job completes, open the Import data tab in the Process Mining Workspace and select Import with another app. Confirm the notice, tick the box confirming the import is complete, and select Next. Check the mandatory and custom fields against the source. If something is wrong, select Edit your dataset and import again. When the data looks right, select Confirm and continue.

In the Record Data section, Generate record data table is the default. If the audit table has custom fields, the alternative options are greyed out. Select Create record, and a tab opens showing both the audit and record tables. You can then create a project from the data.

Shape the analysis with activity definitions

Activity definitions decide what appears on the process map. Field names the column whose values appear on the graph. Type defaults to Field Values. Date Time uses the date and time on the record rather than the audit history. Compound and the two Attached types cover changes across several fields and parent and child tables.

Grouping changes the story. Suppose an assignment group moves from Group A to Group B to Group C. With grouping on, the map shows one item, Assignment group changed. With grouping off, it shows each change in turn. Use the grouped view to measure how often work changes hands, and the individual steps to find where handoffs stall.

Activity of Interest hides a field change from the analyst workbench, but the change remains usable in conditions and findings. Fix the vocabulary before you present results:

Term Meaning in Process Mining
Activity A captured task or action from the audit log
Route An occurrence of the process that differs from the others in at least one step
Process map The project output that compares actual routes with a target route
Record A business record for one process cycle. Many records can run through the same route

Share, empty, edit or delete a dataset

To share the audit and record tables, select Share, open the External dataset permissions tab, select New and choose a user, role or group. By default, the tables are open to the administrator alone.

Editing returns you to the Import data tab. Emptying replaces old data with a fresh load from the same system. Type Empty to confirm. The content of both tables is removed, and you can import again into them.

Deleting also removes the Process Mining projects built on the data. Type Delete to confirm. The tables themselves remain, and an administrator must delete them manually, periodically, so unused tables do not accumulate.

Scope the import with domain separation

Domain separation is supported for Process Mining at the Basic level. It controls which users can see and access the data, for instances that serve several tenants. A project takes the domain of the user who creates it, and related entities such as activity definitions and filter sets sit in that domain. A project can be shared with its own domain or with the global domain. A scheduled job is limited to project definitions in its own domain. Related entities such as activity definitions take the domain of their project definition, and cascade domain changes are not supported. Once the data is in place, you can create a project from it.

How does native Process Mining compare with a process running outside ServiceNow or a standalone mining tool, and what must be in place first?

Native Process Mining reads the task history ServiceNow records, so it needs no extraction pipeline. A standalone tool reaches systems ServiceNow does not run, but it adds a connector and a second copy of the data. Before either, confirm auditing is enabled on the tables, retained history covers the transitions you need, and the process runs where you expect.

Where native mining has the edge

The gain is in what you do not maintain: no export to schedule, no field mapping to keep aligned, and no second set of access roles. Reassignments and approval waits are already recorded where the work happens.

Native mining draws on task-execution history held in sys_audit, and the target table must have auditing enabled. Without that history there is no sequence to mine.

Where a standalone tool earns its place

A standalone tool makes sense when a process spans several systems and ServiceNow holds only one leg of it, or when the program covers the whole estate. Products such as UiPath Process Mining typically extract data from source systems and shape it into an event log. Microsoft Power Automate process mining (Process Advisor) imports event logs through data connections, and each event needs a case ID, an activity and a timestamp. That pipeline is the cost native mining avoids.

What must be in place first

  1. Licensing. As of November 2026, US ITSM packaging places Process Mining in ITSM Advanced, and ITSM Prime includes Advanced. An undated older datasheet also shows ITSM Enterprise, so confirm on your order form.
  2. Audit coverage. Confirm auditing is on for every table and field involved, and that a clone did not inherit exclusions that remove history.
  3. History depth. Confirm retained history covers the transitions you plan to study. A purge schedule shrinks the window, so check that it still reaches back to the period the question covers.
  4. Unit of analysis. Choose incident, request, HR case or linked lifecycle before building anything, because each gives different routes and denominators.
  5. Outcome measures. Agree the measures and comparison group before a change goes live, so the before and after comparison rests on terms agreed in advance.

What to ask a standalone vendor

  • Which ServiceNow tables are read, and whether the connector uses audit history or table snapshots.
  • How often data refreshes, and whether a failed refresh leaves gaps you can see.
  • Where the event log is stored, who can read it, and where processing runs. Ask for the answer in writing for your setup.

Read elapsed time with care

A long gap between an approval and the next assignment on the timeline might be a queue, a weekend, someone on leave, or a field set by a script. The timeline cannot tell these apart. Elapsed time between two recorded events is not hands-on effort, proof of individual inactivity, or proof of cause. Check each apparent bottleneck with the process owner before it becomes a savings figure.

Frequently asked questions

Should I use the app or the audit table for Workday data?

Use the app when it is available, because it automates the connection and scheduled imports. Use the audit table for full control over fields or for a one-time load.

Why did my import stop before it finished?

An import running longer than 24 hours is cancelled automatically. Check the status in Connector Executions, then review the query before you run the import again.

Why can’t I see breakdown filters on the process graph?

Breakdown filters come from custom fields. Add the fields you need when you create the audit table, before loading data. You can add up to 10.

What is the difference between emptying a dataset and deleting it?

Emptying removes the content of the audit and record tables but keeps the tables, so you can import fresh data into them. Deleting removes the data and the Process Mining projects built on it. The tables remain after a delete, and an administrator must remove them manually.