Importing and exporting event tasks in Microsoft Excel
Summarize
Summary of Importing and exporting event tasks in Microsoft Excel
Beginning with the Australia release of the BCM application, ServiceNow supports importing and exporting event task records using Microsoft Excel files. This capability enables users to efficiently update multiple event tasks simultaneously, such as reassigning owners or bulk-modifying dates and statuses, by editing records offline and then uploading changes back into ServiceNow.
Show less
Key Features
- Export Functionality: Generates a structured Excel (.xlsx) file with dropdowns, instructions, and field protections to guide offline editing. The export includes three sheets:
- Instructions: Details column requirements, valid values, and formats.
- Event details: Read-only reference data about the parent event.
- Event task: Editable data sheet with one row per task, supporting dropdowns for select fields and text entry for dates.
- Import Functionality: Uploads the edited Excel file to apply bulk updates. It only updates existing records matched by the unique Number field and respects protected fields (Number, Short description, Activated plan) which cannot be changed.
- Field Handling: Dropdowns are populated based on system-configured references but are disabled if record counts exceed thresholds, requiring manual entry. Multi-select GlideList fields appear as plain text and validate comma-separated values.
- Data Integrity and Validation: Duplicate record Numbers are flagged visually but rejected at import. Duplicate display names in reference fields can cause matching issues; unique identifiers like username or email should be used instead.
- Import Process: The import queue runs automatically upon file upload, showing inline progress and logging errors or rejected rows for review. Only one import per parent event can run concurrently.
Limitations
- Only existing records are updated; no new records are created or deleted during import.
- Only Excel .xlsx files are accepted; other formats like .xls or .csv are rejected.
- The uploaded file must maintain the exact exported column structure and sheet names; any modification causes import failure.
- Dropdown fields with too many records are exported as plain text, requiring manual accurate entry.
- Protected fields remain locked and cannot be modified even if Excel sheet protection is removed.
Practical Benefits for ServiceNow Customers
This import/export feature empowers BCM application users to manage large volumes of event task updates efficiently outside the ServiceNow interface. It reduces manual entry time, supports offline editing, and maintains data consistency through validation and protection mechanisms. Customers can expect streamlined bulk updates with clear guidance and error handling, improving event task management productivity.
Use Export to download event task records into a structured Microsoft Excel file — complete with dropdowns, instructions, and field protection. Edit records offline, then use Import to upload the updated file and apply bulk changes.
Benefits of using import and export functionality
Starting with the Australia release of the BCM application, import and export of event tasks is supported. Import and export is useful when you want to update many records at once. For example, reassigning 50 event tasks to different owners or bulk-updating dates and statuses. You can bulk-update fields like Assigned To, Status, and Dates or download data to review offline.
You can download an empty template to see the expected format before any data exists. Import only updates existing records matched by the Number field— it does not create or delete records, or modify protected fields like Number, Short description, and Activated plan.
The feature consists of two independent systems. The export layer uses the Microsoft Excel JS library on the front-end to generate structured files; the import layer uses the Record Transform Engine (RTE), which processes display values only.
Because the two layers are decoupled, you can use either independently. The Microsoft Excel JS library runs only in the browser. Export performance scales with the user's available memory and CPU, and the Max export rows limit is enforced for this reason.
- Date format: YYYY-MM-DD HH:MM:SS
- Dependencies: comma-separated EVNTSK numbers
- State rules: WIP and all close states need Actual start, Closed Complete needs Actual end
- Re-import: delete successful rows first, then re-upload
Microsoft Excel sheet structure
The exported file follows a fixed row structure. It shows a single-column approach — one column per field with display values only.
The visible column shows the human-readable value, typically a dot-walked field such as user_name. The dot-walk applies only to specifically configured fields.
- Instructions sheet — describes each column: whether it is mandatory or read-only, valid values, date format requirements for Actual Start and Actual End, and an example value. Review this sheet before editing.
- Event details sheet — a read-only reference sheet showing the parent event record properties. Not processed during import.
- Event task — the main data sheet, with one row per event task record beginning at Row 3. Records are sorted by number by default.
The following table describes the column types in the Event task data sheet and how each one behaves while you edit the file.
| Column type | Appearance | Editable |
|---|---|---|
| Protected (for example Number, Short description) | Grey, locked | No |
| Drop-down (for example, State, Assigned to, Assignment group) | Drop-down arrow | Yes - select from list |
| Free text (for example, Date and Time fields) | Plain white | Yes - type value |
Drop-down and record-limit behavior
Drop-downs are populated using reference qualifiers defined in the system. When the number of records in a reference field exceeds the configured maximum, the drop-down is suppressed and the field displays plain text with no validation.
| UI component | Description |
|---|---|
| Max export rows | Maximum number of records included in an export. Defaults to 10,000. Processing is bounded by the user's machine. |
| Max drop-down records | Threshold beyond which drop-downs are replaced with plain text and field validation is removed. Defaults to 10,000. |
Protected fields and uniqueness enforcement
The Number field is protected by default. Duplicate numbers are flagged with a red highlight using conditional formatting but cannot be blocked in Microsoft Excel — they are rejected at import time.
GlideList field handling in the Record Transform Engine
The Microsoft Excel JS library does not support multi-select drop-downs. GlideList fields such as Additional Assignees List render as plain text cells. Validation is still applied — the system verifies that each comma-separated value exists in the referenced table and rejects invalid records. The same value cannot appear more than once in the same cell.
The following table describes the import progress states.
| State | Meaning |
|---|---|
| Queued |
Import is waiting to be processed. |
| Processing N rows | Records are actively being updated. |
| Successfully imported N records | All rows were processed without errors. |
| Import has failed for few records | Some rows had errors. Review the Import Log related list for details on which rows were rejected and the reason for each failure. |
| Error | Import failed entirely. Review system logs and the Import Log related list. |
While an import is running, the View import progress button replaces the Import button in the related list action bar. After the tracker shows a completed or error state, the Import button is available again. Only one import can run at a time per event record.
Duplicate display name handling
The Record Transform Engine does not support resolution of duplicate display names. If two users share the same display name, the system cannot guarantee the correct record is matched during import. Configure the dot-walk field to use a unique identifier such as user_name or email for affected reference fields.
| UI Component | Description |
|---|---|
| Display Name (default) | Default identifier for reference field drop-downs. Duplicate display names may produce incorrect matches. |
| user_name | Recommended unique identifier for Assigned To and Additional Assignees List fields. |
| Alternative unique identifier configurable via the dot-walk field setting. |
Import attachment flow and progress tracking
Import updates only existing records matched by the Number field. It does not create or delete records, or modify protected fields such as Number, Short description, and Activated plan, even if sheet protection is manually removed before upload. Rows omitted from the file are not processed; the corresponding records in ServiceNow remain unchanged.
When a user initiates an import, a modal opens for file selection. Only .xlsx files are accepted — .xls and .csv files are rejected. The uploaded file attaches to the event record and the import queue starts automatically on save. The progress tracker status is displayed.
The attachment field is cleared automatically after import completes, whether it succeeds or fails, so you can re-upload a corrected file without manual cleanup. Import status is displayed inline via a progress tracker. Errors and transaction history are surfaced via the Import log and Transaction history related lists on the event page.
The system reads the file, matches each row to an existing record by the Number field, and updates only changed fields. Reference fields such as Assigned To are resolved automatically — display values are converted back to the correct internal records.
Limitations
The following table summarizes the limitations to consider when you use the import and export feature for event task.
| Limitation | Details |
|---|---|
| Update only | Import matches records by Number. Rows without a matching number are skipped. No new records are created. |
| .xlsx only | Only .xlsx files are accepted. Other formats are rejected. |
| Single file at a time | Only one import can run at a time per parent event record. |
| Column structure | The uploaded file must match the exported column structure exactly. Renaming sheets, rearranging columns, or changing the file format causes the import to fail. |
| Drop-down overflow | Fields exceeding the drop-down record limit are exported as plain text and must be entered manually in the exact expected format. |
| Protected fields | Protected fields like Number, Short description, and Activated plan are locked in Microsoft Excel. Even if sheet protection is removed, the import ignores or rejects edits to those fields. |
Import and export integration reference
For information on Import and export integration reference, see Import and export integration reference.