Previous Topic: hrefresh CommandNext Topic: hrefresh Post-Linked to Processes Use Cases


How hrefresh Selects Items

Based on the input that hrefresh receives from the CA Harvest SCM UDP, hrefresh determines which inventory option to use in the following sequence:

  1. Item listThe hrefresh command checks the input list for the [version] variable. The inventory is all items in the view of the specified state and specified view path. The inventory is equivalent to using the -il option.
  2. Package list—The hrefresh command checks the input list for the [package] variable. The inventory is all items that have versions in the list of packages and the specified view path. The inventory is equivalent to using the -pl option.
  3. Full view—The hrefresh command checks the input list for the [version] and [package] variables; if neither is found, the inventory is all items in the view of the specified state and view path. The inventory is equivalent to using the -iv option.