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

User Manager Campaign does not send some of the mails

Naz_A
Regular Contributor
Regular Contributor

Hello everybody, 

we are implementing user manager campaign but sadly, the campaign does not send expiry e-mail templates nor reminders. Email templates are all the same and they don't have any dynamic values which can block the mail. 

Do you have any ideas why this happens? 

thanks!

29 REPLIES 29

rushikeshvartak
All-Star
All-Star

Does campaign expiry job trigger is scheduled ?

Did it worked in DEV ( considering all variables used are working )


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

No, I haven't configured a job since it wasn't written on the documentation. I am currently trying on DEV.

Below link for reference:

https://docs.saviyntcloud.com/bundle/SSM-Admin-v55x/page/Content/Chapter15-Campaigns-and-Certificati...

 

Campaign Expiry

Campaigns have an end date that apply to all the certifications within a campaign. When the end date reaches and the Expire Attestation based on End Date (ATTESTATIONEXPIREDJOB) job is run for the campaign, the campaign expires and all the certifications within the campaign also expire.

Available Actions on Overdue Campaigns- Certifications of a campaign are marked overdue (displayed as OverDue) if no action is taken for the campaign till it reaches the end date. However, overdue certifications can still be actioned by certifiers until the campaign expires.

Note

If the Expire Attestation based on End Date (ATTESTATIONEXPIREDJOB) job is run for campaigns, then the campaigns that have passed the end date and are in the overdue state are expired. After a campaign expires, certifiers cannot take any action on the certification of that campaign.

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

dgandhi
All-Star
All-Star

Are you running Campaign reminder and Campaign expiry jobs? Once the jobs runs the system should send email notification for reminders/expiry.

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

Should I schedule them? if yes for when? since we want to create more than one campaign and they might have different expiry dates.. 

Yes you can schedule it to run everyday and test the behavior in DEV environment.

Basically all the campaigns whose end date is less than current date will be expired after you run the job.

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

Campaign notification job is there, but still, it doesn't send the mails, furthermore I can't see the Expire Attestation based on End Date (ATTESTATIONEXPIREDJOB)  job. Is it something we create or it creates on its own as the notification job did?

Campaign Expiry job is OOTB and we dont need to create it , we just need to schedule the job.

If campaign reminder notifications are not send then please check logs and see what errors you get when you run the job.

 

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

CampaignExpiry job works, but reminder job hasn't been created and still does not send reminders, any ideas?

Please create and schedule Campaign Reminder job.

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

I did and it job goes in success, but still it doesn't send any mails.

Are you able to send any email from your environment? When you run the reminder job, did you check the logs, maybe there is some error in the email template and hence system is not sending. I would try with simple template in order to be sure that the functionality is working. Once simple template works, try with advance template with all binding variables.

Also make sure that certifier email id is present on the user profile in order to receive the email.

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

I use the same template also for start campaign and expiry, and with them it works. It is a simple template indeed. Now I've checked the logs and it doesn't say anything. 

Can you check below column for your certificate? Is it null or 1

dgandhi_0-1686142002568.png

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

Naz_A_1-1686142572325.png

select cert_name, accountqry, remindermailsent from certification c

this is what I see.. 

 

what is the output of remindersent?

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

I think you meant remindermailsent, it is blank and also accountqry which is the status is blank

Since the column is blank, email is not sent from Saviynt.

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

yes, how can I send the mail?

Can you paste screenshot of the job that you are running and also the status of the job

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Naz_A
Regular Contributor
Regular Contributor

Naz_A_0-1686147547591.png

here you go

Looks correct. This will need further troubleshooting. Please open Saviynt FD ticket.

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

DixshantValecha
Saviynt Employee
Saviynt Employee

If campaign reminder notifications/Mails are not send then please check logs and see what errors you get when you run the job.

I don't see any errors in the logs. 

SowmithriV
Regular Contributor
Regular Contributor

I'm facing the same issue too. Configured both the Expiry and Reminder Job and have verified that we do have some Campaigns that are expiring and waiting for reminders and yet on running the job, not receiving any emails. There is nothing in the logs too. Please let me know if you found a way to fix this. 

SowmithriV_0-1686297525287.png

 

Naz_A
Regular Contributor
Regular Contributor

How are your mail templates? do you have something dynamic in them? have you literally waited 24 hours and then run the jobs? 

-My problem was I wasn't waiting 24 hours to send them. 

My recommendations for you: 

-create a simple campaign that lasts 7 days, only for all of the notifications. and put 1 day after creation, 2 days after creation... all of the reminders for 6 days. 

- put simple email templates.(you can send it to your email, and don't put anything dynamic in the body)

-as soon as you create it schedule the reminder job one hour after creation: if you create the job at 11 am, schedule the job at 12 everyday.

give it a day and let us know! It worked for me like this!!

SowmithriV
Regular Contributor
Regular Contributor

In order to test this quickly, I created a campaign which ends today (06/09/23) and all the reminders are also placed with 1 day interval, just to make sure that they are all working at one shot. Refer the screenshots. I did all this around 8 PM IST yesterday and now it's the next day (06/09) in PST/IST/UTC. So I was under an impression that it would now trigger the reminders and the expiry email but unfortunately, it didn't.

SowmithriV_0-1686298999491.png

 



Naz_A
Regular Contributor
Regular Contributor

No you can't test it like this, 24 hours should pass because you put 1 day(24hours) after the creation.

Try like i've written above, you can do it also for 3 days to make the procedure faster, but never 1 or 2 days.

SowmithriV
Regular Contributor
Regular Contributor

Got it. It is literally one day from the time we create the job and the campaigns. Let me give this a try and let you know how this goes. Thank you for your inputs.