0 votes

Hello,

Based on your script, we check whether there is already a request. However, we often get the following error and do not know why. Can you help us?

Cannot compare "Softerra.Adaxes.Adsi.Search.AdmSearchResult" because it is not IComparable. Stack trace: at <ScriptBlock>, <No file>: line 19
Business Rules: Command Processor 'Business Rules' threw an exception when processing the command. ↲ A list of actions to be triggered by Business Rules couldn't be generated. ↲ Failed to check the following condition of the 'Before Updating a User' business rule: If script 'Check for any requests' returns true. ↲ Cannot compare "Softerra.Adaxes.Adsi.Search.AdmSearchResult" because it is not IComparable.

Thank you

by (300 points)

1 Answer

0 votes
by (13.8k points)

Hello,

Thank you for pointing out the issue. We updated the first script in the repository article you mentioned. Please, replace the script in your business rule condition with the updated one.

0

That's great. Thank you very much!

0

Hello again,

I have now tried the new script and now receive an approval request every day, is that normal?

Regards

0

Hello,

Please, provide us with all the possible details regarding the workflow you have. Screenshots and live examples will be much appreciated. You can post them here or send us at support@adaxes.com.

Related questions

0 votes
1 answer

Hallo everyone, I'm new to this Forum and I hope that someone can help me. My Environment: - Adaxes Backend Service and Web Frontend running on different mashines. - The backend ... I change the scope of objects :?: Question: Can someone help me? Thanks a lot.

asked Apr 28, 2015 by ATiedemann (360 points)
0 votes
1 answer

Hi if a request is send to the supervisor of the requester and he does not approve in 7 days can the request be forwarded to the supervisors manager for approval?

asked Sep 29, 2023 by johanpr (120 points)
0 votes
1 answer

and script is but nothing is happeneing. my user in adaxe browwser has the attribute to yes

asked May 10, 2023 by fjacques (20 points)
0 votes
1 answer

Hello, I need to check, from a csv file, if users exist or not. I do not have the login name but only the atributs Name givenName The output must be another csv file ... " --&gt; False or True Is there an Adaxes script existing doing this? Thanks in advance!

asked Feb 4, 2019 by tentaal (1.1k points)
0 votes
1 answer

I have a created a powershell script that imports users in to Active Directory, creates a result file, archives the CSV and the result file, and e-mails specified users when with ... but I'm very new to Powershell and I have no idea where to begin. Thanks!

asked Jan 24, 2014 by rlsparks (130 points)
3,538 questions
3,229 answers
8,222 comments
547,739 users