How can I get the username and current date from a Workflow task into some process variables ?
I hope this is a really simple question (with a really simple answer) !
How can I capture the username of the person who completes and signs an Approval task as well as the current date & time, and use these to update the value of two process variables (of type string), that are then available to be used in a later step of the workflow to update some CAD file attributes before the files are promoted automatically when the workflow completes ?
I understand we could easily setup a process / task variable (of type string) that is set to be visible and required and use the display name to prompt the user for the correct information to input as well as the required format, but this would be vulnerable to human errors.
Surely the software 'knows' the identity of the user completing the task and can be asked to record the time that they do it, for example with some java code in the Complete Transition tab? If this needs to be done via some intermediate variable(s) to simply the conversion to dumb text strings, then that's just fine.
Best regards,
Nick Drought

