07/18/2023 02:49 PM
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 ?
07/18/2023 07:59 PM
You can create custom Report and fetch information using API in Report
https://documenter.getpostman.com/view/20697337/2s93sgXWAt#cc313678-fc3c-4656-813c-c727a18c212f
08/03/2023 06:12 AM
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 ?
08/03/2023 08:28 AM
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
08/03/2023 08:06 AM
Write one analytics report to find all the ExternalJarJob ran by some user.
This information can be obtained from ecmimportjob table.
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.
08/03/2023 11:27 AM
thanks for the response @dgandhi , We are looking notification in real time.
08/03/2023 11:47 AM
As per my understanding there is no such config to trigger real time notifications.
08/03/2023 08:45 PM
You can build sendEmail functionality inside custom jar which will send email when method is getting invoked.
08/04/2023 06:12 AM
Agreed, but how we will come to know who loggedin and running the Job ?
08/06/2023 05:37 PM