Remove Features
Type: removeFeatures
This handler removes features from a node that is part of the workflow's payload. This can be used to remove one or more features from your content instances as they flow through your workflow.
The config
for this handler is as follows:
{
"features": [{
"qname": "<feature qname>"
}]
}
Each of the features identified by qname
will be removed from the documents attached to the workflow payload. Here is an example configuration which assumes that two custom features are defined and removes them - custom:approved
and custom:emailed
.
{
"features": [{
"qname": "custom:approved",
}, {
"qname": "custom:emailed"
}]
}