change a Transform Map from asynchronous to synchronous using REST API Explorer in ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @IshaniD
You cannot change a Transform Map from async to sync via REST because the Transform Map does not control execution mode. It only defines field mappings and scripts. Sync vs async is decided by how the transform is triggered (UI transform, scheduled import, Import Set API, IntegrationHub, scripted call, etc.).
There is no REST flag on the sys_transform_map table to flip this.
If you need synchronous behaviour, I'd invoke the transform synchronously from server side script (for example via a Scripted REST API calling the Import Set Transformer). ServiceNow will usually run transforms in the background to avoid request timeouts, so the recommended pattern is async transform plus polling for status rather than blocking the REST call.
The ServiceNow Developer site has some great info on API's, Transform Maps and REST.
Under Reference there is a great collection of the APIs available and what they do.
Under Learn there are courses on Import Sets and Scripted Rest API.
