35
Views
4
Comments
Is there a way to send the audit logs through email?

Using the audit logs from the example here https://success.outsystems.com/Documentation/11/Managing_the_Applications_Lifecycle/Monitor_and_Troubleshoot/Monitor_Usage_with_Audit_Logs, is there a way to send email notifying target users of the list of audit logs collected in Outsystems?

2023-09-06 11-31-56
Hitesh Maran

Hi Tony,

Yes, you can send audit log to target user or list of user through Outsystems provide Email component. Get the data from systems table and arrange it and pass it through input parameter(message) and send it to the target user. Below is the sample. Hope it help you.



-Hitesh-

2023-03-01 13-44-24
Siddhant Chauhan

Hi Tony,

either you can write the logic in server side(web app) and then use it in your app through server action or check the below link that could help you find your solution.

https://www.outsystems.com/forge/component-overview/3326/how-to-send-emails-from-a-mobile-app

 regards,

Siddhant

UserImage.jpg
Kok Hong Ng

Sorry think I did not make it clear in my post earlier. We know how to use the email API to send email using Outsystems but we have trouble sending audit logs through email. 

What we have done to maneuver this situation is to create a special "auditLog" entity in our database. Then when certain action is triggered, we will store the action description and the author into the db table. And we populate the table inside email web block with a table record, to be the email content. 

Does Outsystems have another way doing this?

2023-03-01 13-44-24
Siddhant Chauhan

the same way this can be achieved. 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.