SCIM API to launch workflow - LCM Create and Update Identity

We are trying to trigger “LCM Create and Update Identity” workflow using REST client to create a user.

I see some sample available here launch-workflow | SailPoint Developer Community but decoding the plan seems tricky and it gives me weird error like 404 etc.

Is there any other sample available to successfully trigger OOTB “LCM Create and Update Identity” workflow to create a user from POSTMAN client? (Edit Identity seems to be working fine)

1 Like

Did you manage to launch LCM Create and Update Identity workflow from SCIM or REST Client?

@pkg95 - This is a pretty old thread, but what you’re looking to do is a pretty common ask. I generally recommend that customers create a “wrapper” workflow so that they can design the SCIM API request body content themselves, and then inside the “wrapper” workflow you can parse the request content and set the needed workflow variables (including constructing a provisioning plan and the like), then invoke the desired workflow as a subprocess in the next step of the “wrapper” workflow.

hi @kaselva

To invoke LCM Create and Update workflow following inputs are required:

  • plan
  • identityName
  • identityDisplayName
  • flow

So you can try execute workflow in the following way:

POST   http://localhost:8080/identityiq/scim/v2/LaunchedWorkflows
Content-Type: application/scim+json

{
  "schemas": [
    [
      "urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow",
      "urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult"
    ]
  ],
  "workflowName": "LCM Create and Update",
  "input": [
    {
      "key": "plan",
      "value": "<ProvisioningPlan>\n  <AccountRequest application=\"IIQ\" op=\"Modify\">\n  ........ </ProvisioningPlan>\n",
      "type": "application/xml"
    },
    {
      "key": "identityName",
      "value": "<UserIdentityName>",
      "type": "string"
    },
    {
      "key": "identityDisplayName",
      "value": "<UserIdentityDisplayName>",
      "type": "string"
    },
   {
      "key": "flow",
      "value": "<IdentityCreateRequest / IdentityEditRequest>",
      "type": "string"
    }
  ]
}

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.