Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Done
-
Release 5.5.2, Release 5.6.2
-
None
Description
Hi,
i want to attach a file after i changed the status.
Within this file (PDF) i want to display the approvals and this works when i use the normal export way.
But when i want to create and attach the file within a workflow, the approvals section is empty.
Could you help me to fix this issue ?
BR,
Christian
This is the docx.
#{for approvals}
Entscheidung
#{if (%{'${Approvals[n].Final Decision}'.equals('approved')})}
Genehmigt
#{end}
#{if (%{'${Approvals[n].Final Decision}'.equals('rejected')})}
Abgelehnt
#{end}
Datum Anfrage
${dateformat("dd.MM.yyyy HH:mm:ss"):Approvals[n].Created Date}
Datum Entscheidung
${dateformat("dd.MM.yyyy HH:mm:ss"):Approvals[n].Completed Date}
#{for m=Approvals[n].UsersApprovalsCount}
Entscheider
${Approvals[n].UsersApprovals[m].Approver Name}
Entscheidung
#{if (%{'${Approvals[n].Final Decision}'.equals('approved')})}
Genehmigt
#{end}
#{if (%{'${Approvals[n].Final Decision}'.equals('rejected')})}
Abgelehnt
#{end}
#{end}
#{end}
ITS-11880_Genehmigung is the attached file from the workflow post function and ITS-11880 is the normal export.