Through Saviynt API - Is there way to know who running a job ?

IAM_99
Regular Contributor II
Regular Contributor II

Hi All,

We have invoke external Jar job which generates custom report  , we need to notify a user who is ran the job with the results like success/failure, any inputs on this how to achieve this ?

9 REPLIES 9

rushikeshvartak
All-Star
All-Star

You can create custom Report and fetch information using API in Report

https://documenter.getpostman.com/view/20697337/2s93sgXWAt#cc313678-fc3c-4656-813c-c727a18c212f

IAM_99
Regular Contributor II
Regular Contributor II

Let me rephrase - We have  Invoke Jar Job ( which generate a report with custom logic + Saviynt api calls etc.) , This is an adhoc Job - on demand if any user runs this he should get an email - that means we need to know who running the job - is there a way to achieve this ?

Jar is invoked by admin. You can add logic into Jar to get who is running jar but now in latest version who is running jar is provided on  UI 23.6 

dgandhi
All-Star
All-Star

Write one analytics report to find all the ExternalJarJob ran by some user.

This information can be obtained from ecmimportjob table.

dgandhi_0-1691075137214.png

Develop a query to find the output which filters data from past few hours and also scheduled this analytics.

In analytics you can attached email template so that whenever the analytics  runs , it sends email notification to the required members.

 

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

IAM_99
Regular Contributor II
Regular Contributor II

thanks for the response @dgandhi , We are looking notification  in real time.

As per my understanding there is no such config to trigger real time notifications.

 

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

You can build sendEmail functionality inside custom jar which will send email when method is getting invoked.

IAM_99
Regular Contributor II
Regular Contributor II

Agreed, but how we will come to know who loggedin and running the Job ?

use saviynt OOTB feature - Audit Trail

rushikeshvartak_0-1691368654689.png