WorkFlow
Create, update, delete, and query the wokflow actions in SuiteCRM
Table Specific Information
Select
You can query the Workflow table using any criteria in the WHERE clause. The add-in will use the SuiteCRM API to filter the results.
SELECT * FROM [Workflow] WHERE Actions = 'Create Record' AND [Date Created] < '2017-10-09'
Insert
Create a Workflow by specifying any writable column.
INSERT INTO [Workflow] (Name, Run, LBL_RUN_ON) VALUES ('Test WF', 'Always', 'All Records')
Update
You can update any Workflow column that is writable, by specifying the Id.
UPDATE [Workflow] SET [Repeated Runs] = true WHERE Id = 'Test123'
Delete
Remove a Workflow by specifying the Id.
DELETE FROM [Workflow] WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the inbound. |
Actions | String | True |
The list of actions to be taken in the workflow |
Assignedto | String | True |
The user name of the user assigned to the record. |
AssignedUserId | String | False |
The Id of the user assigned to the record. |
CreatedById | String | True |
The Id of the user who created the record. |
CreatedByName | String | True |
The name of the user who created the record. |
Conditions | String | True |
The list of conditions to be applied during the workflow |
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 worflow |
LBL_RUN_ON | String | False |
Which records the workflow will operate on The allowed values are All Records, New Records, Modified Records. |
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 workflow |
RepeatedRuns | Bool | False |
Whether the worflow will run once or several times |
Run | String | False |
On which occasion the workflow will execute The allowed values are Always, Only On Save, Only In The Scheduler. |
Status | String | False |
The status of the workflow The allowed values are Active, Inactive. |
WorkflowModule | String | False |
The module the workflow will target |
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. |