You need to sign in to do that
Don't have an account?
andy_hudson
Apex code for Alerts and Reminders
Hey all
I am looking to write some Apex code for a task manager app that I am building that allows the user to set a reminder and alert for the completiion of their task. I understand I want to use:
IsReminderSet
ReminderDateTime
I'm not very good at code though and not sure how I would write the code to do what I want to do, can anyone help please?!
Many thanks
Andy
Hi,
here is the code example,
Please set a user Id in WhoId.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, Related To ID: id value of incorrect type: 0054D000000TNxfQAG: [WhatId]
Error is in expression '{!createTask}' in component <apex:commandButton> in page investmentcontactpersonreminder: Class.testtask.createTask: line 13, column 1