Comments on approval email ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 08:07 AM
Hi All please help with this ..
I have a requested item that triggers a workflow.
In that workflow we trigger an approval request, but in the email that is received by the approver it says "comments :" with no information after that.
I want to populate that with some text from the requested item.
I see in the mail template that it is using sysapproval.description to print these comments, so i am trying to get text from a variable in the requested item, into the sysapproval.description field.
I managed to populate the description in the request by using a script in the workflow and i though that would then also populate the sysapproval.description, but it doesnt.
can someone please tell me how i can either get the description from the request into the approval email, or populate the sysapproval.description field from a script in the workflow ? (same result)
Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 02:09 AM
As suspected, i tried it and now an approval record is not even created !
Because this script area is used to set the approver.
This is the script i tried.
// Set the variable 'answer' to a comma-separated list of user ids and/or group ids or an array of user/group ids to add as approvers.
//
// For example:
// answer = [];
// answer.push('id1');
// answer.push('id2');
sysapproval.description = 'Business Justification : ' + current.variables.business_justification;
This all seems very silly to me.
How is the approver supposed to know what they are approving if we cant populate the comments section somehow ??!!
All i want is to have the business justification for the request, which is a variable on the RITM, to be included in the approval email so that the approver can see.
At the moment all they see is
comments :
Approve
Reject
Why is it so difficult to do this ??
I easily set the description on the request using script, and i just need a way to also set that same description on the approval description
Thank you for your help so far