Is there an example of using this that works? I have done the following.
Registered in scriptframework.properties:
enRole.properties this is set to false as we don't always want it required:
If I use the example code listed in the documentation:
var list = ProcessLog.getJustificationByProcess(process.guid);
var justification = list.get(0);
I try a simple activity.auditEvent(justification) to verify it works, but it says in the error log "ProcessLog not found". Am I missing something here? Our goal is to display the entered justification so when a manager, etc does an approval they can view the justification entered.