How to get information on many emails sent from IDN for various purposes

Hi, I am looking to get one information from IdentityNow. Here is the scenario - We have various activities in IDN which sends email to recipients, these activities include email sent via workflow, event trigger, joiner/leaver etc… I am looking to get how many emails sent via IdentityNow on daily basis and for which activity (option to filter by application/sources). Could you please suggest me how can I do this.

For simple use case - lets say I have one mssql direct connected source. For this source we have one event based workflow which keeps checking termination date for users under that application. If there is any termination date, it will send email to one team. Here I am looking to know how many emails that workflow sent to that team with timestamp.

HI Himanshu, I am not an expert in IDN but for reference point in IIQ we have email sent audit logs for a similar case.

You can check if u have similar functionality in IDN like “Send Email Success/Fail”

1 Like

Hi HImanshu,
Please go to Search and type “Send Email Passed/Failed” and click on Search you will get all details of Password/Failed of email notification

2 Likes

@hranjan3 : If you are happy with the solution , u can accept it as solution, or else if u have additional query , we are happy to assist :slight_smile:

@Saket95606 @RAKGDS I tried to use send email search query, it looks like its showing up the info on send mail activity but not capturing email send via workflow send email activity node.

Name - Send Email Passed
Operation - Send
Status - Passed
Technical name - EMAIL_SEND_PASSED
TYPE - USER_MANAGEMENT

These are column values I see for events and its mainly information on subscription emails or certification email. Could you please suggest how can we capture workflow send mail.

Hi @hranjan3

I tried to gave it some thought and if you want to achieve the requirement from only ISC then i think you could try to have a scheduled workflow in place which may run every night.

This workflow should make call to workflow execution API with the id of the workflow that is currently sending the emails with start date and end date filter (See below link to the document which states that it is possible to get the information about workflow execution with start date and end date) and then loop over the executions in such a way that you can extract the information of type of email was sent (joiner leaver or mover etc). I believe then you can send another email to your mailbox to have these information.

I hope this helps.

Thank You.
Regards
Vikas.

1 Like

Further i see there is an API https://{tenant}.api.identitynow.com/beta/workflow-executions/:id/history, that will give you all the input and output of the workflow execution so if you can set some variable in the original workflow, then it would be little easy to identify these notifications type that were sent and iterate over them to get the summary.

But yes, will require quite some work i believe and testing and may come up with new challenges during the implementation.

Thank you.

1 Like

Hi @hranjan3, There is no direct way to get this. What @vguleria mentioned is only way to get required information from the workflow.

3 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.