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

Compare with Current View Page History

« Previous Version 4 Next »

Set of rules (grouped by workflow event) to be executed sequentially for every given job being processed.

A workflow can be assigned to be executed on any seed

Rules


A workflow rule is any application or script to be executed as part of the workflow. They can be used to process the content or control flow of the jobs received in the workflow.

Rule Types

TypeDescription
ApplicationRules that reference an Aspire application, they contain the maven coordinates of the application and the properties to configure it.
TemplateRules created from a workflow template, contain the id of the template and the properties to configure it. The type of these rules matches the one from the referenced template (Custom, Application, etc)
CustomA custom groovy script rule, contains the script to execute.
FolderIs a type of template created to contain references to other rules.

Templates

Templates are predefined workflow rules, in general are groovy scripts for common job operations like adding or copying fields. The templates can be used by creating a rule that references it and including the required properties.


Workflow Events


A virtual set of rules to be executed sequentially that lives inside a workflow object, there are 7 different events possible, each event is triggered upon different stages within the lifespan of a document:

  • onScan
    • Executed for each document after it has been discovered (as soon as its parent document discovers it)
  • onAddUpdate
    • Executed once the document is identified to have one of the following actions based on its incremental state: add or update
  • onDelete
    • Executed once the document is identified to be deleted (action: delete)
  • onPublish
    • Executed after onAddUpdate or onDelete, this is the event when all common publishing rules should be placed regardless of the document action
  • onError
    • Executed if any stage within the connector framework or workflow rule fails while processing a job.
  • onIdentity
    • Executed for each identity extracted in an Identity crawl.
  • onIdentityError
    • Executed if any stage within the connector framework or workflow rule fails while processing an identity job.
  • No labels