Actions
Defect #3428
closedApproval workflows don't support approval of roles on Account
Start date:
08/17/2023
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
Affected workflows:
- extrasApproveRoleByContractManager.bpmn20.xml
- extrasApproveRoleByManagerAndGuarantees.bpmn20.xml
- extrasApproveRoleByManagerScriptAndGuarantee.bpmn20.xml
- set the workflow as approval workflow for some criticality
- request for role with this criticality - click add, select Account tab and select a specific account and click "Set"
- Click "Submit a request"
- This error appears:
2023-08-17 13:13:12.679 WARN 1734737703 --- [http-nio-127.0.0.1-8080-exec-8] o.a.e.i.b.b.ScriptTaskActivityBehavior.execute : Exception while executing scripttask8 : problem evaluating script: javax.scri pt.ScriptException: java.lang.NullPointerException: Cannot invoke method setState() on null object 2023-08-17 13:13:12.699 WARN 1734737723 --- [http-nio-127.0.0.1-8080-exec-8] o.a.e.i.b.b.ScriptTaskActivityBehavior.execute : Exception while executing scripttask8 : problem evaluating script: javax.scri pt.ScriptException: java.lang.NullPointerException: Cannot invoke method setState() on null object 2023-08-17 13:13:12.699 ERROR 1734737723 --- [http-nio-127.0.0.1-8080-exec-8] o.a.e.i.interceptor.CommandContext.exception : masked exception in command context. for root cause, see below as it will be re thrown later. org.activiti.engine.ActivitiException: problem evaluating script: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method setState() on null object at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:89)
Actions