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.
Sometimes a Tag is also referred to as a Label. Both concepts are the same in PIPEFORCE.
A Tag has a name
and an optional value
. This tag can then be assigned to one or more properties. Later you can filter for all properties having this certain tag or list all tags of a given property.
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 for.
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
Add Comment