AnsweredAssumed Answered

No people api  in groovy scripttask - workaround?

Question asked by wurstgelee on Jan 8, 2014
Hi everyone!

The people API/root scope object is not available in groovy script tasks used in an activiti workflow.
This makes code (which is working in javascript) like
people.getPerson("username").properties.lastName
unavailable.

Is there any easy way to get this to work in groovy script tasks? Or is there some other code, which archieves the same? Do I simply have to make some imports to get this to work? And if so - which ones?

Most likely there is a simple soulution, but unfortunately I´m no developer and therefore completly clueless.

Can somebody please enlighten me? ;)

Outcomes