I have a pre-condition in a process that I am trying to compare the Current User against the UPN in a filed on the request, to return a True or False value. below is the calculation code:
static def GetAttributeValue(Request):
Value = 'False'
if Request.GetCurrentUserName() == Request._FolderPaths._ManagerUPN: Value = 'True'
I have tested this calculation on a temp attribute on the request and it returns a true and false value exactly as I need, yet it doesn't seem to operate when part of a process? I have the condition set to:
Value Type Specific Value
I am not sure why this is not working?