Is there a way to collect Insight Imports result with groovy?

Eugeny Chernyavsky April 14, 2023

We have installed Insight version is 9.1.13, and we really would like to grab the results of Imports on daily basis.

The only info I've managed to find with Groovy is Configuration info about ImportSource and ImportSourceOT objects.

We really would like to have possibility to get some import run data like finished time, import results, errors if happened...

2 answers

1 accepted

0 votes
Answer accepted
Eugeny Chernyavsky April 17, 2023

We've configured database Insight import from AO_8542F1_IFJ_IMPORT_SRC and AO_8542F1_IFJ_PRG_RES and getting the reports for insight imports with the help of insight import. Looks like this is the way for now

Thanks

0 votes
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2023

The closest I can find is ProgressFacade.

But there is no method to list all the recent progress results.

It might be behind some hidden/internal API.

The only option I can think of is to query the db directly (AO_8542F1_IFJ_PRG_RES).

Eugeny Chernyavsky April 16, 2023

Thank you for suggestion
I saw that before, but couldn't find they way to take Progress object except running import from groovy (start import method returning Progress object)
Maybe I missed something else...

Suggest an answer

Log in or Sign up to answer