Actions
Feature #2801
openAdd readonly request description for subprocess tasks - approving by guarantee
Status:
New
Priority:
Normal
Assignee:
Vít Švanda
Category:
Workflow
Target version:
-
Start date:
05/11/2021
Due date:
% Done:
0%
Estimated time:
Owner:
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
Updated by Alena Peterová 7 months ago
- File approval_task.png approval_task.png added
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).
Actions