Inspire EMEA 2022 On-Demand is live! Watch now, and be sure to save the date for Inspire 2023 in Las Vegas next May.

Dev Space

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.

Get AlteryxEngine Status (disabled) using Python SDK

9 - Comet

I have an output SDK tool that should be disabled if the Runtime setting on the workflow are set to disable all outputs.


I can see in the docs that the AlteryxEngine has a status type called disabled that seems to contain this information, but how do I access this information in the SDK?


Docs for the status type are here,, I'm just not clear how to access this status using th python sdk.

11 - Bolide

Hey Bob,


Those statuses are for sending messages back to the engine.  So you would use that status if you want to let the engine know that your tool is disabled.


In order to identify whether output tools are disabled, you can use get_init_var:


output_disabled = self.alteryx_engine.get_init_var(self.n_tool_id, 'DisableAllOutput')


output_disabled will be a string that is either 'True' or 'False'.


Btw, this isn't documented in either the Python docs or the C++ header files.  I looked into the XML of the workflow and at the bottom are a bunch of properties.  I used the tag name for disabling output as the init_var and it happily worked.  It doens't work for all of them...


9 - Comet

I never thought to check there, many thanks for the help it works perfectly!


Unfortunately I find the docs are super thin and I spend a lot of time reverse engineering other workflows to see what's going on 😒