"Operation against file 'problem' was aborted by Business Rule 'Transform synchronously^<sys_id>'. Business Rule Stack:Transform synchronously"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 02:23 AM
Im trying to update the state of the problem record through an import set API transform script. I get an error
"Operation against file 'problem' was aborted by Business Rule 'Transform synchronously^<sys_id>'. Business Rule Stack:Transform synchronously"
How to resolve this?
- Labels:
-
Problem Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2020 12:32 AM
NOw lets try to debug BR. GO to debug business rule and then new screen will open. Then try to perform your process for one record and monitor what is happening.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2020 07:46 AM
Hi,
check that BR what it contains? can you share script of that here?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2020 04:24 PM
This is the script of the underlying business rule that gets called.
var importSetGr = new GlideRecord("sys_import_set");
importSetGr.get(current.sys_import_set);
var importSetId = importSetGr.getUniqueValue();
var importSetRun = new GlideImportSetRun(current.sys_import_set);
var importLog = new GlideImportLog(importSetRun, "SOAP Transform");
var ist = new GlideImportSetTransformer();
ist.setLogger(importLog);
ist.setImportSetRun(importSetRun);
ist.setImportSetID(importSetId);
ist.setSyncImport(true);
ist.transformAllMaps(importSetGr, current.getUniqueValue());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 10:22 PM
I realised this is because of the ‘Problem Management Best Practice - Madrid - State Model’ plugin [com.snc.best_practice.problem.madrid.state_model].
Problem Management Best Practice — Madrid — State Model was first introduced for the Madrid release and The plugin is activated by default for the new customers.
This plugin provides support for state management to control how a problem or problem task is allowed to transition through a predefined list of states.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 11:01 PM
Hi,
If this has been resolved.
Kindly close the thread by marking Answer as ✅ Correct & 👍Helpful so that it does not appear in unanswered list.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader