+ Start a Discussion

[Urgent]Alternative for Time based workflow!!!!


In our organisation, we are trying to package our app. So we have inlcuded the components needed for packaging. But when uploading our package, we are getting the following error: "Workflow rules with Time Triggers cannot be uploaded to the AppExchange".
We found that time based workflows cannot be used when packaging. Is there any alternative to achieve the time based workflow? Please suggest.

Thanks in advcance,
you can use an Apex Batch Job (http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm) in conjunction with an Apex Scheduler (http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm): that is to say you will write and apex class that will elaborate records in batch (so you have to use a query that can load all the records that are in the same condition of your time based workflow) and that schedule will execute the batch job every hour (of at least once a day?).
This requires apex development skills.
Hope this helps
May the Force.com be with you!