Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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