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 on Error option

  • Last UpdatedOct 23, 2024
  • 1 minute read

This option indicates that the flow of the middleware execution will stop only if it encounters an error while processing the current execution. As long as there is no error while executing the pre-hook, post-hook, or the middleware event, the execution continues.

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 on Error.

Hook Type

Middleware Execution Status

Hook Success

Hook Error

Pre-Hook

Not applicable.

The pre-hook call completed successfully.

Note: The data modified on tables for the pre-hook call is committed. The middleware continues to execute the normal middleware call.

Stop. The pre-hook call resulted in an error. The error message is returned to the caller.

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

Post-Hook

The normal middleware call/transaction has succeeded.

The data modified on tables for the normal middleware call and for the post-hook are committed.

The data modified for the normal middleware call and for the post-hook are both rolled back. The error message is returned to the caller.

Post-Hook

Stop.

The normal middleware call/transaction has failed or rolled back.

The error message is returned to the caller.

Not applicable.

Note: The post-hook will never be executed, because the normal middleware call/event/transaction has failed or rolled back.

Not applicable.

Note: The post-hook will never be executed, because the normal middleware call/event/transaction has failed or rolled back.

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