Skip to main content
Solved

Adding new user group in IAM

  • November 25, 2025
  • 3 replies
  • 71 views

Forum|alt.badge.img+3

Hallo,

Would like to check, how to add a new user group to a user in IAM? I have a process flow to add a new user group to a user but the store procedure I'm calling seems wrong.

 

Below is the sample of adding user group in user manually:

 

For auto created user group I use the task_copy_usr_grp store procedure in my endpoint url on web connector process action. 

 

Path: /indicium/iam/iam/usr_grp_usr(tenant_id=1,usr_grp_id='{to_copy_user_name_2}')/task_copy_usr_grp

 

But not sure if the store procedure is correct as i'm having an error 

 

 

Thank you in advance

Best answer by Mark Jongeling

Hi ​@Jheng,

The URL you are using is incorrect. As per OData API | Thinkwise Documentation, the correct URL for adding a new User group user would be: 

https://server/indicium/iam/iam/usr_grp_usr

With a POST body like:

{
"tenant_id": 1,
"usr_grp_id": "{usr_grp_id}",
"usr_id": "{usr_id}"
}

Note: {usr_grp_id} and {usr_id} must be handed a via a variable in the process flow

If you wanted to copy an existing record, it would still be like the request above. There is no task_usr_grp_usr.

This topic has been closed for replies.

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • November 25, 2025

Hi ​@Jheng,

The URL you are using is incorrect. As per OData API | Thinkwise Documentation, the correct URL for adding a new User group user would be: 

https://server/indicium/iam/iam/usr_grp_usr

With a POST body like:

{
"tenant_id": 1,
"usr_grp_id": "{usr_grp_id}",
"usr_id": "{usr_id}"
}

Note: {usr_grp_id} and {usr_id} must be handed a via a variable in the process flow

If you wanted to copy an existing record, it would still be like the request above. There is no task_usr_grp_usr.


Forum|alt.badge.img+3
  • Author
  • Vanguard
  • November 26, 2025

Hi Mark,

 

Thank you for the info, I'll give this a try. My purpose is to add a new user group to the existing user id

 

By thew way, the task_copy_usr_grp exist because I saw this in store procedure below. But if this doesn't work like i do, I will then try the above  request that you mention.

 

 

 


Forum|alt.badge.img+3
  • Author
  • Vanguard
  • November 26, 2025

Hi Mark,

 

Thank you it works!