Hi,
I need the api that triggers the achievement email template.
Thank you.
Hi,
I need the api that triggers the achievement email template.
Thank you.
Hi Satish Polampalli 3sides. By default, achievements are awarded based on rules in Administration > Rules. When an achievement is created/rewarded via the rule, it then calls the same supported APIs that are exposed by both REST and In-Process
As for the email that's sent, that's sent via the User Achievements notification, in Administration > Notifications. This notification is a platform-defined notification type which handles in-process user achievement events.
So if you want to manually trigger an achievement notification (and associated notification email), you can programmatically award an achievement using the same API that the rule uses, though this still may not be what you'd want to do. Can you share a bit more about what you're trying to achieve?
Hi Satish Polampalli 3sides. By default, achievements are awarded based on rules in Administration > Rules. When an achievement is created/rewarded via the rule, it then calls the same supported APIs that are exposed by both REST and In-Process
As for the email that's sent, that's sent via the User Achievements notification, in Administration > Notifications. This notification is a platform-defined notification type which handles in-process user achievement events.
So if you want to manually trigger an achievement notification (and associated notification email), you can programmatically award an achievement using the same API that the rule uses, though this still may not be what you'd want to do. Can you share a bit more about what you're trying to achieve?
Hi Michael.
Actually my aim is to send email notification to user when he gets a new Role.
As you replied to below conversation
need to create a plugin. But if i create a plugin it would send notification for each role when a user gets.
Since my idea is to trigger the achievement email manually and override the body and send it.
But i had solved the problem by creating a Rule (When User gets a new role with some name send an email).
This worked for me.
Thank you