Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

How to count the number of tools in a workflow?

Nico67543
7 - Meteor

I have a lot of workflows and I want to count how many tools are used in each workflow. Is there any way to do that?

For example, there are 11 tools in the workflow shows below, and I don't want to count it manually.   

SharedScreenshot.jpg

2 REPLIES 2
Christina_H
14 - Magnetar

You can use a workflow as the input for another workflow, read as a CSV file.  Filter the output to rows containing "Node ToolID", which should give you one row per tool.

 

You'll probably need to tweak the input to get it working correctly, e.g. increase field length, set delimiter to \0, no field names. 

image.png

fmvizcaino
17 - Castor
17 - Castor

Hi @Nico67543 ,

 

@Christina_H suggestion is a nice approach and allows you to retrieve more information about each node if needed.

 

If you only need to count the number of tools and nothing else, you can use this sample macro here.Screenshot 2024-04-16 100838.png

 

 

Best,

Fernando Vizcaino