Add Queue Items Activity - Item Information

Hi all! I am getting this error. Any idea how to solve it ???

I am using add queue items activity in for each activity like in the following.

What should i do ?

@170290064

try with CurrentItem(0) instead of CurrentItem(0).tostring

Still getting the same error :thinking:

@170290064

can you check the datatype of your collection input

in_arr_dataToSearch

1 Like

@170290064

First of all may I know what is currentitem?

What is the array type?

Cheers

using the same data type and activity in the else section but getting no error

@170290064

can you try once by removing the old activity and placing a new activity

can you also check any variable is present with the same name

@170290064

Try this in for loop argument in_arr_datatosearch.Cast(Of String)

Inside loop use currentitem(0)

Cheers

May i ask what does this code do :thinking:

@170290064

As per error the casting of the values is not done…so instead of casting to string at a later point(the spurce of late binding) i am casting to string at the start only

In previous versions we have type argument it is removed now and sometimes auto cast might not work at that time this cast will work

Hope this helps

Cheers

1 Like

Yes! It worked.

Thanks a lot :robot: :clap:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.