2
votes

I have a set of hardcoded values for which I need to execute ForEach activity. I can create the array in the following manner and specify this as an expression in the Items setting for the ForEach activity

createArray('obj1', 'obj2','obj3')

But I get the following warning:-

Expression of type: 'String' does not match the field: 'items'

Is there any way workaround for this so that ForEach activity will work for this?

1

1 Answers

3
votes

I think createArray built-in function could be implemented.

enter image description here

Inside ForEach Avtivity,i just configure one SetVariableActivity.

enter image description here

Result:

enter image description here