Community & FAQ

Ask a Question
Back to All

How to schedule hirerachy process using SOQL query?

I am using q query "[SELECT Id FROM order where type ='XYX']". It is throwing an error

The SOQL Query must be in the format of [SELECT...FROM...WHERE...] sentence, and, cannot contain the "ORDER BY", "LIMIT", "GROUP BY", "HAVING", and, "OFFSET", clauses

Can you please let me know the exact syntax of SOQL query to be used to schedule the jobs.

Thanks