FlowDesigner Error: Error occured while inserting record

Nimeku
Tera Contributor

My goal is to create a Flow, that is triggered by a Record Producer with a mandatory attachment. The record created by the Record Producer could have multiple attachments and at least one. For Each attachment I want to create a Data Source Record and Copy the attachment to that record...

The FlowDesigner is having problems with creating a Data Source Record. This is the Error Code:

Error occured while inserting record: Operation against file 'sys_data_source' was aborted by Business Rule 'Set table name^b009f6a0db5820108279ab7dca9619fd'. Business Rule Stack:Set table name


Error
Operation(KPI Import Flow.ForEach$1.item$1) failed with error: com.snc.process_flow.exception.OpException: called block 'KPI Import Flow.ForEach$1.item$1' failed. Check the context log for exception details.
	at com.snc.process_flow.engine.CallBlockOperation.run(CallBlockOperation.java:65)
	at com.snc.process_flow.engine.Operation.execute(Operation.java:165)
	at com.snc.process_flow.engine.Process...

Error
Flow Designer: Operation(KPI Import Flow.ForEach$1.item$1) failed with error: com.snc.process_flow.exception.OpException: called block 'KPI Import Flow.ForEach$1.item$1' failed. Check the context log for exception details.
	at com.snc.process_flow.engine.CallBlockOperation.run(CallBlockOperation.java:65)
	at com.snc.process_flow.engine.Operation.execute(Operation.java:165)
	at com.snc.process_flow...

Error
Operation(73f8b6a0db5820108279ab7dca9619fb.c809f6a0db5820108279ab7dca961913.f9e09916c31332002841b63b12d3aeaa) failed with error: com.snc.process_flow.exception.OpException: Error occured while inserting record: Operation against file 'sys_data_source' was aborted by Business Rule 'Set table name^b009f6a0db5820108279ab7dca9619fd'. Business Rule Stack:Set table name
	at com.snc.process_flow.operatio...

Error
Flow Designer: Operation(73f8b6a0db5820108279ab7dca9619fb.c809f6a0db5820108279ab7dca961913.f9e09916c31332002841b63b12d3aeaa) failed with error: com.snc.process_flow.exception.OpException: Error occured while inserting record: Operation against file 'sys_data_source' was aborted by Business Rule 'Set table name^b009f6a0db5820108279ab7dca9619fd'. Business Rule Stack:Set table name
	at com.snc.proces...

 

What is the problem and how can I fix it?

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Nimeku - Please ensure that you are passing in the Import set table name which is an extension of sys_import_set_row. if not there is a BR "sys_data_source" which will abort the creation of Data Source record.

View solution in original post

1 REPLY 1

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Nimeku - Please ensure that you are passing in the Import set table name which is an extension of sys_import_set_row. if not there is a BR "sys_data_source" which will abort the creation of Data Source record.