It's all about the answers!

Ask a question

Can I show the list of Approvers in the Approval email in RTC?


Steve Mills (56) | asked Feb 27 '17, 11:10 a.m.

RTC 5.0.2 (iFix15).  Our user community wants the RTC Approval email to show the list of approvers in the body of the Approval email. So they can see who all is on the approval list for the approval.

I have changed the Approval email template for new customized attributes, etc, and have looked on this forum for a couple of hours but can not seem find how to return this data.

Similar to how the template returns ${approvalDescription} and ${ApprovalTitle}, I am looking for something like ${approvalApproverNames}, but have not been able to find a list of attributes or syntax that will work.

I am looking for the list of names for the current approval level.


Accepted answer


permanent link
Donald Nong (14.4k314) | answered Feb 27 '17, 7:23 p.m.

I believe the answer is no. The variables that you can use are listed here.
https://www.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.workitem.doc/topics/r_email_template_variables.html

And it appears that you cannot retrieve the approval information through ${workitem} either.
https://www.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.workitem.doc/topics/r_email_template_variable_types.html

Steve Mills selected this answer as the correct answer

One other answer



permanent link
Steve Mills (56) | answered Mar 01 '17, 8:17 a.m.

Thanks Don. 

I did figure out a way to do this.  We have a "follow up action" defined for this project area that implements server side plug-in java code. (If I really wanted to) I can define a customized attribute called something like "ListofApprovers" and have the server side plug in code update this attribute when the approvers are populated (We already build the approvers based on roles in another subsystem).

I could then simply display the "ListofApprovers" as it would be a workitem variable...

<td>#if(${workItem.ListofApprovers}) Approvals required by:</td>
<td>${workItem.ListofApprovers} #end</td>

I didn't want to have to go this route.


Comments
Donald Nong commented Mar 02 '17, 4:37 a.m.

Unless someone else can show us how to do it directly in the email template, you may just have to do it the hard way.

Your answer


Register or to post your answer.