Skip to main content
November 19, 2025
Question

How to find out which attributes being used from List in the live workflows

  • November 19, 2025
  • 2 replies
  • 85 views

How to find out which attributes are being used from List in the live workflows.

 

Eg : if a list have 100 attributes in the list, then how many are being used in live workflows and need to remove the unused from the list.

 

 

2 replies

ccg1706
Community Advisor
Community Advisor
February 6, 2026

Hi ​@ShivamAr,

 

I’ve been thinking about developing a workflow that examines all the XML definitions and looks for a set of file names  (for instance: @field vars.field). Any items not present in any active workflow could be candidates for removal. This could be achieved with a Java Script activity to compile the list of attributes , followed by the scanning through the workflow definitions. 

 

Try and let me know how it goes.

Best, 

Celia

 

 

Level 2
May 25, 2026

Hi ShivamAr,

We addressed this exact pain point by searching across all workflows, all deliveries, all schemas and all lists with acc.

Following your example, you would download your workflows as local XML files with 1 command:

acc instance pull --metadata xtk:workflow

You may then search among workflows via any tool. VS Code would be the best candidate for your 100 attributes, as they can se searched via regular expression. 

In the below use case, the list LST7 has 4 attributes: @attribute1, @attribute2, @date1, @int1. It is consumed by 3 workflows:

1 list consumed by 3 workflows

Once downloaded locally, VS Code can run a regex search on all attributes with (attribute1|attribute2|date1|int1):

acc pulled the instance, and found 3 workflows with the attributes in VS Code

Any attribute not found can be safely removed from the list as they are unused by workflows.

More details, such as looking for fields to be removed from schema, on https://myrosblog.com/adobe-campaign/acc-cli-find-schema