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

Using Sales Force Apex API, how do I create a Scheduled Workflow


Using Apex Api, I need to create a scheduled workflow programmatically. I downloaded Apex Api locally on my system but where exactly do I need to download the api so that I can call/ use those functions that are already defined in the API. Where do I write a script/ create a cron job. Do I write that in a class. I am clueless.

If somebody can tell me the steps that would be great.  Please let me know at the earliest.

I am very interested in this as well... I need to be able to create/edit/remove scheduled workflows programmatically.

So far, the only solution to this is Using CronKit from Linvio: