Omitir navegación
Ampliar
Alternatives to using CPM customizations for event-driven functionality that needs to happen immediately
ID de respuesta 11934   |   Revisado 04/08/2021

What are alternatives to using CPM customizations for event-driven functionality that needs to happen immediately?

Environment

Process Designer, Custom Process Model (CPM) / Service Process Model (SPM), Customer Portal, Browser Extension Framework, .NET AddIns
All product versions

Issue:

What are the options for implementation of event-driven functionality when CPM customizations and/or Event Subscriptions are not a good fit?

Resolution:

Synchronous CPMs have a five second time limit, and asynchronous CPM functionality is not designed to be used for activity that needs to happen immediately. Similarly, with Event Subscription functionality also not being designed for activity that nees to happen immediately, what are the alternatives?

Alternatives generally involve client side customizations built to make requests to external integrations. When implemented to run from the client-side, there is no connection to the B2C Service database while the request is waiting to complete. This avoids integrations calls being made from the server side, which will require a database connection for the site while the response is being waited on. This means that PHP curl should not be used in Customer Portal, and instead integration calls should be made from JavaScript. This is not a problem for integration calls made from BUI Extensions and .NET AddIns, as they will always run on the client-side.

Notificarme
La página se refrescará al enviar. Las entradas pendientes se perderán.