Which IIQ version are you inquiring about?
identityiq 8.4
i need the bell notifications for the administrator and how to use the email template in debug pages
identityiq 8.4
i need the bell notifications for the administrator and how to use the email template in debug pages
Hi @MIDHUNKUMAR_A ,
You can achieve this by adding an additional step to send an email notification to the administrator. This step should be placed after the approval stage. To implement this, use the sendEmail
method and pass the appropriate emailTemplate
as a parameter.
<Step action="call:sendEmail" icon="Email" name="NotifyRequester" posX="1177" posY="355">
<Arg name="template" value="EmailTemplate Name"/>
<Arg name="identityName" value="ref:identityName"/>
<Arg name="cc"/>
<Arg name="requestee" value="ref:identityName"/>
<Arg name="to" value="admin email"/>
<Transition to="UpdateFinalStatus"/>
</step>
is there any step by step thing which can be followed
hi @MIDHUNKUMAR_A You can also achieve this in IIQ by combining a custom QuickLink, a workflow, and email templates. Here’s a high-level approach that worked for me:
<Workflow name="CustomQuickLinkWorkflow">
<Step name="Start" next="Approval"/>
<Step name="Approval" type="approval" next="CheckApproval">
<Approvers>
<Identity name="spadmin"/> <!-- or use a role/group -->
</Approvers>
<EmailTemplate>approvalNotification</EmailTemplate>
</Step>
<Step name="CheckApproval" next="Approved" reject="Rejected">
<Script>
<![CDATA[
if (approvalResult == "Approved") return "Approved";
else return "Rejected";
]]>
</Script>
</Step>
<Step name="Approved">
<EmailTemplate>approvedNotification</EmailTemplate>
</Step>
<Step name="Rejected">
<EmailTemplate>rejectedNotification</EmailTemplate>
</Step>
</Workflow>
<EmailTemplate name="approvalNotification">
<To>${approver.email}</To>
<Subject>Approval Needed</Subject>
<Body>A new request has been submitted and needs your approval.</Body>
</EmailTemplate>
<QuickLink name="CustomRequest" workflow="CustomQuickLinkWorkflow" ... />