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

Compare with Current View Page History

« Previous Version 10 Next »

This pattern uses the AQ_StartProject service in 'Start without user interface' mode to call a flow in a project that can be located in a completely different repository. The call of the flow is straightforward, whereas receiving the answer is more difficult. The AQ_StartProject service does not set any output itself, as it just starts a function in a different repository. It is therefore an appropriate decoupling pattern if no output is needed from the other flow (fire & forget).

It is not adviced to use this pattern when an answer is needed. Solutions such as the AQ_Aggregate_Read service are difficult to make resilient. One problem is that the execution is in parallel, you can not be sure that the information is already up-to-date. Such a workaround also worsens the characteristics of this pattern.

Characteristics


TypeScoreDescription
Knowledge characteristicsUser set or System set-

This pattern has no output

Parameters or complex modelParameters

The parameters of the service are well defined.

Enhanced by Blueriq Functionality(blue star)(blue star)Dependencies to the service are possible, and support is given for the shortcut definitions.




Maintainability characteristics

It should be possible to quickly make changes to business rules independent of other functionality.

        
Focus on Internal or External UseInternal

The external flow is only used by Blueriq.

Low Implementation complexity(blue star)Defining the flow and using the parameters is simple. Managing the shortcuts is a bit trickier. For making that part easier, see dynamic shortcuts.
Internals invisible (encapsulation)(blue star)From the calling party all internals are not visible.
Autonomous(blue star)The external function has its own profile and can only use the defined parameters.
Highly Testable(blue star)As it is a separate flow and only relies on several simple parameters, it can be tested autonomously.
Highly Reusable(blue star)Any application can use the defined shortcut and the service definition to call the functionality.
Out of the Box(blue star)No custom code required. 


Deployment characteristics 

Part of Application or Separate Deployment (=deployment)BothIt is your choice whether the external function is part of the same repository, or has its own repository.

 

  • No labels