Apex 23.1
I am working on a workflow approval app where i want to define the potential owners using an api that would return the list of potential owners.
The Doc only shows how to use sql query but i see there are other value types like function body or expression but does not document how these should be configured.
I want to write an api that will return a list of potential owners based on the environment the app is running (e.g. Prod vs Stage vs Dev).
Any help would be appreciated.