-
Notifications
You must be signed in to change notification settings - Fork 423
Description
Hi team, I'm trying to make a custom workflow step function that posts a workflow message and then replies with additional action buttons. Whenever I set the workflow step to complete, it seems to cause all buttons it creates to become unresponsive and shows an error icon. Everything works as normal when I omit the complete function, but I don't want to have all the workflows stuck in processing. I cannot just have the complete function call when one of the buttons are pressed because users are allowed to undo that press at any time.
Here is an example image where the workflow outputs the parent message and then posts a reply with some action buttons:
From my understanding calling client.functions.completeSuccess seems to prevent any buttons/interactivity created by the workflow step from running. Is this intended or did I misuse the function? Is there anyway to keep the buttons still active even after a workflow is to complete.
@slack/bolt version
4.2.0
Your App and Receiver Configuration
const app = new App({
token: 'Token',
signingSecret: 'Token',
appToken: 'Token',
socketMode: true,
})Node.js runtime version
v20.12.2
Steps to reproduce:
Calling client.functions.completeSuccess prevents any buttons from working
Expected result:
I expect that once the workflow is completed the buttons on a message still work.
Actual result:
Clicking the button does nothing and shows an error icon. Tried logging when the button action function is called, but it doesn't get called.

