I am using the bulk actions feature in workspaces, which returns the created user as system. To get around this i have added another field of current user, that the person completing the action selects their own name. This has been added to the query so if its a system created entry then the current user value is used for audits.
Is there a way to get the system to automatically select the current user in this field? I can then Hide it on the window.
I am aware of the GetCurrentUser and GetObjectByAttribute functions so I have created a new linked object to user attribute in the object and saved it as a before save calculation as follows:
TheUserName = _TaskReceiveItem.GetCurrentUser()
TheActualName = _TaskReceiveItem.GetObjectByAttribute("System.User", "Name", TheUserName)
With the dependancy of the _TaskReceiveItem
This is on Request tasks object
After an IISRESET the current user field is still blank.
Where am i going wrong? My coding knowledge is pretty basic.