Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System 2023 R2

Stop option

  • Last UpdatedOct 23, 2024
  • 1 minute read

This option indicates that the flow of the middleware execution will stop after completing the current execution, regardless of whether the current execution succeeds or not. In other words, when the pre- or the post-hook is configured with this option, the execution stops with the current call and returns the result to the caller, regardless of whether the current transaction was successful or not (i.e., committed or rolled back). If an error occurs, the error message is returned to the caller.

The table below describes the flow of the middleware call after the pre-hook or post-hook execution is completed with the Middleware Flow parameter set to Stop.

Hook Type

Hook Success

Hook Error

Pre-Hook

Stop. The pre-hook call is completed successfully.

Note: The data modified on tables for the pre-hook call is committed. The normal middleware call will never be executed.

Stop. The pre-hook call resulted in an error. The error message is returned to the end user or the error message is logged in the Logger.

Note: The data modified on table for the pre-hook call is rolled back. The normal middleware call will never be executed.

Post-Hook

Not applicable; this option cannot be configured for post-hooks.

Not applicable; this option cannot be configured for post-hooks.

TitleResults for “How to create a CRG?”Also Available in