Search by Tags
  • 10 Jun 2022
  • 1 Minute to read
  • Dark
    Light

Search by Tags

  • Dark
    Light

Article Summary

After applying a tag to an object, the tag and its objects can be searched for at the Folder level.

Tags can be searched from the Studio, within a Designer Project, or with Flow logic.


Searching in the Studio

Tags appear in the Global Search Bar as a TagList object. From here, users can perform actions on the tag itself such as renaming, editing, deleting, etc the tag. 

Objects within the tag are not found this way. Instead, refer to the other methods.



Searching in a Designer Project

To find objects by their tag, search within their containing Designer Project. 

Select the filters  filter icon at the top right of the Designer View. Under the ALL FILTERS section, a tags dropdown menu appears once tags are present in the Designer Project.

Select one or more tags and then select APPLY to only show the objects within the Designer Project containing all selected tags.




Searching with a Flow

Tagged objects may also be searched for within a Flow for dynamic logic based on tag organization. 

This is accomplished with the AllTagsData object property that stores all applied tag values.

  1. Apply a tag to an object. Navigate to System > Security > Account. Right click on an account then select Add > Setup > Manage Tags and either select a preexisting tag or enter a new one.

    If using an account without System folder access, create a Data Structure in a Designer Project such as an Entity.

  2. In a Designer Project, select create a Flow.
  3. In the Flow Designer, click SETUP INPUT DATA. 
  4. Enter a name and select the created Data Structure for the TYPE. Save and close the window.

  5. From the FAVORITE STEPS category of the Toolbox tab, add a Show Popup step and connect it to both the Start and End steps.   
  6. Select the Show Popup step to view its Properties tab. Change the Subject's mapping type to Constant "Tag Applied" and then map AccountData.AllTagsData to Message.

  7. Save the Flow, then if desired, close via X.

Debug

  1. From the Flow Designer click the Debug link on the top action bar.
  2. Select the Edit Icon and PICK the Account that contains the added Tag.
  3. Click START DEBUGGING.

    The AllTagsData property introduced the tags into the Flow as a String value and can then be defined as a later step's input.



Was this article helpful?