Feature #2801
open
Add readonly request description for subprocess tasks - approving by guarantee
Added by Ondřej Kopr over 3 years ago.
Updated over 1 year ago.
Description
Please add read only description of whole role request into subprocess tasks.
For example task detail for approving by guarantee will contain request's description.
Files
One way to do this is to add a new formProperty - applicantDescription - to the userTask in the approval workflows, see below:
<userTask id="approveByRoleGuaranteeA" name="Approve by role authorizer" activiti:candidateUsers="#{candidatesApproveGuarantee}" activiti:formKey="dynamicTaskRoleConceptDetail" activiti:skipExpression="#{skipApproving}">
<documentation>${processInstanceName}</documentation>
<extensionElements>
<activiti:formProperty id="applicantDescription" type="textArea" writable="false"></activiti:formProperty>
<activiti:formProperty id="disapprove" type="decision"></activiti:formProperty>
<activiti:formProperty id="approve" type="decision"></activiti:formProperty>
</extensionElements>
</userTask>
This will render the requester's note.
However, since version 12 (or 11?), the note is visible only for waiting tasks. When you display a task that was already solved, this new element is not displayed. In 10.8, such elements were visible always (at least those formProperties that we use in our custom workflow).
Also available in: Atom
PDF