Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How to trigger email notification to endpoint owner for CPAM endpoints

Diwakar
Regular Contributor
Regular Contributor

Hi, 

We have onboarded few servers to the CPAM as endpoint and configured approval workflow for endpoint owners, approval workflow to endpoint owners is working but email notification is not triggering to endpoint owners.

We have tried below binding variables for endpoint owners to get email notification triggered but none of them worked. Please help to fix the issue.

${task?.endpoint?.getOwnersEmail()} 

${task?.endpoint?.ownerkey}

task.endpoint.ownerkey.email

${owner.email}

${owner}

image (23).png

We have configured approval workflow for one of the windows server onboarded to CPAM as endpoint. In approval workflow only we attached the approver, requester, approve and reject email template.

Approval workflow is not getting triggered for privileged session when both requestor and approver is the same person.

Can you please suggest what could be the issue and how to fix the same. Attaching workflow screenshot.

[This post has been edited by a Moderator to merge two posts.]

6 REPLIES 6

pruthvi_t
Saviynt Employee
Saviynt Employee

Hi @Diwakar ,

Greetings,

Please refer to below forum post where the groovy expression to extract endpoint owner.

https://forums.saviynt.com/t5/identity-governance/how-can-i-use-endpoint-owner-in-a-workflow-as-requ...

For more information on binding variables please refer to below documentation link

https://docs.saviyntcloud.com/bundle/CPAM-Admin-Guide-v23x/page/Content/K-Request-Provision-Config/C...

Thanks,


Regards,
Pruthvi

Diwakar
Regular Contributor
Regular Contributor

@pruthvi_t I tried below variables to trigger mail to endpoint owner but none of them worked, Please suggest on how to trigger the approval notification to endpoint owner, what binding variable we used use in email template for the same.

${task?.endpoint?.getOwnersEmail()} 

${task?.endpoint?.ownerkey}

task.endpoint.ownerkey.email

${owner.email}

${owner}

As per workflow screenshot "Owner" field is selected that is manager of user Please confirm


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Diwakar
Regular Contributor
Regular Contributor

@rushikeshvartak No Rushi, its owner which we defined as the endpoint owner for a server which we onboarded as endpoint. Below is the screenshot for the same for your reference.

Diwakar_0-1712041078894.png

Workflow is triggering fine here to the owner which we mentioned in this endpoint however email is not getting triggered to approver(owner) which we defined as notification email template in approval workflow. 

Please suggest how to get the email notification triggered to endpoint owners in this current scenario.

Thanks,

Diwakar.

 

Diwakar
Regular Contributor
Regular Contributor

After some research and testing I found ${assignee.email} is the binding variable that can be used to trigger mail if endpoint owner/resource owner is set as the approver.

@Diwakar : Great. Please close the thread by marking the solution that worked so that it helps others who are in same situation


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.