Returns a LaunchedWorkflow resource based on id.​
The LaunchedWorkflow resource with matching id is returned.
Attributes to include in the response can be specified with the attributes query parameter.
Attributes to exclude from the response can be specified with the excludedAttributes query parameter.
The schema related to LaunchedWorkflow is:
- urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow
Path Parameters
- launchedWorkflowId string required
id of LaunchedWorkflow resource.
Query Parameters
- attributes string
A comma-separated list of attributes to return in the response. This query parameter supersedes excludedAttributes, so providing the same attribute(s) to both will result in the attribute(s) being returned.
- excludedAttributes string
A comma-separated list of attributes to exclude from the response. Some attributes cannot be excluded.
- 200
Returns a single LaunchedWorkflow resource based on the id.
LaunchedWorkflow responses include attributes from the TaskResult related to the Workflow execution.
- application/json
- Schema
- Example (from schema)
Schema
- partitioned boolean
Flag to indicate this TaskResult is partitioned. (From the TaskResult used to launch the Workflow).
- completed date-time
The completed DateTime of the TaskResult. (From the TaskResult used to launch the Workflow).
- type string
Type of the TaskResult. (From the TaskResult used to launch the Workflow).
- launched date-time
The launched DateTime of the TaskResult. (From the TaskResult used to launch the Workflow).
- pendingSignOffs integer
The number of pending signoffs of this TaskResult. (From the TaskResult used to launch the Workflow).
- workflowName string
Name of the Workflow to launch.
- identityRequestId string
Id representing the identity request.
- workflowCaseId string
Id representing the workflow case (a running instance of a workflow).
- workflowProcessId string
Id representing the workflow monitoring process log.
- retries integer
The number of retries performed during the execution of provisioning activities.
- approvalSet string
XML representation of approvals.
- workflowSummary string
XML representation of the workflow summary.
input object
A list of input attributes of the Launched Workflow.
key stringThe attribute key.
value stringThe attribute value.
type stringThe attribute type.
output object
A list of output attributes of the Launched Workflow.
key stringThe attribute key.
value stringThe attribute value.
type stringThe attribute type.
- targetClass string
Target Class of the TaskResult. (From the TaskResult used to launch the Workflow).
- name string
Name of the TaskResult. (From the TaskResult used to launch the Workflow).
- messages undefined[]
List of messages of the TaskResult. (From the TaskResult used to launch the Workflow).
attributes undefined[]
A list of attributes of the TaskResult. (From the TaskResult used to launch the Workflow).
key stringThe attribute key.
value stringThe attribute value.
- id string
Unique identifier of the TaskResult. (From the TaskResult used to launch the Workflow).
- completionStatus string
Possible values: [
Success
,Warning
,Error
,Terminated
,TempError
]Completion Status of the TaskResult. (From the TaskResult used to launch the Workflow).
- taskDefinition string
Name of the TaskDefinition of the TaskResult. (From the TaskResult used to launch the Workflow).
- terminated boolean
Flag to indicate this TaskResult is terminated. (From the TaskResult used to launch the Workflow).
- launcher string
Launcher of the TaskResult. (From the TaskResult used to launch the Workflow).
meta object
created date-timeDateTime when the TaskResult was created. (From the TaskResult used to launch the Workflow).
location stringURL to the TaskResult. (From the TaskResult used to launch the Workflow).
lastModified date-timeDateTime of TaskResult last modification. (From the TaskResult used to launch the Workflow).
version stringTaskResult version. (From the TaskResult used to launch the Workflow).
resourceType stringResource type of the metadata subject. (From the TaskResult used to launch the Workflow).
{
"partitioned": true,
"completed": "2022-04-14T10:45:26.098-05:00",
"type": "Workflow",
"launched": "2022-04-14T10:45:26.114-05:00",
"pendingSignOffs": 2,
"workflowName": "Update Account Group a2a",
"identityRequestId": "0000000002",
"workflowCaseId": "7f000001806719888180675c8f8a016a",
"workflowProcessId": "7f000001806719888180675c8f8a0017b",
"retries": 1,
"approvalSet": "example: <ApprovalSet><ApprovalItem application=\"Active Directory\" approver=\"James.Smith\" assignmentId=\"25701d226e9d4f98a8e42fcebb6113597\" displayName=\"Role\" displayValue=\"Benefits\" id=\"7e314fb9b307481682b42f8e714b5687\" name=\"assignedRoles\" operation=\"Add\" state=\"Pending\" value=\"Benefits\"><Attributes> <Map><entry key=\"comments\"/><entry key=\"Access Request Item\"/><entry key=\"flow\" value=\"AccessRequest\"/><entry key=\"id\" value=\"7f00000180281df7818028bfb3ab5c87\"/><entry key=\"interface\" value=\"IIQ\"/><entry key=\"operation\" value=\"RoleAdd\"/></Map></Attributes></ApprovalItem></ApprovalSet>",
"workflowSummary": "example: \"<WorkflowSummary step=\"end\"><Interactions><ApprovalSummary completer=\"James Smith\" endDate=\"1651001587664\" owner=\"James.Smith\" request=\"Approve modification of entitlement ADDirectDemodata group: CN=a2a,OU=HierarchicalGroups,OU=DemoData,DC=test,DC=sailpoint,DC=com\" startDate=\"1651001561152\" state=\"Finished\" workItemId=\"7f000001806719888180675c9006016b\" workItemType=\"Approval\"/></Interactions></WorkflowSummary>\"",
"input": {
"key": "_caseName",
"value": "WorkflowCaseRegistry",
"type": "string"
},
"output": {
"key": "workflowSummary",
"value": "<WorkflowSummary step=\"end\">\\n <Interactions>\\n <ApprovalSummary completer=\"James Smith\" endDate=\"1651001587664\" owner=\"James.Smith\" request=\"Approve modification of entitlement ADDirectDemodata group: CN=a2a,OU=HierarchicalGroups,OU=DemoData,DC=test,DC=sailpoint,DC=com\" startDate=\"1651001561152\" state=\"Finished\" workItemId=\"7f000001806719888180675c9006016b\" workItemType=\"Approval\"/>\\n </Interactions>\\n</WorkflowSummary>\\n",
"type": "application/xml"
},
"targetClass": "Permission",
"name": "Update Account Group a2a",
"messages": [
[
"Task executed successfully."
]
],
"attributes": [
{
"key": "Workflow Summary",
"value": "<WorkflowSummary step=\"end\">\\n <Interactions>\\n <ApprovalSummary completer=\"James Smith\" endDate=\"1651001587664\" owner=\"James.Smith\" request=\"Approve modification of entitlement ADDirectDemodata group: CN=a2a,OU=HierarchicalGroups,OU=DemoData,DC=test,DC=sailpoint,DC=com\" startDate=\"1651001561152\" state=\"Finished\" workItemId=\"7f000001806719888180675c9006016b\" workItemType=\"Approval\"/>\\n </Interactions>\\n</WorkflowSummary>\\n"
}
],
"id": "7f00000180281df7818028c03252085c",
"completionStatus": "Success",
"taskDefinition": "Workflow Launcher",
"terminated": true,
"launcher": "spadmin",
"meta": {
"created": "2022-04-14T10:44:54.834-05:00",
"location": "http://localhost:8080/identityiq/scim/v2/TaskResults/7f00000180281df7818028c03252085c",
"lastModified": "2022-04-05T15:52:30.119-05:00",
"version": "\"W\"1649951094834\"",
"resourceType": "TaskResult"
}
}