Listfilter is not allowed inside ForLoop

Hi Team ,


When i am filtering listing inside forloop , i am getting List is being iterated: filter is not allowed.


For reference I have attached an image for more details.

Thanks 

Hi Vivek,

It happens because you are referencing the same list in the ListFilter client action which is already been geeting iterated i.e is referred by the ForLoop element

Solution: Duplicate the List which is used in the ForLoop using the ListDuplicate Client action and refer the duplicated list in the ListFilter client action


Hope this helps you!


Regards,

Benjith Sam

Hi Benjith ,

You are correct , but i am not filtering record list  which is in forloop ,

You can see i am assigning one variable ,that variable i am using for filteration.


Vivek Patel wrote:

Hi Benjith ,

You are correct , but i am not filtering record list  which is in forloop ,

You can see i am assigning one variable ,that variable i am using for filteration.

Hi Vivek,

Sorry, I'm not able to understand it completely, If possible could you please share the .oml file, which only includes the shared logic.


Regards,

Benjith Sam