...
2. How to solve the problem?
We will develop a Process Tool/ Post Form Post Submission Processing Plugin to send message to Slack.
...
Create a "SlackWebhookTool" class under "org.joget" package. Then, extend the class with org.joget.plugin.base.DefaultApplicationPlugin abstract class. Please refer to Process Tool/ Post Form Post Submission Processing Plugin. We will need to implement org.joget.plugin.base.PluginWebSupport interface class as well to provide a send test message button in plugin properties page. Please refer to Web Service Plugin.
...
Let's build our plugin. Once the building process is done, we will find a "slack_webhook_filter-5.0.0.jar" file created under "slack_webhook/target" directory.
Then, let's upload the plugin jar to Manage Plugins. After uploading the jar file, double check that the plugin is uploaded and activated correctly..
Check the Slack Webhook Tool is available in process tool mapping.
Now, let us configure the Incoming Webhooks in Slack platform.
- Go to your_team.slack.com/services/new.
- Search for Incoming WebHook and click in
Add
- Choose Channel to Post and press
Add Incoming WebHooks Integration
- Into Setup Instructions, you've a WebHook URL. This is the argument will use for the "Webhook URL" later. Then, copy it.
Configure the Slack Webhook Tool.
The message is received in Slack.
8. Take a step further, share it or sell it
...