Error while updating Identity attribute variable via Workflow(HTTP) Action trigger

Hi Everyone,

I hope everyone doing well !
Currently I am working on one use case where I need to update two identity attribute value input for particular user via form inputs using workflow functionality, When I tried to use HttpAction Trigger into my workflow (Update Identity Attribute) got certain errors on Update Identity attribute API that belong to v2024, I am not sure whether its supportable right now for V2024 API for Http action trigger, got same error after trying same via Postman client.

Error :405 (method not allowed)

Hi @LearningStar Can you give more information on the issue like which attribute you are trying to update and what’s the http operation payload looks like in the workflow test input?

@Santhakumar thanks for looking into this, I am trying to update two attributes which are present at Identity profile I need to update at user attribute level since this use case created for New Joiner event,
There are two attributes which is Business Location, Client-role these two inputs we need to get it from User Input via form into workflow.

There are two inputs that we are derived from form inputs and those inputs we need to add at identity attribute for user whom this trigger applied.

Request URL :https://xyzyz.api.identitynow.com/v2024/identity-attributes/:name

Request URL parameters

name :displayName

PUT : Method
body :
{“displayName”:“Cost Center”,“multi”:false,“name”:“costCenter”,“searchable”:false,“sources”:[{“properties”:{“ruleName”:“Cloud Promote Identity Attribute”,“ruleType”:“IdentityAttribute”},“type”:“rule”}],“standard”:false,“system”:false,“type”:“string”}

I am using the default one as my previous created payloads were getting failed at workflow test level.

Ignoring your error for now, this endpoint is for updating the definition of an identity attribute, not updating the value of an identity attribute on a specific identity. You cannot update an identity attribute value directly via API, they can only be influenced via a source mapping, transform, or rule.

2 Likes

Hi @LearningStar,

I tried to update the Searchable name it work properly by using the beta version.

please check the screenshot for your reference:

Note: what name you want to change give in displayName.

Response:

Output:

Please check on below link for your reference:

Thank you!

2 Likes

Hi @LearningStar,

I also tries with v2024 version it also worked.

Please check the screenshot for your reference.

Note: Please use in Headers :
X-SailPoint-Experimental : true
then it will work.

URL:

:

name: Technical name
Body:

{
“name”: “costsentric”,
“displayName”: “costSentricsee”,
“standard”: false,
“type”: “string”,
“multi”: false,
“searchable”: true,
“system”: false,
“sources”: null
}

Screenshot:

Response:

Output:

Also Please check the link for your reference:

Thank you!

1 Like

You can’t update the identity attribute value in ISC. You can edit only the searchable name attribute not any other attributes.

I think you can go with another approach. SInce ISC didn’t have the capacity to update the identity attribute.

Hope this helps.

You can update the displayName of the attribute but not the actual value that the attributes is populating.

Thanks Everyone for your great response, I understood that its not supported to update identity attribute via API.

@colin_mckibben @Santhakumar

Which way would be more suitable for this use case as we need to update user attributes via form input here from workflow ? Do you know any other way around that we can use here. it should use form inputs those 2 values should be write to identity attribute for user this action triggered.

There is no way to update the identity attribute via workflow. May be you can create an Idea on Ideas Portal.

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