Hide Attachment Section for Worker if Manager uses 'Return to Worker' function
Summary
Hide Attachment Section for Worker if Manager uses 'Return to Worker' functionContent
I have a requirement to hide the attachment section from the worker while the performance document is in manager evaluation step. I was able to do this using expression language, however after testing realized that if the manager adds an attachment and then uses the 'Return Document to Worker' functionality, the section becomes visible to the worker again.
- The concern is that a manager will add performance feedback in an attachment and it becomes visible to the worker before performance conversations happen.
EL used to hide attachment section from the worker during manager evaluation step: #{(pageFlowScope.pStatusCode == 'COMP') || !(pageFlowScope.pRoleTypeCode == 'WORKER' and pageFlowScope.pTaskCode == 'WSEVAL' and pageFlowScope.pReadOnly == true)}
0