Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

How to count the number of components in a workflow

Nico67543
7 - Meteor

I need to count the components in different workflows, but some workflows may use hundreds of components, and I can't count each one manually.

For example, in this workflow, how can I count the components I've used? Is there any easy way?

SharedScreenshot.jpg

 

6 REPLIES 6
flying008
15 - Aurora

Hi, @Nico67543 

 

You mean is that how many tools in used of the workflow? like above screenshot, maybe is 11 ?

Nico67543
7 - Meteor

YESYES!! Count the number of tools. Is there any way?

flying008
15 - Aurora

Hi, @Nico67543 

 

You can count the number of tools used by searching for how many lines of such a string are in the .yxmd file, 

< EngineSettings EngineDll="******.dll" EngineDllEntryPoint="******" />

 

录制_2024_04_16_15_29_29_253.gif

Nico67543
7 - Meteor

Thanks!!! It really helps. However,  is it suitable for yxzp.?

flying008
15 - Aurora

Hi, @Nico67543 

 

.yxzp is actually a zip file, so you need to unzip it before doing the above.

 

 

******

If can help you get your want, please mark it as a solution for more share.

Nico67543
7 - Meteor

Hi I found a problem!!

when I change yxmd to csv, some workflow just  has 6 lines in csv file, but in yxmd format it has many lines.

Like this file called bulk cost, you can see it has many tools and many lines, but it just has 6 lines in csv file. 

2.jpg

1.jpg

  

Labels