Data (like numbers, text, or date) or instances of a type (say, Type: Customer), are stored as values in Boomi Flow. Values, once created, are available to be used by all flows within a tenant, making you more efficient and saving time.
A single Boomi Flow tenant can have hundreds of values, shared between hundreds or even thousands of flows. It is important you follow a naming convention, to make it easy to find specific values in the future, to understand what a value contains, and also to avoid naming collisions.
We recommend the following best practices:
- Use descriptive names, that include a hint as to what the value contains, or what its intended use is.
- Stick to a single naming convention.
- For values that will not change during the lifecycle of flows, include the content category (or what kind of value it is) in the name.
Example 1: For a fixed value that will be used to set the status of a task in Salesforce, set the value name as Status: In Progress. This will help fellow flow builders recognize that this value is a status of some kind. If the fixed value is later used with an object or list, the category is usually the same as the property that will be assigned. For example, Task Object in Salesforce has a property/field called Status.
Example 2: If you have a value that will store validation alerts, call the Value Validation Alert. For subsequent values that will hold the various alert messages, use notation similar to this: Validation Alert:Payment Required, and so on.
- Include a short summary in the value name.
Example 1: If you are creating a value that will store the body of an email message, call the value Email Body:Registration Complete Notification.
- When creating the first value for the type, give it the same name as the type. An object value of Type: Contact, should be called Contact, a list value of Type: Contact should be called Contacts, and so on.
- If you have more values of the same type, use a notation that denotes a category.
Example 1: An object value of Type: Contact that will hold information about the spouse of a Contact, should be called Contact:Spouse. A list value that contains information about the dependents of a Contact, should be called Contacts:Marketing.
When building Salesforce flows, you may need to create picklists. To do this, you create a type called ‘Picklist’ or ‘Dropdown’. This type is re-used for all picklists; so the naming convention is a little different.
- For the list value holding the picklist data, use the notation Type:category.
Example 1: A list value, holding a list of countries, is named Picklist:Countries.
- For the object value holding the selected picklist entry, use the notation Type:category:selected purpose.
Example 1: If you select a country from Picklist:Countries, the object value holding the selection is called Picklist:Country:Selected Primary Residence.
- If there are any fixed Values related to these selections (for example, you have a decision based on a selected picklist entry), use the notation Category:Content.
Example 1: Country:USA (This assumes that your picklist or dropdown type contains the standard Label/Value properties (as you find with HTML5 options). If the type has more properties, modify the notation to Category.Property:content. For example, if you are categorizing countries, the value would be named Country.Category:North America.
Check out the glossary for a definition of terms and key concepts that appear in the Boomi Flow website, Drawing Tool, technical documentation, blogs, and marketing communications.