Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. How to solve the problem?

We will develop an Audit Trail Plugin to send message to Slack

...

To develop a Slack Notification plugin, we will consider providing the parameters properties options similar to User Notification plugin.

...

We can use slack-webhook library to integrate with Slack. We also can extend also extend the org.joget.apps.app.lib.UserNotificationAuditTrail to save our time on re-implement similar methods.

...

After completing the properties option to collect inputinputs, we can work on the main methods of the plugin which is execute method. But, since we extends UserNotificationAuditTrail extended UserNotificationAuditTrail class, we just need to override the sendEmail method which used to send out email by UserNotificationAuditTrail class.

...