Overview
The bean API call bean.getPropString("workitemName") returns the WorksStep label with Aurea Process 2020 R1 when bpmportal.workitem.name.label is set to true in the bpmportal.conf file in the SBM_HOME\conf directory.
This behaviour differs from Aurea Process 2015 SP1 where the call bean.getPropString("workitemName") always returned the WorkStep name.
Solution
The parameter bpmportal.workitem.name.label was added in a recent version of Aurea Process to provide the WorkStep label instead of the WorkStep name when this parameter is set to true. By default bpmportal.workitem.name.label is set to true in Aurea Process 2020 R1.
Change the parameter bpmportal.workitem.name.label as shown below in bpmportal.conf file located under SBM_HOME\conf to have the WorkStep name returned by the bean.getPropString("workitemName") call.
Change from:
bpmportal.workitem.name.label=true
Change to:
bpmportal.workitem.name.label=false
Note: You need to restart BPM Portal Server for changes to take effect.
<supportagent>
Support Agent Note:
The engineering ticket SBM-68561 was opened to have the behaviour of the call bean.getPropString("workitemName") return the WorkStep Name even if bpmportal.workitem.name.label is set to true, but has not been resolved.
</supportagent>