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
Dan NorfleetDan Norfleet 

Need daily process to read all cc orders that are in submitted status. If all items on the item are received, change status of cc order. What is best method for this process? Can this be accomplished with Process Builder / Flow? Dan

I am new to SalesForce.  Would like to know the best way to accomplish a task.  We have cc orders in status of 'Order Submitted' when all of the cc order items have been received.  Would like a one time daily process to read all cc orders that are in submitted status and if all items on the order have been received, change status of order to 'Received'.  Can Process Builder / Flow be used?  

Best Answer chosen by Dan Norfleet
Hi Dan,

As per my knowledge Batch Apex could be the best suit in this case. You can query required records may be created date = TODAY or Last Modified Date = TODAY and then according to your logic update Order redords. And schedule your batch class daily EOD your time.

Hope this will help you. Please mark as best answer if helped.