Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Don't forget to submit your entry for the Excellence Awards by October 30! | Need more information about the program? Check out the blog here
SOLVED

Question Tool Load Error - Macro Won't Open

Highlighted
11 - Bolide

Good morning,

A co-worker of mine built a Standard Macro yesterday. When he tried to open it today he got the following error:

"Question Tool Load Error: A question tool with a tool Id of 72 is missing the associated question data"

 

As a result, the macro would not open. Per a suggestion on another thread, we deleted tool 72 from the XML and we were able to open it. Even though we got it fixed I was curious to know what might cause an error like this so we can prevent it in the future. The offending tool was a macro input tool. Thoughts?

Highlighted
Alteryx Certified Partner

Hey @kayers 

 

The easy way is to package workflows when sharing them ( using options --> export workflow)

 

More complicated way is to have a shared drive where macros are saved

Highlighted
11 - Bolide

Hi @LordNeilLord - This was a macro my co-worker created, saved and then tried to open all on the same machine. He saved it on his Box drive. Is the issue that the macro input couldn't access the file input he'd pointed it to?

Highlighted
Alteryx Certified Partner

Hey @kayers 

 

Sorry I mis-read the quesiton...

 

I think you're right....the error is saying that one of the drop down options on the macro can't find the field that has been selected.

 

This could be a missing file or the field name has changed.

Highlighted
8 - Asteroid

Hi @kayers,

 

In my case I am facing this problems since I upgrade to version 2019.1.

 

The problem is that is you open the file in XML an delete the tools are having issues, you will open the workflow without this tools.

 

The solution I found is that you can add the information missing opening the file in XML:

Go to the part :

<RuntimeProperties>
<Actions />
<Questions>

And add this code for each tool missing (in my case there are for macro input tool):

<Question>
<Type>Tab</Type>
<Description>Questions</Description>
<Name>Tab (107)</Name>
<ToolId value="107" />
<Questions />
</Question>

 

Save and try to open the file in Alteryx.

 

Let me know if it works for you.

Highlighted
6 - Meteoroid

Does it appear I have corrected my issue? for 173?

 

<RuntimeProperties>
      <Actions />
      <Questions>
        <Question>
          <Type>Tab</Type>
          <Description>Questions</Description>
          <Name>Tab (172)</Name>
          <ToolId value="172" />
          <Questions />
        </Question>
 <Question>
  <Type>Tab</Type>
   <Description>Questions</Description>
  <Name>Tab (173)</Name>
  <ToolId value="173" />
  <Questions />
  </Question
      </Questions>
      <ModuleType>Macro</ModuleType>
      <MacroCustomHelp value="False" />
      <MacroDynamicOutputFields value="False" />
      <MacroImageStd value="0" />
      <MacroInputs />
      <MacroOutputs />
      <Wiz_CustomHelp value="False" />
      <Wiz_CustomGraphic value="False" />
      <Wiz_ShowOutput value="True" />
      <Wiz_OpenOutputTools>
        <Tool ToolId="127" Selected="True" />
        <Tool ToolId="128" Selected="True" />
        <Tool ToolId="132" Selected="True" />
        <Tool ToolId="149" Selected="False" />
        <Tool ToolId="167" Selected="True" />
        <Tool ToolId="121" Selected="True" />
        <Tool ToolId="173" Selected="False" />
        <Tool ToolId="178" Selected="True" />
        <Tool ToolId="220" Selected="True" />
        <Tool ToolId="211" Selected="True" />
        <Tool ToolId="218" Selected="True" />
        <Tool ToolId="217" Selected="True" />
      </Wiz_OpenOutputTools>
      <Wiz_OutputMessage />
      <Wiz_NoOutputFilesMessage />
      <Wiz_ChainRunWizard />
    </RuntimeProperties>
  </Properties>
</AlteryxDocument>

Highlighted
7 - Meteor

This thread was a life-saver. I figured I could edit the xml, but I had no idea how I'd need to do that.

 

Thanks all!!!

Labels