Get Field Information- Get Fields for an Object

Get Field Information is a simple action that takes the name of an object (e.g. ‘Contact’) and returns information about all of its fields in a collection, including name, label, type, required. The data is returned in a collection of a custom datatype called a FieldDescriptor that can be manipulated declaratively in Flow. That means that you can use the Loop element to loop through the FieldDescriptors and get their information or filter them.

It also means that you can pass the entire collection of FieldDescriptors to a component that expects it, such as the Dual List Box component, which has the ability to take as an input datasource the FieldDescriptor. Here’s how that gets configured:

Install

Unmanaged 1.0 5/17/20

View Source

source

0 0 vote
Article Rating
Subscribe
Notify of
guest
2 Comments
Inline Feedbacks
View all comments
Adam White
Adam White
19 days ago

You could, in theory, use this in combination with ExecuteSOQL to collect a string of field names to pass into your SELECT statement.

How might one filter the results by record type? Version 3?