Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Executing ForEach activity against a hardcoded array in ADFv2

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?

like image 901
Dhiraj Avatar asked Jun 28 '26 00:06

Dhiraj


1 Answers

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

like image 51
Jay Gong Avatar answered Jun 30 '26 21:06

Jay Gong



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!