and more in a single search tool across platforms. Read the announcement here. |
04/12/2024 04:15 AM
Hello Everyone,
I am trying to update the AD Account based on the Description of Account, and I am getting the following error :
Error while Update operation for account-testuserfournc in AD - No such property: description for class: java.lang.String.
I have tried various JSON, but still getting the same error.
1. {
"description": "${(account.description ?: user.title) ?: ''}"
}
2. {
"description": "${(account.description != null && account.description != '') ? account.description : user.title}"
}
3. {
"description": "${account.description != null ? account.description : user.title}"
}
4. {
"description": "${account.description ? account.description : user.title}"
}
Also, I have used if else condition, still I am getting the same issue.
Thank You.
04/12/2024 05:08 AM
description is not exposed
04/12/2024 05:12 AM
I have also tried for different conditions on account such as account.customproperty9, still the same error. Is custom property exposed ?
04/12/2024 05:13 AM
Also, can you tell me, which are the exposed ones for the account.
04/12/2024 05:18 AM
User object
04/12/2024 05:20 AM - edited 04/12/2024 05:25 AM
Account object is also exposed
{
"description": "${account?.description !== undefined ? account?.description : user?.title}"
}
04/12/2024 05:23 AM
can u check :
"description": "${(account.description.toString() != null && account.description.toString() != '') ? account.description : user.title}"