Official Plugins (Kuzzle v2.x)
Workflows v1.x
2

This plugin is part of the Kuzzle Enterprise Plan. If you are interested, please contact us.

run #

This method must be implemented in order to validate the predicate.

Copied to clipboard!
abstract run (workflowContext: WorkflowContext, object: DynamicObject, args: JSONObject): Promise<boolean>

Arguments Type Description
workflowContext
WorkflowContext
WorkflowContext instance
object
DynamicObject
Workflow or Rule that triggered the Predicate
args
JSONObject
Additional arguments defined in the configuration

Returns #

Returns a promise resolving to a boolean value.