DEL_WorkflowMessageTable::findQueued Method
Finds a message by the workflow correlation ID and message type.
Syntax
client server public static DEL_WorkflowMessageTable findQueued(
WorkflowCorrelationId _correlationId,
WorkflowMessageType _messageType,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _correlationId
Type: WorkflowCorrelationId Extended Data Type
Identifies the workflow instance.
- _messageType
Type: WorkflowMessageType Enumeration
The WorkflowMessageType type.
- _forUpdate
Type: boolean
A Boolean argument, true, if the record is to be locked for update; defaults to false; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The ConcurrencyModel argument; defaults to ConcurrencyModel::Auto; optional.
Return Value
Type: DEL_WorkflowMessageTable Table
A record in the WorkflowMessageTable; otherwise, an empty record.
Remarks
The select statement is restricted to WorkflowMessageLifeCycleState::Queued and Sequence == 0 messages.