The Attivio Intelligence Engine (AIE) includes a set of default workflows that process content, queries, and responses. A workflow is collection of ordered components that serve some kind of business logic.
Use the AIE Administrator to modify workflows!
View incoming links.
A workflow that extracted entities, title cased the extracted entities and then classified a document based on the discovered entities could be thought of as follows:
The above example is a very simplistic workflow. Complex workflows can have many more stages, complex routing rules and can call into and be called by other workflows in order to create the necessary business logic for an AIE application.
Workflows are defined in AIE configuration files as follows:
Elements and sub-elements for workflows are related as follows:
The <workflows> element contains one or more <workflow> elements. The <workflow> sub-elements are a series of data-processing components that share the following characteristics:
Describe what the workflow does here. The AIE Administrator will show the description when hovering over the workflow name.
Component that returns a transformed version of its input and generates status messages. During execution, AIE automatically forwards status messages from the documentTransformer to a service designated as the documentResultHandler. Typically, documentTransformers process inputs asynchronously. As a result, the message originator in the workflow does not need to wait for workflow results. May only appear in
Component that returns a transformed version of its input but no status messages. Because queryTransformers are not expected to provide informational status messages, use them with synchronous clients only. May only appear in
Component that returns a transformed version of its input but no status messages. Because responseTransformers are not expected to provide informational status messages, use them with synchronous clients only. May only appear in
Generic component that is capable of processing any type of message. Can have arbitrary side effects. May appear in any workflow type.
Component used to transfer processing to another workflow. The output of the previous component is transferred to the input of the subflow. When subflow processing completes, output is routed back to the next component in the calling workflow. If subflow is the last part of the workflow, its output becomes the workflow output.
Component routes messages to one or more sub flows based on message content. Splitters are used to setup conditional/branching logic inside a workflow. The most common splitter is
SplitDocumentListByFieldValue , which can be used to send documents to different workflows based on field values in the document. For example, the configuration below would route documents to different workflows based on the value of the 'category' field and then rejoin all of the documents back together after the conditional workflows to continue to the next stage named log2. In this example, if
Disabling a Stage within the Workflow
All <workflow> sub-elements support the
enabled attribute. If set to false, the component still appears at runtime but passes all inputs to the next stage without any impact on the input.
Overriding Component Properties within the Workflow
A component instantiation may override properties defined in the component definition. In the example below, the queryTransformer
queryFacetFinder has its
searchWorkflow property overridden.
Overriding a Workflow
A previous workflow definition can be replaced by using the
override attribute on the newer workflow definition. This can be useful for disabling or changing default workflows. The example below effectively disables the default AIE linguistics processing workflow by replacing it with an empty workflow.
The following table lists the preconfigured top-level workflows included with AIE in the base install. Component definitions can be found in the <attivio-install>\conf\core-app\attivio-components.xml file. In most cases small subflows make up each of these main workflows.
Accepts and prepares text content for indexing.
Accepts and prepares XML content for indexing.
Accepts and prepares raw text files for indexing. Defaults to UTF-8 encoding unless overridden by the document's encoding field value or the transformer's defaultEncoding property. In these cases you can use any encoding supported by Java SE 7.
Accepts row-set XML formatted data.
|fileIngest||Ingest||Accepts and prepares binary file content for Advanced Text Extraction and indexing.|
|xmlScopesIngest||Ingest||Accepts and prepares XML content for indexing and subsequent scope search.|
Default workflow for searching content. This is the default workflow for the SimpleSearch UI.
Container for all service components such as connectors, receivers, etc.
The Use the Attivio Administrator displays information for all project activities, including connected workflows. The interface displays one project at a time, based on the server and port specified and the associated instance of AIE.