Skip to content

Examples

Set a webhook for the current user profile

Section titled “Set a webhook for the current user profile”
call dbsdk_v1.slack_setwebhookforme('<your-slack-webhook-url>');

Send a Slack message (using the webhook set for the current user profile)

Section titled “Send a Slack message (using the webhook set for the current user profile)”
values(dbsdk_v1.slack_sendmessage('IBM i rules'));

Send a Slack message (using a specific webhook)

Section titled “Send a Slack message (using a specific webhook)”
values(
dbsdk_v1.slack_sendmessage( MSG =>'IBM i rules',
WEBHOOK => '<your-slack-webhook-url>'));