Starting June 11, 2024, we are enforcing admin restrictions on built-in steps and triggers in coded workflows. This update aims to align the security settings of coded workflows with those built in Workflow Builder.
Specifically, the changes include:
We understand that breaking changes are never easy, and we appreciate your patience and understanding. We are implementing this update to enhance the consistency and reliability of our platform. By applying the same admin-set restrictions to coded workflows as we do to Workflow Builder-built workflows with connector steps or webhook triggers, we are ensuring that settings are uniformly applied across all workflows. This will provide a higher level of control and predictability for admins and developers going forward.
Admins can restrict steps and triggers in Workflow Builder. When a step or trigger is restricted by an admin, users are prevented from using them in their workflows.
Restricted steps may include third-party connectors, custom steps, and steps for creating or modifying channels and user groups. For more details, refer to the Slack administration guide on restricting custom steps for Workflow Builder.
When attempting to update or republish a coded workflow using restricted steps or triggers, developers will receive a clear error message from the Slack CLI indicating the restriction (user_cannot_use_function
or user_cannot_use_trigger_type
).
To address these restrictions, developers have two options:
Please ensure that your workflows are compliant with these security enhancements by June 11, 2024.