Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Need Information related to binding variables

Bhavya22
New Contributor
New Contributor

Hi all,

We have 2 applications SAP and AD here  For SAP the subject in the email template should be "FireFighter access has been granted" for SAP and for AD the subject should be "Emergency access has been granted"

In the existing template we have the subject line for both SAP and AD as FireFighter access has been granted" if(task?.tasktype == 34) print "FireFighter access has been granted for ${user.firstname} ${user.lastname}" to get both  SAP and AD what I need to mention?

Thanks,

Bhavya

4 REPLIES 4

Darshanjain
Saviynt Employee
Saviynt Employee

Hi @Bhavya22,

can you please let us know where you are using this email template, is it after task completed, that you can configure as per the endpoint task complete template.

 

Thanks

Darshan

 

Thanks

Darshan

Bhavya22_1-1727861506994.png

Yes, This email will trigger after the task completion.

I'm trying in this way

if(task?.tasktype == 34 and task?.endpoint in['TEST-SAP-ECC','TEST-SAP-CRM']) print "FireFighter access has been granted for ${user.firstname} ${user.lastname}"else if (task?.endpoint in['DEV-AD-SUL-PAM','DEV-AD-REBEL-PAM'])....

 

 

Bhavya22
New Contributor
New Contributor

I'm getting the following error

Bhavya22_0-1727932325867.png

 

Recreate email template


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.