API - Launch Workflow

Which IIQ version are you inquiring about?

8.4p2

Please share any images or screenshots, if relevant.



image
image

Good morning,

I’m looking into launching workflows via the scim api. I’m using postman to test things out, and am following (as best as I can) the documentation here
launch-workflow | SailPoint Developer Community
But as you can see, I’m getting that 404 error. I did use scim/v2/Workflows and verified that I can see the workflow in postman, but I’m not sure what else to try. Advice?
For context, I built a dead simple test workflow that takes in identityName and then sets a random attribute so I know everything ran as expected. I’m using the ‘Authorization’ tab with basic auth - and since I’m getting all existing workflows as a return result, that tells me it’s not an auth issue.

Hi @RSanders ,

Can you try below body format -

{
    "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": "Workflow Name",
        "input": [
            {
                "key": "Test1",
                "value": "Test"
            },
            {
                "key": "Test2",
                "value": "Test"
            }
        ]
    }
}

It should solve your issue.

So that definitely helped! The workflow definitely launched and performed the steps. I think I might be missing something else as I’m getting this return message


But the workflow I tested with is very bare bones. I used another workflow that generated a work item, and I didn’t get this ‘VersionGetter’ message, so I think I’m in a good spot.

I appreciate it!

1 Like

Thanks @RSanders . Happy to help :slight_smile: