Project

General

Profile

Actions

Defect #2118

closed

Approving by manager not work properly on some environment (Groovy calls wrong method)

Added by Vít Švanda almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondrej Husník
Category:
Workflow
Target version:
Start date:
03/12/2020
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

This happens when the criticality of the role for manager approval is set. Standard wf approval is OK.

…
org.activiti.engine.ActivitiException: Could not execute service task expression
…
Caused by: org.activiti.engine.ActivitiException: Unknown method used in expression: Approve role “{{${roleService.get(conceptRole.role).name}}}” assignment by manager for “{{${identityService.getNiceLabel(identityService.get(applicantIdentifier, null))}}}”
    at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:54)
    at org.activiti.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior.execute(ServiceTaskExpressionActivityBehavior.java:69)
    ... 158 common frames omitted
Caused by: javax.el.MethodNotFoundException: Method not found: class eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmRoleService$$EnhancerBySpringCGLIB$$67c35363.get(java.util.UUID)
Actions

Also available in: Atom PDF