Hi Community,
I have created one Process parameter of type "FILE" as follows:
I am trying to assign the value in a script task. The script task contains the following code:
var recordId = Get<Guid>("FileID");
IFileFactory fileFactory = UserConnection.GetFileFactory();
var fileLocator = new EntityFileLocator("ContactFile", recordId);
IFile file = fileFactory.Get(fileLocator);
Set("FILE",file);
return true;
After running the process I am getting the following error,
Request a help here to understand what am I doing wrong.
Thanks,
Sourav Kumar Samal