I want to develop a workflow whereby the Rapid7 InsightConnect Slackbot would post an interactive message to said Slack channel with two options (Approve/Reject). That message will go to all 5 members of the channel to make a decision. I want to be able to capture 3 approvals. Once I capture 3 approvals, the workflow continues. How can I build this out logically? It seems like when one member of the group approves/rejects, the decision is no longer available to make for the other group members.
Create your Slack Decision step: Make Decision
3a. Decision Choices: Approve Request and Reject Request
Create a Join Step: Decision Path
4a. Create a variable in the Join Step: Decision Value: {{["Make Decision"].[path]}}
Create a Break Step - Break Loop If is_defined({{["Decision Loop"].[Approval]}}) AND {{["Decision Loop"].[Approval]}}=3 OR is_defined({{["Decision Loop"].[Denied]}}) AND {{["Decision Loop"].[Denied]}}=3
Exit Loop - Create an Automated Decision
7a. Path Names Approved and Denied
7b. Default Approved as the choice
7c. Query for Denied: {{["Decision Loop"].[Denied]}}>=3
Continue normal workflow
This should give you what you need, it worked for me in testing. If you want an example workflow send me an email michael_cochran@rapid7.com and I will email you something over.