You need to sign in to do that
Don't have an account?
MayankAdm
All Recursive task getting deleted through the Apex Trigger
Hi Everyone,
We have a usecase in which we have to delete the Not Started task under the Account object with simple criteria and under the account number of recursive task getting created through the process builder at the time of account creation.
Problem is those recursive task which wont be come under the deletion criteria that also getting deleted but if we create normal task that wont be effected.
I tried different way to handle this sitution like removing the recurrence flag in the task but that wont allow in update operation.
t.RecurrenceStartDateOnly = Date.today().addDays(- 1);
t.RecurrenceEndDateOnly = Date.today();
Please help me if anyone face this situation.
Thanks in Advance !!
We have a usecase in which we have to delete the Not Started task under the Account object with simple criteria and under the account number of recursive task getting created through the process builder at the time of account creation.
Problem is those recursive task which wont be come under the deletion criteria that also getting deleted but if we create normal task that wont be effected.
I tried different way to handle this sitution like removing the recurrence flag in the task but that wont allow in update operation.
t.RecurrenceStartDateOnly = Date.today().addDays(- 1);
t.RecurrenceEndDateOnly = Date.today();
Please help me if anyone face this situation.
Thanks in Advance !!