Hi there, is there a way to retrieve if a workflow is Active or Not Active in a node with the execute section using IExecuteFunctions? We were able to get access to this by leveraging “this.getWorkflow().active” in a trigger function using ITriggerFunctions but it would be much easier if we could access the status within our execute section of the node.
Our situation: our users are mainly running manual workflows they set up within n8n but some of the work they are building/modifying would run against a production environment. So we’d like to have a “safeguard” in place that doesn’t allow a node to execute unless the workflow has been set to “Active”. We were thinking of adding a dummy trigger function to our Node so that the workflow could be activated.
Any suggestions or advice on implementing a safeguard? Thanks!