Hello,
I need to refresh an identity using IIQ workflow from a rest client.
Any advice?
Hello,
I need to refresh an identity using IIQ workflow from a rest client.
Any advice?
Hi @gustavo-segovia , welcome to the community!
Check and see if you have a workflow in your environment called “Identity Refresh”. You can launch a workflow using the SCIM endpoint
POST http://{{identityiqHost}}/{{identityiqAppName}}/scim/v2/LaunchedWorkflows
The body of this message will look similar to this, where the ‘input’ JSONArray is populated with all the variables and values required by the workflow you are trying to launch:
{
"schemas": [
"urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow",
"urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult"
],
"urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow": {
"workflowName": "Identity Refresh",
"input": [
{
"key": "variable1",
"value": "value1"
},
{
"key": "variable2",
"value": "value2"
}
]
}
}
Hello Adam,
Thank you very much for your answer.
In our environment there is a workflow called “Identity Refresh” but we have not been able to use it.
This is the body that we use to try to do an “Identity Refresh”…
{
"schemas":[
"urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow",
"urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult"
],
"urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow":{
"workflowName":"Identity Refresh",
"input":[
{
"key":"identitizer",
"value":"false"
},
{
"key":"identity",
"value":"false"
},
{
"key":"identityName",
"value":"johndoe2"
}
]
}
}
Important: “johndoe2” is a real username of an identity
The answer:
{
"schemas":[
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail":"Unable to get property value using getter class:sailpoint.service.scim.VersionGetter",
"status":"500"
}
I would appreciate any help. Regards,