Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1522
Table Type: Company
Table Name: Workflow Event Queue
Database Table Name: CRONUS UK Ltd_$Workflow Event Queue$437dbf0e-84ff-417a-965d-ed2bb9650972
Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Workflow Event Queue can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Workflow Event Queue$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[ID]
,[Session ID]
,[Step Record ID]
,[Record ID]
,[Status]
,[Record Index]
,[xRecord Index]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Workflow Event Queue$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Workflow Event Queue$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Workflow Event Queue]
LEFT JOIN
[User] AS [User]
ON
[Workflow Event Queue].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Workflow Event Queue].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Workflow Event Queue table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | ID | ID | Normal | Integer | 4 | ID | int |
2 | Session ID | Session ID | Normal | Integer | 4 | Session ID | int |
3 | Step Record ID | Step Record ID | Normal | RecordID | 448 | Step Record ID | varbinary(448) |
4 | Record ID | Record ID | Normal | RecordID | 448 | Record ID | varbinary(448) |
5 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
6 | Record Index | Record Index | Normal | Integer | 4 | Record Index | int |
7 | xRecord Index | xRecord Index | Normal | Integer | 4 | xRecord Index | int |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Workflow Event Queue].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Workflow Event Queue$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Workflow Event Queue] LEFT JOIN [User] AS [User] ON [Workflow Event Queue].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |