SetState
Sets the state and the status of the specified item.
Input
| Name | Type | Description |
| Table | String | The name of the table. |
| Id | String | The Id of the item to change the state for. |
| StateCode | String | The new state code for the item. Value must be a valid state code for the object in Dynamics CRM. |
| StatusCode | String | The new status code for the item. Value must be a valid status code for the object in Dynamics CRM. |
Result Set Columns
| Name | Type | Description |
| Success | String | This field is true if the object's state code and status code were updated, false otherwise. |