Creating a Dataflow Model and Access
Dataflow engine works based on a model, acces, and the dataflow engine components. Apart from the configuration of those components, you must make sure to configure your model and access correctly.
For more information, see Dataflow Engine Components.
Creating a Model for Dataflow Engine
This model is where you must create your entity which derives from the Process entity. Before you are able to do this, you must first merge your business model with the Process Model, since this model contains the Process entity required for its creation.
To make your model depend on Process Model:
- In Control Center, go to Custom Models and click New.
- In the window that appeared, in the Dependencies section, click Add.
- Search for ProcessModel, click Add and Finish and then click Execute.
- Proceed to create your actual model. Make sure that your process entity derives from the Processentity contained in theProcessModel.
Creating and Access for Dataflow Engine
The access you use for the dataflow engine must have a StateProcessingAspect configured. The state processing aspect contains the specific instance of the processing engine required for your process. This aspect has a property called Processor that should be assigned the instance of the processing engine that will be used. The state processing aspect is always assigned to an access.
To assign a StateProcessingAspect to an access:
- Click on your access and, on the Action Bar, click More -> Setup Aspects.
- In the window that appeared, click Execute.
- Right-click the aspects menu and click Add.
- Search for StateProcessingAspect, and click Add and Finish.
- In the new window that appeared, provide the externalId,nameand assign a new instance of a processor in the processors section by clicking Add.
- In the new window that appeared, search for ProcessingEngineand click Add.
- Provide the externalId,nameand click Add and Finish.
- Commit your changes.