WorkFlowActions
Create, update, delete, and query the wokflow actions in SuiteCRM.
Table Specific Information
Select
You can query the Workflow Actions table using any criteria in the WHERE clause. The driver will use the SuiteCRM API to filter the results.
SELECT * FROM [Workflow Actions] WHERE Action = 'Create Record' AND [Date Created] < '2017-10-09'
Insert
Create a Workflow Action by specifying any writable column.
INSERT INTO [Workflow Actions] (Name,Action,LBL_WORKFLOW_ID) VALUES ('First action','Modify Record','exampleWFId')
Update
You can update any Workflow Action column that is writable, by specifying the Id.
UPDATE [Workflow Actions] SET [Parameters] = 'name:test;status:complete;' WHERE Id = 'Test123'
Delete
Remove a Workflow Action by specifying the Id.
DELETE FROM [Workflow Actions] WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the workflow. |
Action | String | False |
The Specific action to be taken during the worklow |
CreatedById | String | True |
The Id of the user who created the record. |
CreatedByName | String | True |
The name of the user who created the record. |
DateCreated | Datetime | True |
The date the record was created. |
DateModified | Datetime | True |
The date the record was last modified. |
Deleted | Bool | False |
The record deletion indicator. |
Description | String | False |
Description for the workflow |
LBL_ORDER | Int | False |
The order of the worflow's action |
LBL_WORKFLOW_ID | String | False |
The wokflow the action is linked to |
ModifiedById | String | True |
The Id of the user who last modified the record. |
ModifiedByName | String | True |
The name of the user who last modified the record. |
Name | String | False |
Name assigned to the action |
Parameters | String | False |
List of parameters for the action |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |