03-25-2014 10:29 PM
03-25-2014 10:38 PM
03-31-2014 11:08 AM
01-18-2018 10:17 AM
Hi guys,
I am also trying to get the username of a user. I am using the identityservice in a scripttask, like this:
var idService = processEngine.getIdentityService();
var keys = idService.getUserInfoKeys(person);
However, the 'var keys' is empty. The 'person' variable should be the userId.
I got this userId like this:
var person = execution.getVariable('personField');
Where personField is a formField where I can select a single person. The userId is something like '2002' in my case. Is this correct, or do I maybe have a formFieldId or something?
Best regards,
Martijn
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.