You need to sign in to do that
Don't have an account?
ForceRookie
How to set task Due Date in Apex Trigger?
I have this Custom Task object.. Help me to calculate the Due Date based on Dependency’s Days After value.
This is the example..
this is manual insert and it automatically create a Due Date.
and it’s complicated to do programmatically.
This is the example..
this is manual insert and it automatically create a Due Date.
and it’s complicated to do programmatically.
DATEVALUE($System.OriginDateTime) + days_after__c
Try this code:
I hope you find this solution helpful. If it does, pleas mark as Best Answer to help others too.
Regards.