Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

How To Troubleshoot "A question tool is missing the associated question data"

Moderator
Moderator
Created

A question tool is missing the associated question data

 

When opening a workflow file the below error occurs and the file does not open nor do autorecovered workflow copies open.

 

Question tool load error: A question tool with a tool ID of 492 is missing the associated question data

 

This issue is caused by a specific workflow corruption. It can be easily solved as explained below. As all workflows are XML files they can be edited with a regular text editor. There are two different causes for the issue with two different solutions.

 

Environment

 

  • Product - Alteryx Designer
    • Versions 2018.3+

Cause A

 

This issue can occur when caching a workflow containing a macro while editing the macro itself. This feature was introduced in Alteryx Designer 2018.3. Refer to Solution A.

 

Cause B

 

This issue will occur when converting a Browse tool into a Macro Output tool by right clicking it and selecting "convert to Macro Output". After saving the workflow the issue will occur. This issue started in Alteryx Designer 2019.3. Refer to Solution B.

 

 

Solution A

 

  1. Close Designer and make sure that the workflow is not being accessed by any other application.
  2. Open the workflow file in a text editor 
  3. Go to the Questions section of the XML file. It will look similar to the below.

2019-09-12_15-11-52.gif

 

4. Add the missing Macro Input code snippet within the <Questions> tag. Take the Tool ID from the error message. In our case:

 

<Question>
<Type>MacroInput</Type>
<Description>Macro Input (492)</Description>
<Name>Macro Input (492)</Name>
<ToolId value="492" />
</Question>

 

 5. Save the file, make sure not to change the file extension. Close the editor and re-start Designer. The workflow should work now.

 

As always if the issue persists feel free to reach out to Alteryx Customer Support

 

Solution B

 

  1. Close Designer and make sure that the workflow is not being accessed by any other application.
  2. Open the workflow file in a text editor 
  3. Go to the Questions section of the XML file. It will look similar to the below.

 CauseB.gif

4. Add the missing Macro Output code snippet within the <Questions> tag. Take the Tool ID from the error message. In our case:

 

<Question>
<Type>MacroOutput</Type>
<Description>Macro Output (492)</Description>
<Name>Macro Output (492)</Name>
<ToolId value="492" />
</Question>

 

5. Save the file, make sure not to change the file extension. Close the editor and re-start Designer. The workflow should work now.

 

As always if the issue persists feel free to reach out to Alteryx Customer Support