Salesforce Fact #945 | PathAssistant Sobject

There is an Sobject 'PathAssistant' in the Tooling API which we can query to get the list of all paths in the org.

Few things to note:

1) If we include the FullName field in the query, we need to make sure the query returns 1 row else we encounter an error.

2) SobjectProcessField denotes the picklist field for which the path has been setup.

Reference: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_pathassistant.htm

Comments

Popular posts from this blog