Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Union Component with Input Sources Details

kpsrawat
8 - Asteroid

Hi,

 

Can you share with me a simple workflow xml (.yxmd) where two input data sources (.csv) passed to a Union component directly which is giving a single output  (Input--> Union --> output) ?

 

And from the workflow xml we can identify that the Union component taking input from two input sources and giving a single output file. 

 

Thanks,

Kunwar

6 REPLIES 6
JosephSerpis
17 - Castor
17 - Castor

Hi @kpsrawat if you right click on the majority of tools an option of Open Example will appear. Which will open up a simple workflow for you.

 

Union_07112020.JPG

kpsrawat
8 - Asteroid

Hi @JosephSerpis 

 

thanks for your response.

 

Unfortunately I don't have Alteryx setup on my laptop as I am not able to download setup due to policy & restriction applied on company asset.

 

That's why I am looking for this information

JosephSerpis
17 - Castor
17 - Castor

Hi @kpsrawat can I ask what you are trying achieve then if you don't have Alteryx? 

messi007
15 - Aurora
15 - Aurora

Hi @kpsrawat 

 

Below the XML

<?xml version="1.0"?>
<AlteryxDocument yxmdVer="2020.3">
  <Nodes>
    <Node ToolID="1">
      <GuiSettings Plugin="AlteryxBasePluginsGui.DbFileInput.DbFileInput">
        <Position x="198" y="66" />
      </GuiSettings>
      <Properties>
        <Configuration>
          <File>C:\Users\Home\Downloads\TEST2.csv</File>
        </Configuration>
        <Annotation DisplayMode="0">
          <Name />
          <DefaultAnnotationText>TEST2.csv</DefaultAnnotationText>
          <Left value="False" />
        </Annotation>
        <MetaInfo connection="Output">
          <RecordInfo>
            <Field name="A" size="254" source="File: C:\Users\Home\Downloads\TEST2.csv" type="V_WString" />
            <Field name="B" size="254" source="File: C:\Users\Home\Downloads\TEST2.csv" type="V_WString" />
          </RecordInfo>
        </MetaInfo>
      </Properties>
      <EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxDbFileInput" />
    </Node>
    <Node ToolID="2">
      <GuiSettings Plugin="AlteryxBasePluginsGui.DbFileInput.DbFileInput">
        <Position x="258" y="126" />
      </GuiSettings>
      <Properties>
        <Configuration>
          <File>C:\Users\Home\Downloads\TEST1.csv</File>
        </Configuration>
        <Annotation DisplayMode="0">
          <Name />
          <DefaultAnnotationText>TEST1.csv</DefaultAnnotationText>
          <Left value="False" />
        </Annotation>
        <MetaInfo connection="Output">
          <RecordInfo>
            <Field name="A" size="254" source="File: C:\Users\Home\Downloads\TEST1.csv" type="V_WString" />
            <Field name="B" size="254" source="File: C:\Users\Home\Downloads\TEST1.csv" type="V_WString" />
          </RecordInfo>
        </MetaInfo>
      </Properties>
      <EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxDbFileInput" />
    </Node>
    <Node ToolID="3">
      <GuiSettings Plugin="AlteryxBasePluginsGui.Union.Union">
        <Position x="366" y="66" />
      </GuiSettings>
      <Properties>
        <Configuration>
          <ByName_ErrorMode>Warning</ByName_ErrorMode>
          <ByName_OutputMode>All</ByName_OutputMode>
          <Mode>ByName</Mode>
          <SetOutputOrder value="False" />
        </Configuration>
        <Annotation DisplayMode="0">
          <Name />
          <DefaultAnnotationText />
          <Left value="False" />
        </Annotation>
      </Properties>
      <EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxUnion" />
    </Node>
    <Node ToolID="5">
      <GuiSettings Plugin="AlteryxBasePluginsGui.DbFileOutput.DbFileOutput">
        <Position x="546" y="66" />
      </GuiSettings>
      <Properties>
        <Configuration>
          <File MaxRecords="" FileFormat="0">C:\Users\Home\OneDrive\Documents\Test</File>
          <Passwords />
          <FormatSpecificOptions>
            <LineEndStyle>CRLF</LineEndStyle>
            <Delimeter>,</Delimeter>
            <ForceQuotes>False</ForceQuotes>
            <HeaderRow>True</HeaderRow>
            <CodePage>28591</CodePage>
            <WriteBOM>True</WriteBOM>
          </FormatSpecificOptions>
          <MultiFile value="False" />
        </Configuration>
        <Annotation DisplayMode="0">
          <Name />
          <DefaultAnnotationText>Test</DefaultAnnotationText>
          <Left value="False" />
        </Annotation>
        <Dependencies>
          <Implicit />
        </Dependencies>
      </Properties>
      <EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxDbFileOutput" />
    </Node>
  </Nodes>
  <Connections>
    <Connection name="#2">
      <Origin ToolID="1" Connection="Output" />
      <Destination ToolID="3" Connection="Input" />
    </Connection>
    <Connection name="#1">
      <Origin ToolID="2" Connection="Output" />
      <Destination ToolID="3" Connection="Input" />
    </Connection>
    <Connection>
      <Origin ToolID="3" Connection="Output" />
      <Destination ToolID="5" Connection="Input" />
    </Connection>
  </Connections>
  <Properties>
    <Memory default="True" />
    <GlobalRecordLimit value="0" />
    <TempFiles default="True" />
    <Annotation on="True" includeToolName="False" />
    <ConvErrorLimit value="10" />
    <ConvErrorLimit_Stop value="False" />
    <CancelOnError value="False" />
    <DisableBrowse value="False" />
    <EnablePerformanceProfiling value="False" />
    <DisableAllOutput value="False" />
    <ShowAllMacroMessages value="False" />
    <ShowConnectionStatusIsOn value="True" />
    <ShowConnectionStatusOnlyWhenRunning value="True" />
    <ZoomLevel value="0" />
    <LayoutType>Horizontal</LayoutType>
    <MetaInfo>
      <NameIsFileName value="True" />
      <Name>Union</Name>
      <Description />
      <RootToolName />
      <ToolVersion />
      <ToolInDb value="False" />
      <CategoryName />
      <SearchTags />
      <Author />
      <Company />
      <Copyright />
      <DescriptionLink actual="" displayed="" />
      <Example>
        <Description />
        <File />
      </Example>
    </MetaInfo>
    <Events>
      <Enabled value="True" />
    </Events>
  </Properties>
</AlteryxDocument>

Attached the workflow as well,

 

Hope that helps!

 

Regards,

kpsrawat
8 - Asteroid

Thanks @messi007 

messi007
15 - Aurora
15 - Aurora

Dear @kpsrawat,

 

Could you mark my answer as accepted as a solution withe a like if you don't mind 🙂

 

Happy to help 🙂

 

Regards, 

Labels
Top Solution Authors