Retrieving Organization Metadata
Overview
In Flosum Cloud DevOps, a Retrieve job fetches the most recent version of your organization’s metadata: the components that make up a branch. Each Retrieve job fetches only the components that have changed since the last retrieval.
This metadata is retrieved automatically every hour to keep you up to date on changes. Even so, it’s recommended to manually retrieve metadata before committing or deploying a branch that uses this organization, so you’re working with the latest data.
With a manual retrieve, you can configure a declarative filter to retrieve only the components that match the filter. This reduces the time a Retrieve job takes when many unnecessary components have changed in the organization.
This guide explains how to manually retrieve metadata for an organization.
Retrieve Settings’ Excluded Components
If you have configured this organization’s Retrieve Settings to exclude any components from Retrieve jobs, excluded components are also left out of a manual retrieve, even when a Declarative Filter would normally include them. See the following article for more details about Retrieve Settings.
What is Metadata?
Read the following Salesforce article to learn more about what Salesforce metadata is and how it is used.
Retrieve Metadata
(Optional) Add Declarative Filter
Click the Declarative filter toggle.

Click the Select field dropdown menu.
Select the field to use for the filter condition.

Click the Select option dropdown menu.
Select the logic operation to use for the filter condition.

Enter a filter Value in the last filter box of the filter condition.

(Optional) Add Multiple Declarative Filters
You can add multiple declarative filter conditions and combine them in two ways:
Basic Logic
All filter conditions are combined with an AND operation, meaning all filter conditions must be met.
Custom Logic
You can combine filter conditions by defining your own logic using AND, OR, and () operations. Filter conditions are referenced by their row number. For example, 2 AND (1 OR 3) means that the filter is true if condition 2 is met and either condition 1 or condition 3 is met.
Click Add Filter to add another filter condition.

Complete the filter by following the instructions in the section above.

Repeat this process to add as many filter conditions as needed.
Determine how you want the filter conditions combined. See the table above for an explanation of the options. If Basic Logic is used, no other action is necessary.

Use Custom Logic
Select the Custom option to enable custom logic.

Enter your custom logic in the text box to the right of the dropdown menu.

Run Retrieve
Click Run once you have finished configuring the Retrieve job.

After starting the Retrieve job, you will be taken to the Activities tab, where you can view its status.

Retrieve Status
The Retrieve job can take several minutes to complete, depending on how many components it is retrieving. The job starts as Queued, then changes to In Progress once it begins working. Click the refresh button to update the job status.
For large Retrieve jobs, the status may show Partially Completed. This means some components have already been retrieved and are available to use while the job continues retrieving the rest in the background.
Wait for the job status to show Completed.
Last updated
Was this helpful?



