The CreatorCon Call for Content is officially open! Get started here.

Instance Scan Execution Tracker record with state: Failed, for some applications

Christian_
Tera Guru

Im executing Instance Scan Application scan with script (triggerAppScan).

Receive a sys_ id to a sys_execution_tracker record as expected but it has state set to: Failed

 

<sys_execution_tracker>
<message>Finishing up...</message>
<name>Instance Scan</name>
<percent_complete>100</percent_complete>
<result>{"result_id":"<sys id to the result record>"}</result>
<source_table>scan_result</source_table>
<state>3</state>
 
When inspecting the Result created In Progress and the record it self is created earlier today. 

Which makes me suspect that something is still running in the background. Anyone experienced something similar?

2 REPLIES 2

Christian_
Tera Guru
new sn_instance_scan.ScanInstance().triggerAppScan('sys_id for the application');

Christian_
Tera Guru

The error I experienced was resolved the next day, I then again had the opportunity to execute the same subflow as described above without previous errors. Which supports my theory about something running in the background.

However, I went through active transactions.. during the time this occurred, without seeing anything noticeable.