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

Email template import job name not printing the correct name

JustSalva
Regular Contributor
Regular Contributor

Hi all,

I'm observing a strange behavior of the import job binding ${importjob.jobname} used in the following email template:

Dear Administrator,
Please note that the following import job has failed.

System Name: ${importjob?.systemName}
Connection Name: ${connection?.connectionname}
Job Name: ${importjob?.jobname}
Failure Reason: ${importjob.response}
Job Start Date: ${importjob.jobStartDate}
Job End Date: ${importjob.jobEndDate}

Please login to Saviynt to check for more details.

Best Regards,
Saviynt job monitor

the value is always populated with "SapImportJob" even though the involved job is different (example below, the actual job is an application data import job)

JustSalva_1-1658477069746.png

 

JustSalva_0-1658476961660.png

How can I print the correct job name?

Regards,

 

Matteo

 

2 REPLIES 2

Sivagami
Valued Contributor
Valued Contributor

@JustSalva - I believe you are looking to print the trigger name which is CUG1DOMAccountImport as per your snip. 

Try ${importlogs} in the template which would print all the details like Job Name, Job Trigger Name, Job Status, Failure Reason, Connection Name, Security System, etc., to just name a few. 

${importjob.jobname} prints the internal name Job Attribute Name column that you see in UI. For Example: SapImportJob is the internal name for Job Type - Application Data Import (Single Threaded) 

Hope this helps!

-Siva

JustSalva
Regular Contributor
Regular Contributor

Yes, it's definitely what I was searching for, thank you!