Cannot be serialized error

Hi all,

Here is my flow i keep getting this error when i run it, but if i run it from the assign activity it works. Do i need to do it with the API to stop getting this?




image
image

@trogers

Please change the scope of the variable you are having issue with…unserializable variables cannot be used in same scope as persitent activities

Cheers

1 Like

Hi @trogers

Take a look in Best Practice section

So as @Anil_G mentioned, you need change the scope of your unserializable variable like surrounding it with a sequence and change the scope to that sequence scope, for example

Studio - Orchestration Process (uipath.com)