Count number of activities present in a workflow of in adobe campaign classic | Community
Skip to main content
April 15, 2025
Solved

Count number of activities present in a workflow of in adobe campaign classic

  • April 15, 2025
  • 1 reply
  • 462 views

I want to create workflow which will tell me number of activies present/configured in workflow.

I have checked all xtk schema but I didnt find any clue.

Can anyone guide me how Can I create this.

Thank You for Support!

Best answer by ccg1706

Hi @sanjaygupta,

 

It comes to my mind that via xtk: workflow you could do it. Using XML , you could count the number of activities to determine how many does a workflow has.     

 

To build it correctly you will need to use a JavaScript activity and an alert activity to see how the JS activity behaves.

 

You can read the following documentation:

workflow

About workflow activities | Adobe Campaign

Build a workflow | Adobe Campaign

 

 

If you need more assistance on building de JS code, just let me know.

 

Best regards, 

Celia 

1 reply

ccg1706
Community Advisor
ccg1706Community AdvisorAccepted solution
Community Advisor
April 15, 2025

Hi @sanjaygupta,

 

It comes to my mind that via xtk: workflow you could do it. Using XML , you could count the number of activities to determine how many does a workflow has.     

 

To build it correctly you will need to use a JavaScript activity and an alert activity to see how the JS activity behaves.

 

You can read the following documentation:

workflow

About workflow activities | Adobe Campaign

Build a workflow | Adobe Campaign

 

 

If you need more assistance on building de JS code, just let me know.

 

Best regards, 

Celia