Notifications

20 views

Description

While performing synchronous data import using import set API, sometimes the import gets fail with following error message.

"Operation against file 'hr_task' was aborted by Business Rule 'Transform synchronously^e2c571a7dbf0d810a142a57305961982'. Business Rule Stack:Transform synchronously,ValidateChanges"

Cause

Before calling the import API, enable the business rule debug using "glide.businessrule.callstack" in sys_properties table and perform the import. After enabling the business rule debug, from the application node logs we could see the business rules that are being called during the transform. 

Sample log  before debug:

2020-05-21 11:59:21 (103) API_INT-thread-4 D4CE6127DBB45C10AC151230399619DB txid=1cce6127dbb4 Background message, type:error, message: The assignee is not a member of the record's group
2020-05-21 11:59:21 (105) API_INT-thread-4 D4CE6127DBB45C10AC151230399619DB txid=1cce6127dbb4 Operation against file 'hr_task' was aborted by Business Rule 'Transform synchronously^d8cee96bdbb45c10ac151230399619f0'. Business Rule Stack:Transform synchronously,ValidateChanges

Sample log after debug :

2020-05-27 08:37:51 (001) API_INT-thread-2 472AFF19DB011C10A142A573059619CF txid=8b2aff19db01 BUSINESS RULE - About to execute business rule 'ValidateChanges' on hr_task:<span class = "session-log-bold-text"> HRT0393537</span>
2020-05-27 08:37:51 (005) API_INT-thread-2 472AFF19DB011C10A142A573059619CF txid=8b2aff19db01 Background message, type:error, message: The assignee is not a member of the record's group
2020-05-27 08:37:51 (006) API_INT-thread-2 472AFF19DB011C10A142A573059619CF txid=8b2aff19db01 Operation against file 'hr_task' was aborted by Business Rule 'Transform synchronously^4f2abf1ddb011c10a142a5730596197d'. Business Rule Stack:Transform synchronously,ValidateChanges
2020-05-27 08:37:51 (006) API_INT-thread-2 472AFF19DB011C10A142A573059619CF txid=8b2aff19db01 BUSINESS RULE - Finished executing business rule 'ValidateChanges' on hr_task

Resolution

inorder to over this issue either disable the business rules which are making the transform abort or modify the business rule condition according to your business logic.

Article Information

Last Updated:2020-05-31 09:59:55
Published:2020-05-31