Get_Catalog_API 0 0 getCatalogs getCatalogs Catalog_API CurrentTransaction getCatalogs 0 true 64.0 false Sets the FilteredCatalogs record collection variable to the records from the Catalogs from Get Catalogs variable. SetCatalogList 0 0 FilteredCatalogs Assign Catalog_API isCatalogListEmpty Sets CatalogQuantity to the number of catalogs in the Catalogs from getProductCatalogs record collection. SetCatalogQuantity 0 0 CatalogQuantity AssignCount FilteredCatalogs IsSingleCatalog Sets the FilteredCatalogs record collection variable to records from the Catalogs from Get Default Catalogs variable. SetDefaultCatalog 0 0 FilteredCatalogs Assign GetDefaultCatalog isCatalogListEmpty Sets the selectedCatalog record variable to the current item in the loop. SetSingleCatalogVariable 0 0 selectedCatalog Assign RunActionForCatalog RunActionForCatalog Determines if a default catalog ID was found by checking if the defaultCatalogId variable contains a value. HaveDefaultCatalogId 0 0 GetDefaultCatalog Yes DoesNotHaveDefaultCatalogId or defaultCatalog IsNull true defaultCatalog IsBlank true Get_Catalog_API Determines whether catalogs were found by checking if the Catalogs from getProductCatalogs collection variable contains records. isCatalogListEmpty 0 0 noCatalogPresentScreen Yes (Default) catalogListNotEmpty and FilteredCatalogs IsNull false FilteredCatalogs IsEmpty false SetCatalogQuantity Determines if a single catalog was found by checking if the CatalogQuantity value is 1. IsSingleCatalog 0 0 catalogListScreen No (Default) HasSingleCatalog and CatalogQuantity EqualTo 1.0 RunActionForCatalog Default Discover Products with Translations {!$Flow.CurrentDateTime} Runs an action for the catalog record in the record in Catalogs from getProductCatalogs record collection. RunActionForCatalog 0 0 FilteredCatalogs Asc SetSingleCatalogVariable productListView revenue_products__DiscoverProducts BuilderType LightningFlowBuilder CanvasMode AUTO_LAYOUT_CANVAS Flow Gets default catalog record with a catalog ID that matches defaultCatalogId variable. Stores the name, code, number of categories, and last modified date of the results in the Catalogs from Get Default Catalogs record collection variable. GetDefaultCatalog 0 0 false SetDefaultCatalog and Id EqualTo defaultCatalog false ProductCatalog Id Name Code NumberOfCategories LastModifiedDate Name Asc true Displays a list of all product catalogs for the user to select. catalogListScreen 0 0 true true true productListView pcDataTable T ProductCatalog flowruntime:datatable ComponentInstance label All Catalogs selectionMode SINGLE_SELECT minRowSelection 1.0 shouldDisplayLabel true tableData Catalog_API isShowSearchBar true maxRowSelection 1.0 columns [{"apiName":"Name","guid":"column-3ade","editable":false,"hasCustomHeaderLabel":false,"customHeaderLabel":"","wrapText":true,"order":0,"label":"Name","type":"text"},{"apiName":"Code","guid":"column-2a52","editable":false,"hasCustomHeaderLabel":false,"customHeaderLabel":"","wrapText":true,"order":1,"label":"Code","type":"text"},{"apiName":"NumberOfCategories","guid":"column-e1d4","editable":false,"hasCustomHeaderLabel":false,"customHeaderLabel":"","wrapText":true,"order":2,"label":"Number of Categories","type":"customRichText"},{"apiName":"LastModifiedDate","guid":"column-684c","editable":false,"hasCustomHeaderLabel":false,"customHeaderLabel":"","wrapText":true,"order":3,"label":"Last Modified Date","type":"customDateTime"}] UseStoredValues true selectedCatalog firstSelectedRow top 12 true false If no catalogs are returned by Get Catalogs, you must create a catalog before using this flow noCatalogPresentScreen 0 0 true true true noCatalogErrorMessage <p><br></p><p><strong style="font-size: 16px;background-color: rgb(255, 255, 255);">Unable to browse catalogs</strong></p><p><br></p> DisplayText top 12 noCatalogErrorDescription <p><span style="background-color: rgb(255, 255, 255);">To use Browse Catalogs, choose or create a catalog to store the categories.</span></p><p><br></p> DisplayText top 12 Close true false Displays the list of products from the selected product catalog. productListView 0 0 true true true plpContainer runtime_revenue_products:prdLstContainer ComponentInstance catalogId selectedCatalog.Id recordId recordId catalogName selectedCatalog.Name objectApiName objectApiName groupId discoverProductsContext.groupId groupName discoverProductsContext.groupName ResetValues true true top 12 false false 0 0 HaveDefaultCatalogId Draft Catalog_API 0 0 SetCatalogList SObject true ProductCatalog 0 true Code Map Get_Catalog_API.resultCatalogList[$EachItem].catalogCode CatalogType Map Get_Catalog_API.resultCatalogList[$EachItem].catalogType Description Map Get_Catalog_API.resultCatalogList[$EachItem].description Id Map Get_Catalog_API.resultCatalogList[$EachItem].id NumberOfCategories Map Get_Catalog_API.resultCatalogList[$EachItem].numberOfCategories Name Map Get_Catalog_API.resultCatalogList[$EachItem].name Stores the number of catalogs in the Catalogs from getProductCatalogs record collection. CatalogQuantity Number false false false 0 Stores the ID of a default catalog record. defaultCatalog String false true false Additional context for the DiscoverProducts flow discoverProductsContext ProductConfig__DiscoverProductsContext Apex false true false FilteredAPICatalogs SObject true false false ProductCatalog Stores filtered catalog records. FilteredCatalogs SObject true false false ProductCatalog The object api name of the transaction record to display a product list for. objectApiName String false true false The record id which the flow is invoked from. For example: Quote Id. recordId String false true false Stores a catalog record. selectedCatalog SObject false false false ProductCatalog