Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
08/15/2023 01:42 AM
Hi Team,
Im having a problem with User Update Rule - Account Termination, the user account cannot be deleted after user status change to inactive. Kindly assist me on this issue,
Thank you,
08/15/2023 04:09 AM
Hi @Isyraf ,
Can you share whole screenshot of update rule.
08/15/2023 06:03 AM
It depends on what action you have configured and what JSON you have written. Please paste screenshot of the rule.
08/15/2023
07:54 PM
- last edited on
08/15/2023
11:00 PM
by
Sunil
Please find attached image and JSON for you reference.
User update rule:
Remove Account JSON:
{
"accountIdPath": "accountName",
"responseColsToPropsMap": {},
"call": [{
"name": "Role",
"connection": "userAuth",
"url": "https://xxx.xx.xxx/api/v3/cloudbolt/users/${account.customproperty8.substring(18)}",
"httpMethod": "POST",
"httpParams": {
"isActive": false
},
"httpHeaders": {
"Authorization": "${access_token}"
},
"successResponses": {
"httpContentType": "application/json",
"statusCode": [200]
}
}]
}
08/16/2023 09:26 AM
Try last condition as AND
<<
If you are using basic configuration, ensure that you set the last condition as 'AND. If you are using a single condition or multiple conditions, it is mandatory to set the last condition set as 'AND' for the rule to correctly pick-up the conditions configured.
>>