Which IIQ version are you inquiring about?
8.4
Hello professionals.
I have encountered problems when I try to display values in email template from the “provisionapprovalsubprocess” workflow.
Due to client’s requirement, I have added an interceptor script in the sub workflow of lcm workflow, which is “provisionapprovalsubprocess” workflow. The script will call to send an email on the second day since an workitem is pending for approval. The script to send email is similar as below:
// 2nd Day
ReminderConfig firstReminderConfig = new ReminderConfig();
firstReminderConfig.setEnabled(true);
firstReminderConfig.setEmailTemplateName("NameOfEmailTemplate");
The email can be delivered successfully, but some of the values from lcm provisioning workflow are not displaying in the email template.
I have added the arguements into the “provisionapprovalsubprocess” workflow but the values are still not displaying and they are completely empty.
e.g.
#if ( $approvalItem.requesterComments )
<p>Requester Comments: $approvalItem.requesterComments</p>
#end
<Argument name="approvalSet" type="ApprovalSet">
<Description>The ApprovalSet object contained in the work item.
</Description>
Please if anyone have idea about the issue and we can discuss together.