Hi All, We are unable to initialize the variable inside the apply to each action getting error "InvalidVariableInitialization". Please help us so that we can create the flow.
Please find the attached flow.
Thanks in advance.

Hi All, We are unable to initialize the variable inside the apply to each action getting error "InvalidVariableInitialization". Please help us so that we can create the flow.
Please find the attached flow.
Thanks in advance.
Hi @SumitSati,
Variable initialization are a way to declare them, that can't be done inside a loop, place it right after trigger. Inside loop you'll be able to set it using "set variable", "Increment variable" or "append to variable".
If I have answered your question, please Accept the post as solution.
If you like my response, please Thumbs Up.