Skip to content

Before Entity Save#

Starts a workflow before a Material, Container, or Resource is saved.

Screenshot of a Business Workflow using If and Throw error to require an entity description before saving.

Event Context#

The event provides Entity, EntityType, PersistedEntity, OperationContext to tasks in its branch. Select these values in the value editor when configuring child tasks.

Before Entity Save

Inspect a Material, Container, or Resource about to be saved; reject an invalid pending value with Throw error.

Behavior#

The handler runs inside the operation's transaction. An error in the handler can cancel or roll back the operation. An After event runs after the operation boundary, while the transaction is still active.