Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

What is a Property Tag?

A Property Tag can be used to group a set of Properties in the Property Store and build relations between them.

A Tag has a name unique within the namespace. Additionally, an optional value can be set which can contain additional metadata about the relation.

Example: Lets assume you store job applications (CVs, candidate information, …) in the property store and you would like to mark all job applications those candidates are selected to be invited for an interview, you could set the tag invite on each of these properties with an optional value of true or false. Later, you can easily find all properties which are selected for an interview and those, a rejection letter must be send.

Create a Tag

In order to create a Tag and add it to a Property, you can use the command property.tag.put.

Here is an example:

pipeline:
  - property.tag.put:
      path: global/app/jobs/applicant/1
      name: invite
      value: true

For more information see: https://pipeforce.github.io/docs/api/commands#propertytagput-v1

List Tags

To list all tags on a given property, you can use the command property.tag.list.

Here is an example:

pipeline:
  - property.tag.list:
      path: global/app/jobs/applicant/1

Fore more information see: https://pipeforce.github.io/docs/api/commands#propertytaglist-v1

  • No labels