I try to use Salesforce Tooling API or Metadata API to get Flow metadata information. I check follow salesforce documents:

https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_flow.htm https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_visual_workflow.htm

Both of document has a similar description:

Metadata: You can’t use Metadata API to access a flow installed from a managed package, unless the flow is a template.

Tooling: If the flow is part of a managed package this field will be Null. Metadata isn’t returned for flows in managed packages, unless the flows are templates.

I test in develop console please see follow image about result:

enter image description here

enter image description here

You can see two flow in managed package and not template can query out, but another flows in managed flow and is template can not query out. It looks not match document's description.

Please corrected me if I have some misunderstand and share your idea about these.

  • We're not necessarily the ones to ask. I'll ask the docs team about this. – sfdcfox Jan 22 at 4:31

Your Answer

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

Browse other questions tagged or ask your own question.