Salesforce

Loosely-Coupled Architecture (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Loosely-Coupled Architecture (Magic xpi 3.x)

When you design your process you should pay extra attention to its building units, creating the connectivity between them as loose as possible. Magic xpi gives you some tools to implement the loosely coupled concept, such as:

  • Multi-project mode – This enables you to run different projects on the same Magic xpi broker. Each project will have different settings, and will be completely independent from one another. The multi-project functionality enables you to separate each of your activities, within the Magic xpi projects, including:

    • Ability to start and stop each project independently.

    • Development, test and upgrade processes (of the project) can be done in each project as a stand-alone operation.

    • Each project can be monitored separately, by different administrations or business units.

    • You can create different environment definitions, such as variables and errors, relevant to each project.

  • Invoke flow – This gives the ability to call a sub-process from a main one. The new flow will consume a new thread within the Magic xpi engine. The invoked flow can be called from several places in your project, eliminating the need to re-write the same code or process.

  • Publish and subscribe – Once a topic is published all the processes that are subscribed to this topic will immediately be triggered. For example, if an order is published, the stock system can update its product availability, the CRM system can update the customer data, and the finance system can update the customer card. There is no need to define any connectivity between the three systems. Once a new system is introduced it can be subscribed to the relevant information as well.

Reference
Attachment 
Attachment