Skip to content

Examples

Set a webhook for the current user profile

call dbsdk_v1.slack_setwebhookforme('https://hooks.slack.com/services/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');

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)

values(
dbsdk_v1.slack_sendmessage( MSG =>'IBM i rules'
WEBHOOK => 'https://hooks.slack.com/services/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'));