Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How to query Transport Import History Transport Details?

JKeyser
New Contributor II
New Contributor II

We would like to design a Runtime Analytics report to query the Transport Details of previous Import requests. Specifically we would like to know which objects failed on a successful import. Is there a database table where we can find the information displayed in the Transport Details section of the request items found under Transport -> Import Package -> View History? 

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

select a.access_url ,a.userlogin_accesskey as userLoginAccessKey,a.query_param as queryParam,a.objectKey as jobId,a.detail as jobComments,a.new_value as jobResponse from Userlogin_access a where a.access_url like '%/transport/exportData'
ORDER BY CASE a.new_value WHEN 'In Progress' THEN 1 WHEN 'In Queue' THEN 2 ELSE 3 END, a.userlogin_accesskey desc


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

naveenss
All-Star
All-Star

Hi @JKeyser  below is the query run in the background when you click on "View History" from the Import package page

SELECT
raa.DESCRIPTION,
ra.REQUEST_ACCESSKEY,
ra.status as requeststatus,
ra.USERKEY,
ar.requestkey,
ar.status AS arsstatus,
ar.JBPMPROCESSINSTANCEID AS proccessinstanceID,
raa.ATTRIBUTELABLE AS savresponse
FROM
request_access_attrs raa
INNER JOIN
request_access ra ON ra.REQUEST_ACCESSKEY = raa.request_access_key
INNER JOIN
ars_requests ar ON ra.requestkey = ar.requestkey
WHERE
ra.status IN (1 , 2, 4)
AND ra.accesstype = 10
AND ra.requesttype = 26
AND ar.JBPMPROCESSINSTANCEID != ''
ORDER BY CASE raa.ATTRIBUTELABLE
WHEN 'In Progress' THEN 1
WHEN 'In Queue' THEN 2
ELSE 3
END , ra.startdate DESC;

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.