cancel
Showing results for 
Search instead for 
Did you mean: 

SBPA - Initialise a LIST variable within Process Automation

Pyc
Participant
0 Kudos

G'day,

I feel this should be easy and hopefully is. I've got Process Automation which has mutliple loops occuring within and I want to clear a String List variable as key data changes.

I don't see that it's possible with Custom Script as any Ouput defined creates a new variable.

There is no List equivalent to "Set Variable Value". I can't just overwrite with an initial/empty List

There are the "Remove Item" and "Remove by Index" options but I can't see anything that's "Remove all".

How can I get a List back to empty?

Many thanks,
Mark

View Entire Topic
Pyc
Participant
0 Kudos

Thanks for the confirmation Archana.

The end result is possible with a simple "For Each" loop containing a "Remove by Index".

Not the prettiest, but not that bad either.