customfield

Get user custom information with Groovy Script

Hello everyone.

I have created 2 custom user fields to enter your document and start date . This data will be used to automate a part of the process.

I have not been able to obtain the data, the closest I was to achieving it was using this code:

List customUserInfoList = apiAccessor.getIdentityAPI().getCustomUserInfo(processInitiator.id, 0, 100);

for (var in customUserInfoList) {
logger.info("Custom Data: " + var.properties.toString())
}

LOG:

Notifications