Best Practice for Self-Hosted Web Applications
The Directscale Corporate Admin Application is Hosted with Azure in their West US Datacenter. Process hooks execute synchronously and add overhead to the Directscale system. It is recommended that clients host Web Applications with Azure in their West US Datacenter to reduce the latency of calling the External System. Learn more by reading Writing and Hosting Client Web Applications
Scenario 3 adds logic to the Orders.SubmitOrder Hook for demonstrating how to use a Directscale service in a Process Hook. Any logic added to a Process Hook decreases the performance of Directscale systems. Process Hooks should only change logic like Scenarios 1 & 2. This scenario would be most performant if it was coded as a WebHook. Reference Coding a WebHook to see this scenario implemented as a Webhook.
For Clients using the Client Extension
- Navigate to your Corporate Admin instance.
- Select Tools, then Developer Tools from the main menu.
- Click on Process Hooks.
- Use the search field to locate the name of the Event you want to hook and click on the Hook Name.
- Enter the Endpoint that implements the custom Process Hook logic.
Click Models for JSON examples of the payload Directscale sends and expects to receive.
Warning displayed if using the Client Extension
Process Hook configurations are updated to the configurations made in the source code of the Client Extension each time it is deployed. The yellow warning displayed in Figure 1 will appear if the Client Extension solution is enabled for a client.
Updated 11 months ago