and more in a single search tool across platforms. Read the announcement here. |
03/27/2024 08:23 AM - last edited on 03/28/2024 07:02 AM by Dave
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}
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.]
Solved! Go to Solution.
03/28/2024 05:43 PM - edited 03/28/2024 05:45 PM
Hi @Diwakar ,
Greetings,
Please refer to below forum post where the groovy expression to extract endpoint owner.
For more information on binding variables please refer to below documentation link
Thanks,
03/29/2024 01:52 AM
@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}
04/01/2024 06:43 PM
As per workflow screenshot "Owner" field is selected that is manager of user Please confirm
04/02/2024 12:01 AM
@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.
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.
04/04/2024 07:41 AM
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.
04/17/2024 06:54 AM