Project

General

Profile

Actions

Defect #2813

closed

If automatic role creating is controlled by WF approving process, its rejection causes script failure

Added by Ondrej Husník over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondrej Husník
Category:
Workflow
Target version:
Start date:
05/14/2021
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Automatic role creation can be controlled by 'approve-role-by-guarantee-security' WF if proper criticality is set. Then when solver disapproves this task, an exception is thrown during the execution of the following WF scriptTask17.

2021-05-14 16:27:15.939  WARN 375335 --- [http-nio-8080-exec-11] o.a.e.i.b.b.ScriptTaskActivityBehavior.execute : Exception while executing scripttask17 : problem evaluating script: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: conceptRole for class: Script6
2021-05-14 16:27:15.952 ERROR 375348 --- [http-nio-8080-exec-11] o.a.e.i.interceptor.CommandContext.logException : Error while closing command context
org.activiti.engine.ActivitiException: problem evaluating script: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: conceptRole for class: Script6
    at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:89)
    at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:73)
    at org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior.execute(ScriptTaskActivityBehavior.java:76)
    at org.activiti.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:180)
    at org.activiti.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:131)
    at org.activiti.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:89)
    at org.activiti.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:55)
Actions

Also available in: Atom PDF