function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vanessa veronvanessa veron 

Trigger UPDATE CronTrigger

I can create a trigger to update the field value from my custom object after an update of the PreviousFireTime field into CronTrigger?
How can I do this?

Thank you
Best Answer chosen by vanessa veron
magicforce9magicforce9
Hi,

I'm afraid you can't.

In order to capture the change for the field "PreviousFireTime" on CronTrigger, you'll need to place a Trigger on CronTrigger which is not supported by salesforce.

Thanks

All Answers

vanessa veronvanessa veron
Somebody?
magicforce9magicforce9
Hi,

Can you explain your question more briefly..? If you are thinking of adding a Trigger on CronTrigger object, then You can't add a Trigger on that object as its not supported by Salesforce.

Thanks,
Mohammed
vanessa veronvanessa veron
Hi...
I have a custom object that I would like to change the value of field PREVIOUS_FIRE this my object, when the PreviousFireTime of CronTrigger value be changed.
How do I update the field from my custom object based on field CronTrigger?

Thank you
magicforce9magicforce9
Hi,

I'm afraid you can't.

In order to capture the change for the field "PreviousFireTime" on CronTrigger, you'll need to place a Trigger on CronTrigger which is not supported by salesforce.

Thanks
This was selected as the best answer