1

I have set up Business Hours in my org. A field called BusinessHours appears in the Case Standard field List. However as soon as I try to query using workbench, it throws an error

select BusinessHours,Id from case

INVALID_FIELD: select BusinessHours,Id from case

Can anyone tell me where am I going wrong?

3

If you look at the documentation on Case, you will see that the actual field API Name is BusinessHoursId:

SELECT BusinessHoursId FROM Case

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.