Info |
---|
This article includes updates for Smart ID 23.04. |
...
Expand | ||
---|---|---|
| ||
By default, no secrets are resolved when querying for example the data map of a certain process step. If the user which calls the REST API has the EXECUTION permission |
Expand | ||
---|---|---|
| ||
To run a command on a specific task, you will need a To find the Or, if you rather want to get the information from the database, look into the table ACT_RU_TASK in the column Task_Def_Key_. Don´t use ID_. |
Expand | ||
---|---|---|
| ||
Putting variables into the process is possible when starting the process or executing a task by sending an XML snippet to the endpoints respectively. See section "Controlling the execution flow of a process" for more information. |
...
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
DescriptionExecutes a task for a process instance. The process instance for which the task should be executed is given by the passed processInstanceId. The task to execute is given by the passed task id. URL
To find the task id, look up the id of the task in the BPMN 2.0 process definition. MethodPOST Content type
Header parameters
Response Insert excerpt | | Identity Manager Process REST API | Identity Manager Process REST API | nopanel | true
Status Code | Description |
---|---|
200 | OK |
400 | Bad Request: see RestError in response body for details |
401 | Unauthorized: no valid authentication provided |
403 | Forbidden: the user does not have the permissions to execute/acccess the user task |
500 | Internal Server Error: see RestError in response body for details |
Example responses
XML format
Example: Error response with http status code 500
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <restError> <message>No core template with name "null" was found.</message> </restError> |
Example: Successful response
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <process instanceId="4711"/> |
JSON format
Example: Error response with HTTP status code 500 – JSON format
Code Block | ||
---|---|---|
| ||
{ "message": "No core template with name \"null\" was found." } |
Example: Successful response – JSON format
Code Block | ||
---|---|---|
| ||
{ "data": null, "instanceId": "4711" } |
...
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
DescriptionUse the Execute task endpoint of the REST API to complete the user task (open task) and control the flow of the process. Executing a process via the public REST interface behaves as follows when the process encounters a user task:
ExamplesExample: Simulate a click on the Next button
Example: Simulate a click on the Next button (set as default flow)
Example: Simulate a click on the Cancel button
|
...