A process flow is a set of activities arranged in a sequence to perform a specific task. Combining various activities, that is, Source, Target, Schema, Mapping, or Transformer creates a process flow. A Process Engine controls the execution of a process by starting the execution of process flow instances and all the activities present in a process flow. When the process flow is executed, data from the source is converted to the intermediate form and dispatched to the target. The transformer does the conversion of data. There are two types of transformers in Adeptia:
- Stream2XMLStream/XMLStream2stream: This transformer converts the source data to XML (Stream2XMLStream) and then XML to target data (XMLStream2Stream).
- SchemaStream2Record/SchemaRecord2Stream: This transformer converts source data to an intermediate format (SchemaStream2Record) and then intermediate format to target data (SchemaRecord2Stream).
When the process flow is executed, data from the source is converted to the intermediate form and then dispatched to the target. The intermediate data is stored in a repository folder (.../AdeptiaInstallFolder/AdeptiaServer-x.x/ServerKernel/web/repository). Another folder is created representing the group which executed the process flow. All the files that are created during the activity, design, and running of the process flow, are stored in the group folder and this group folder is stored inside the repository folder. While creating a process flow, a user can specify whether to keep or delete the repository folder.
Activities of a process flow are executed in the following two ways:
- Synchronous Activity: If an activity is synchronous, process flow initiates the execution of that activity, and waits for its completion. The execution of the subsequent activity is initiated only after the completion of the first activity.
Asynchronous Activity: If an activity is asynchronous, process flow initiates the execution of that activity and subsequent activities, as defined in the process flow without waiting for the completion of the first activity.
Repository file is not generated for the activities used in the Asynchronous mode.
In a process flow, if an activity is synchronous, no signal is required to acknowledge the Process Engine about its completion as it runs in the main thread. If an activity is asynchronous, running parallel to the main thread, some mechanism is required to notify the Process Engine about its completion. This is achieved by signalling.
Signaling facilitates coordination of asynchronous activities in a process flow. A signal is raised as an asynchronous activity completes. The Synch Node in the process flow waits for signal and ensures that all the activities raising that signal are completed before control moves further in the process flow. This is done using the Synch Node option while defining a process flow.
When an activity is used as asynchronous, a new property TimeOut is added to it. By default, its value is 300 seconds. If an asynchronous activity cannot connect to the next activity within this time limit, it gets aborted. For information on how to use an activity in asynchronous mode and changes its property, refer to Creating Process Flow.
Following are the major subsections:
|Understanding Process Designer||Introduces Process Designer concepts, toolbars, keyboard shortcuts, and components.|
|Creating Process Flow||Step-by-step instructions for beginners to create a Process Flow using Process Designer.|
|Learn how to activate or deactivate Process Flow.|
|Testing a Process Flow||Know the behavior of Process Flow before executing in the production environment.|
|Understanding Validation||Introduces Validation concept, categories, messages, and disabling validation in the Process Designer.|
|Types of Transformers and how to change the transformer type in a process flow.|
|Using Multiple Selections||Learn how to select multiple BPMN elements from the flow canvas in the Process Designer.|
|Using Zoom In and Zoom Out||Learn how to perform zoom in and zoom out operations in the flow canvas.|
|Using Actions In Process Flow||Know the actions available to control the process flow and how to add them in the Process Flow.|
|Creating Process Flow Variable||Learn how to create Process Flow variable and how to use them during execution.|
|Creating Context Variable||Step-by-step instructions to create context variables in a Process Flow.|
|Know how Process Flow sends and receive data to and from Context Source/Target activity.|
|Learn how to override the description of a Process Flow during runtime.|
|Learn how to override activities of a Process Flow at runtime, activities that can be overridden, overriding subject and body of an email sent for Human Workflow Task, overriding assignee role, and user of a Human Workflow Task.|
|Learn how to override the record or field delimiters of a Process Flow at runtime.|
|Processing Record Queue||Introduction to Record Queue Processor, working, and processing records using Record Queue Processor.|
|Adding Conditions in Process Flow||Learn how to add conditions in a Process Flow using Process Flow variable, Java, and expression builder.|
|Defining Sequence Flow Ordering||Know how to specify the ordering of the execution of the transitions.|
|Creating Multiple Streams||Step-by-step instructions to create multiple streams for an activity.|
|Handling Error Records||Step-by-step instructions to handle error records.|
|Using Stream Selector||Introduction to Stream Collector and how to use in the Process Designer.|
|Using Repeater Node||Introduction to Repeater Node and how to use in the Process Designer.|
|Using Stream Consumer||Introduction to Stream Consumer and how to use in the Process Designer.|
|Using Error Intermediate Event||Introduction to Error Intermediate Event and how to use in the Process Designer.|
|Creating Exception Handler Script||Introduction to Exception Handler Script. Instructions to create Global Exception Handler Script and Activity Exception Handler Script are also provided.|
|Using Compression or Decompression||Introduction to Compression and Decompression and how to use in the Process Designer.|
|Using Custom Report in Process Flow||Introduction to Custom Report and instructions to use it in the Process Designer are also provided.|
|Learn how to attach email notification at the end of a Process Flow.|
|Generating PDF file of Process Flow||Know the types of PDF that can be generated from the Process Designer. Instructions to generate PDF of a Process Flow are also provided.|
|Step-by-step instructions to switch from online mode to offline mode and vice versa.|
|Step-by-step instructions to execute a process flow manually or automatically.|
|Points to keep in mind while using Process Designer.|