Which IIQ version are you inquiring about?
Version 8.3
Share all details related to your problem, including any error messages you may have received.
Hi All,
Is it possible to customize the Response Structure of LaunchedWorkflow API. It’s returning a big result along with the task end result it performed. But there are a lot of information in the result. I know we can add/remove few attributes but is there any way to reduce the information it provides and may be the overall structure of it. Given below an example response.
{
"partitioned": false,
"completed": "2024-05-30T10:43:11.492-04:00",
"type": "Workflow",
"launched": "2024-05-30T10:43:09.522-04:00",
"pendingSignoffs": 0,
"urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow": {
"output": [
{
"type": "application/xml",
"value": "<WorkflowSummary step=\"Stop\"/>\n",
"key": "workflowSummary"
},
{
"value": "customValue",
"key": "customKey"
}
],
"input": [
{}
],
"workflowSummary": "<WorkflowSummary step=\"Stop\"/>\n",
"workflowName": "Custom Workflow Name"
},
"meta": {
"created": "2024-05-30T10:43:11.492-04:00",
"location": "https://localhost:8080/identityiq/scim/v2/TaskResults/0a80640b8f9b12b4818fc9f47204409e",
"version": "W/\"1717080191492\"",
"resourceType": "LaunchedWorkflow"
},
"schemas": [
"urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow",
"urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult"
],
"name": "Custom Workflow Name",
"messages": [],
"attributes": [
{
"value": "<WorkflowSummary step=\"Stop\"/>\n",
"key": "workflowSummary"
},
{
"value": "customValue",
"key": "customKey"
}
],
"id": "0a80640b8f9b12b4818fc9f472fd489e",
"completionStatus": "Success",
"taskDefinition": "Workflow Launcher",
"terminated": false,
"launcher": "laucher_id"
}