SysWorkflowMessageTable::findByActivity Method
Finds the specified record in the WorkflowMessageTable table.
Syntax
client server public static SysWorkflowMessageTable findByActivity(
WorkflowCorrelationId _correlationId,
WorkflowActivityInstanceId _activityId,
WorkflowMessageType _messageType,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _correlationId
Type: WorkflowCorrelationId Extended Data Type
The workflow correlation ID of the specified workflow.
- _activityId
Type: WorkflowActivityInstanceId Extended Data Type
The workflow activity ID of the specified workflow activity.
- _messageType
Type: WorkflowMessageType Enumeration
The WorkflowMessageType enumeration value.
- _forUpdate
Type: boolean
A Boolean value that specifies whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use when it reads the record; optional.
Return Value
Type: SysWorkflowMessageTable Table
A record in the WorkflowMessageTable table; otherwise, an empty record.
Remarks
Microsoft internal use only.