Error "Could not cast from User to User."
I have in my Record Types two fields, Created By and Modified By. Both of those data types are set to user.

They are also linked to the Appian User.

I have a Process Model kicked off by a Portal. I would like to get the initiator of the process to be saved into one of these two fields. I have used:
- pp!initiator - From the Process Properties
- pv!processUser - This is a process variable of User type that I created by saving the pp!initiator to pv!processUser
- touser(pp!initiator)
- touser{pv!processUser)
- "PMSO_ServiceAccount) - the text value of the portal User Name for Service Account. I verified that the User Name does indeed exist and is the account that runs the portal.
- touser("PMSO_ServiceAccount")
In all of these cases, I got the process error (Could not cast from User to User. Details: CastInvalid) (Data Outputs)!!! This works in all other areas of the application, just not in the process model kicked off by the Portal.
