UpdateStatus
Updates the status of an app record.
Note: This procedure makes use of indexed parameters. Indexed parameters facilitate providing multiple instances a single parameter as inputs for the procedure.
Suppose there is an input parameter named Param#. To input multiple instances of an indexed parameter like this, execute:
EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"
In the table below, indexed parameters are denoted with a '#' character at the end of their names.
Input
Name | Type | Required | Description |
AppId | String | True | The App Id. |
RecordId# | String | True | The record Id. |
Action# | String | True | The name of the action you want to run. If the localization feature has been used to apply multiple translations of the action, specify the name of the action in the language settings of the user that will run the API. |
Assignee# | String | False | The next Assignee. Specify the log-in name of the Assignee. |
Revision# | String | False | The revision number of the record before updating the status. If the specified revision is not the latest revision, the request will result in an error. |
GuestSpaceId | String | False | This parameter is used for apps that are in the guest space. Do not add this parameter if the connection property GuestSpaceId is specified in the connection string. |
Result Set Columns
Name | Type | Description |
Success | String | This value shows a boolean indication of whether the operation was successful or not. |
Id | String | The record Id. |
Revision | String | The revision number of the record after updating the status. The revision number will increase by 2, as two operations are preformed - running the action and updating the status. |