Expand my Community achievements bar.

SOLVED

Read list activity

Avatar

Level 2
Level 2

Hi Adobe team,

In read list activity, select list to use tab I can see three options

1.Specified explicitly

2.Name computed by a script

3.Folder and name computed by a script 

 

After clicking on Name computed by a script, not able to understand below options

1.In  the folder

2.Label (computed)

3.List template- 

Similarly for folder and name computed by a script.

 

I understand list update activity, but not able to understand what option 2 and 3 does in read list. I read the document but didn't understand.

Kindly help 

Thank you.

 

IMG_20250105_204809.jpgIMG_20250105_205359.jpgIMG_20250105_205406.jpg

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @KD1 ,

Name computed by a script

Consider a daily running workflow creates a List using List Update activity 'Name computed by a script' option enabled. Example, test_<%= formatDate(new Date(), "%2D/%2M/%4Y") %>

This will create a list with dynamic label each time the workflow runs.

ParthaSarathy_0-1736340676296.png

And if you want to call the same list in another workflow, Create Read List activity and need to call this list dynamically, select 'Name computed by a script' option and give the same list label script test_<%= formatDate(new Date(), "%2D/%2M/%4Y") .

Before this, Using the same workflow create a List having all the attributes which you plan to store in the list and name it as myList_template and call this template in 'List template' in read list activity

ParthaSarathy_1-1736340874777.png

Same with the other option 'Folder and name computed by a script' . If you create a folder and list label to store the list with dynamic names using 'List update' activity, and if you want to call the list in another workflow dynamically, you can use this option.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @KD1 ,

Name computed by a script

Consider a daily running workflow creates a List using List Update activity 'Name computed by a script' option enabled. Example, test_<%= formatDate(new Date(), "%2D/%2M/%4Y") %>

This will create a list with dynamic label each time the workflow runs.

ParthaSarathy_0-1736340676296.png

And if you want to call the same list in another workflow, Create Read List activity and need to call this list dynamically, select 'Name computed by a script' option and give the same list label script test_<%= formatDate(new Date(), "%2D/%2M/%4Y") .

Before this, Using the same workflow create a List having all the attributes which you plan to store in the list and name it as myList_template and call this template in 'List template' in read list activity

ParthaSarathy_1-1736340874777.png

Same with the other option 'Folder and name computed by a script' . If you create a folder and list label to store the list with dynamic names using 'List update' activity, and if you want to call the list in another workflow dynamically, you can use this option.

Avatar

Level 2
Level 2

Hi @ParthaSarathy 

Thank you, that really helped.

Can you explain what is

1.Save type 

2.Database use for storing the list table

 

Best practice for above to keep option tick

IMG_20250109_222827.jpg