# Create Identity calling SCIM API LaunchedWorkflows

**URL:** <https://community.sailpoint.com/discuss/t/create-identity-calling-scim-api-launchedworkflows/28094>\
**Category:** Implement & Extend\
**Tags:** identityiq-8.1, compliance\
**Created:** [November 1, 2022, 5:55am UTC](https://community.sailpoint.com/discuss/t/create-identity-calling-scim-api-launchedworkflows/28094 "2022-11-01T05:55:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasanthikatagouni1218](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@vasanthikatagouni1218](https://community.sailpoint.com/discuss/u/vasanthikatagouni1218)\
**Post date:** [November 1, 2022, 5:55am UTC](https://community.sailpoint.com/discuss/t/create-identity-calling-scim-api-launchedworkflows/28094/1 "2022-11-01T05:55:23Z")

</div>

Hi All,

We are trying to create identity using SCIM API LaunchedWorkflows. The API call  
should invoke “LCM Create and Update” workflow to create identity.

From Postman if the request is submitted as below, we are receiving “{“schemas”:[“urn:ietf:params:scim:api:messages:2.0:Error”],“detail”:“Resource Workflow null not found.”,“status”:“404”}” error. Could you please help us resolve the same.

URL:https:/host:port/identityiq/scim/v2/LaunchedWorkflows/  
Opeartion type: POST  
Request Body:  
{  
“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\” nativeIdentity=\“Test Vuser64\” op=\“Create\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“id\” value=\“be1764f75f744cf2bfc9942c111d03da\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<AttributeRequest name=\“firstname\” op=\“Set\” value=\“Test\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“lastname\” op=\“Set\” value=\“Vuser64\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“name\” op=\“Set\” value=\“Test Vuser64\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“manager\” op=\“Set\” value=\“yyy3c18\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“sailpoint.object.Identity\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“department\” op=\“Set\” value=\“HR\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“company\” op=\“Set\” value=\“Navistar\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“type\” op=\“Set\” value=\“contractor\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“userSubType\” op=\“Set\” value=\“Business User\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“division\” op=\“Set\” value=\“Auros\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“jobTitle\” op=\“Set\” value=\“tech\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“location\” op=\“Set\” value=\“Albany\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“city\” op=\“Set\” value=\“Albany\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“adRequired\” op=\“Set\” value=\“Yes\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“expiryDate\” op=\“Set\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“date\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<Value\>\n \<Date\>1667586600000\<\/Date\>\n \<\/Value\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“emailRequired\” op=\“Set\” value=\“Yes\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“preferredFirstName\” op=\“Set\” value=\“Test\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“preferredLastName\” op=\“Set\” value=\“Vuser64\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“phoneNo\” op=\“Set\” value=\“999999999\”\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“required\”\>\n \<value\>\n \<Boolean\>true\<\/Boolean\>\n \<\/value\>\n \<\/entry\>\n \<entry key=\“type\” value=\“string\”/\>\n \<\/Map\>\n \<\/Attributes\>\n \<\/AttributeRequest\>\n \<AttributeRequest name=\“useBy\” op=\“Set\”\>\n \<Value\>\n \<Date\>\n1669783002186\<\/Date\>\n \<\/Value\>\n \<\/AttributeRequest\>\n \<\/AccountRequest\>\n \<Attributes\>\n \<Map\>\n \<entry key=\“source\” value=\“LCM\”/\>\n \<\/Map\>\n \<\/Attributes\>\n\<\/ProvisioningPlan\>\n”,  
“type”: “application/xml”  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![pitam\_dutta](https://avatars.discourse-cdn.com/v4/letter/p/bc79bd/32.png) [@pitam\_dutta](https://community.sailpoint.com/discuss/u/pitam_dutta)\
**Post date:** [November 1, 2022, 12:55pm UTC](https://community.sailpoint.com/discuss/t/create-identity-calling-scim-api-launchedworkflows/28094/2 "2022-11-01T12:55:04Z")

</div>

@vasanthikatagouni1218 &nbsp;Your Body may not be properly formulated. Please have a look on that

---

<div class="post-metadata">

**Author:** ![jophis\_alias](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jophis\_alias](https://community.sailpoint.com/discuss/u/jophis_alias)\
**Post date:** [December 5, 2022, 8:36pm UTC](https://community.sailpoint.com/discuss/t/create-identity-calling-scim-api-launchedworkflows/28094/3 "2022-12-05T20:36:34Z")

</div>

[@vasanthikatagouni1218](https://community.sailpoint.com/user/68049) were you able to find the issue? i am aslo facing the issue. i am trying with GO program (see attached).

@pitam_dutta , can you provide any insight to it!!  
[iiqscim-code.txt](https://community.sailpoint.com/uploads/short-url/zSTeQ1317zQZOsQsmB0fqzBXCoC.txt) (1.59 KB)

---

<div class="post-metadata">

**Author:** ![gbris](https://sea3.discourse-cdn.com/sailpoint2/discuss/user_avatar/community.sailpoint.com/gbris/32/18603_2.png) [@gbris](https://community.sailpoint.com/discuss/u/gbris)\
**Post date:** [May 17, 2023, 7:59pm UTC](https://community.sailpoint.com/discuss/t/create-identity-calling-scim-api-launchedworkflows/28094/4 "2023-05-17T19:59:57Z")

</div>

The API documentation for the LaunchedWorkflows POST appears to be incorrect.

I found the correct syntax in the documentation for the [SecZetta](https://community.sailpoint.com/t5/Connector-Directory/SecZetta/m-p/195370#U195370) &nbsp;connector (SecZetta\_Integration\_Overview-SailPoint\_IdentityIQ\_052020.pdf \> page 16)

workflowName and input need to be contained within the appropriate schema.&nbsp; Here’s a screenshot…

 ![2023-05-17_14-52-59.png](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/sailpointsbx2/original/1X/605f2328b035d6a08c1d56bde3f43ac403e5d5e2.jpeg)

---

<div class="post-metadata">

**Author:** ![developerthang](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@developerthang](https://community.sailpoint.com/discuss/u/developerthang)\
**Post date:** [May 26, 2023, 4:50am UTC](https://community.sailpoint.com/discuss/t/create-identity-calling-scim-api-launchedworkflows/28094/5 "2023-05-26T04:50:55Z")

</div>

Dude, you’re amazing. That worked!

SailPoint documentation is bad as always.
