Project

General

Profile

Actions

Defect #3428

closed

Approval workflows don't support approval of roles on Account

Added by Vladimír Kotýnek over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Urgent
Assignee:
Peter Štrunc
Target version:
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
How to reproduce:
  1. set the workflow as approval workflow for some criticality
  2. request for role with this criticality - click add, select Account tab and select a specific account and click "Set"
  3. Click "Submit a request"
  4. 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

Also available in: Atom PDF