-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF58, 2021.15
-
Component/s: Workflow
-
Release Notes Summary:The Task marshaller supports workflow and node schemas with a prefix different from the schema name.
-
Tags:
-
Backlog priority:600
-
Upgrade notes:
-
Sprint:nxplatform #52
In the method TaskCompletionRequestJsonReader#getVariables, the workflow properties are written with this syntax
variable.put(property.getName().substring(schemaName.length() + 1), property.getValue());
as you can see, the key is based on the length of the workflow schema name, but the property name is built from the schema prefix. So if the schema name length is different from the schema prefix length, an incorrect key will be used and the Task widget in the UI won't be able to read the workflow properties.
A workaround has been suggested to use the same value for the schema name and prefix, but a fix would be a better long-term solution.
- Is referenced in