Greetings,
I have developed a simple workflow reading a Form, then creating a named folder, it is returning an interger, but expecting an array. Unable to insert an image of the error or workflow??
The error:
The execution of template action Apply_to_each failed: the result of the evaluation of 'foreach' expression @variables('varFolders') is of type 'Integer'. The result must be a valid array.
I changed the type from integer to string, still getting an error?
The variable 'varFolders' of type 'String' cannot be initialized or updated with value '57' of type 'Integer'. The variable 'varFolders' only supports values of types 'String'.
The aim is to use the variable of ID, to create a unique naming/number for the folders.
I would appreciate any assistance.