0

Fetch Package

  • updated 2 yrs ago

Description

This part allows you to retrieve the details of an installed package. You can use it to determine if a particular package is installed or to return a list of packages with certain attribute values; for example, all packages with the status equal to active. With this part the system returns the following attributes:

  • Name
  • Type (standalone, framework, framework_based)
  • Status (active, inactive)
  • Version
  • Runtime (<empty> or ‘system’)
  • Stamp (published time stamp)
  • Project-settings
  • Project_guid (project id)
  • Category

Node Type: This part is available in process nodes in the Misc menu.

Used With: This function can be used with all framework types.

Editor Fields

The Fetch Package part has the following editor fields.

Field Name Description/Use Type/Options Optional/Mandatory
Query with Based on this selection the part returns the package details of a particular package or of those packages that match the query. Dropdown Mandatory
Package-name This is the name of the package. The system displays this field if you select Package name for the Query with option. Text Mandatory
XPath Query This is the xpath query used to filter the packages. The system displays this field if you select XPath query for the Query with option.

To return all active packages based on the Assessment Framework you would use the following syntax: 

/status[_.this == 'active']/../settings[framework=='AssessmentFramework']
Text Mandatory
Data-object This is the name under which the system stores the package details. Text Mandatory
Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 2 yrs agoLast active
  • 32Views
  • 2 Following

Home