You need to sign in to do that
Don't have an account?
Varun Chaddha
How to access "Task Notifications Global" settings in APEX code?
As per the Winter 15 change: http://releasenotes.docs.salesforce.com/en-us/winter15/release-notes/rn_sales_activities_notifications_task_assignment.htm
User Organization can have this new option Turned ON, which will then remove the Send Notification checkbox from Task Layouts. But a new option is added to My Settings section for Enabling/Disabling Send Notification Emails for each Task assigned to user.
Now, can I detect if this Global Option is Turned ON or OFF from inside Apex code? Which field does hti value gets saved to, does anyone know?
Also, I've noticed that I could not even send a notification using "triggerUserEmail" = True in DmlOptions while inserting new Tasks, when this global Option is Turned ON, and with all users set to "Email me when new Task is added for him" = True. I thought it should always send email if that setting is true.
User Organization can have this new option Turned ON, which will then remove the Send Notification checkbox from Task Layouts. But a new option is added to My Settings section for Enabling/Disabling Send Notification Emails for each Task assigned to user.
Now, can I detect if this Global Option is Turned ON or OFF from inside Apex code? Which field does hti value gets saved to, does anyone know?
Also, I've noticed that I could not even send a notification using "triggerUserEmail" = True in DmlOptions while inserting new Tasks, when this global Option is Turned ON, and with all users set to "Email me when new Task is added for him" = True. I thought it should always send email if that setting is true.
Varun Chaddha
Isn't there any way documented somewhere which I can use to access these Global Settings in APEX code?