WorkFlowConditions
Create, update, delete, and query the workflow conditions in SuiteCRM.
Table Specific Information
Select
You can query the Workflow Conditions table using any criteria in the WHERE clause. The cmdlet will use the SuiteCRM API to filter the results.
SELECT * FROM [Workflow Conditions] WHERE Type = 'Field'
Insert
Create a Workflow Condition by specifying any writable column.
INSERT INTO [Workflow Conditions] (Name, Type, Value, Module, LBL_WORKFLOW_ID) VALUES ('WF Condition1', 'Value', 'testValue', 'Trackers', 'exampleWorkflowId')
Update
You can update any Workflow Condition column that is writable, by specifying the Id.
UPDATE [Workflow Conditions] SET Name = 'New name' WHERE Id = 'Test123'
Delete
Remove a Workflow Condition by specifying the Id.
DELETE FROM [Workflow Conditions] WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the inbound. |
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 condition |
Field | String | False |
The module field selected for the condition |
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. |
Module | String | False |
The module selected to apply the condition |
Name | String | False |
Name assigned to the workflow condition |
Operator | String | False |
Operator to test against |
LBL_ORDER | Int | False |
The condition's order in the workflow |
LBL_WORKFLOW_ID | String | False |
The workflow the condition will be applied for |
Type | String | False |
Type of the field The allowed values are Value, Field, Any Change. |
Value | String | False |
The value to compare against the field |
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. |