0 votes

Good Afternoon,

I have been looking through the forums and I might have missed it, but here's what I'm looking to do

I currently have a business rule that is being used for our standard user creation process. We have Businesses that use both local user machines and thin clients, and we have different memberships and options that apply to both.

My first question is how to edit a drop down custom attribute (ex. with thin client and local machine options)?

I'm also curious if it is possible to nest conditions under other conditions, an example being a user if a user has a thin client, run through a specific set of conditions following that. IF not then follow another set of different conditions.

Let me know if I need to explain my request further.

by (700 points)

1 Answer

0 votes
by (216k points)

Hello,

My first question is how to edit a drop down custom attribute (ex. with thin client and local machine options)?

Do you mean creating a drop-down list of possible values for a property so that users can pick what they need from a list? Take a look at the following tutorial that shows how to create a list of drop-down values for the Department property: http://www.adaxes.com/tutorials_Simplif ... tments.htm. You can use the same approach to create a drop-down list for any other property.

I'm also curious if it is possible to nest conditions under other conditions, an example being a user if a user has a thin client, run through a specific set of conditions following that. IF not then follow another set of different conditions.

Currently, it is impossible to create nested conditions. Moreover, there is no Else for Business Rule conditions, only an If. To workaround the issue, you can use Custom Commands. Custom Commands are a set of actions and conditions that can be launched manually. One of the advantages of Custom Commands is that you can launch them directly from Business Rules.

In the case of your example, you can create two Custom Commands, one for thin clients, and another one for other cases, and launch them depending on which type of client is used by your customer.

Also, in Adaxes, everything you can make with the help of Business Rule actions and conditions, you can also do with the help of PowerShell scripts. If you have very complicated nested conditions with varying parameters, maybe a good idea would be to create a PowerShell script for this purpose? In this article from our SDK, you can find a few tips and examples of PowerShell scripts launched with the help of Business Rules, Custom Commands or Scheduled Tasks: http://www.adaxes.com/sdk/?ServerSideScripting.html. If you need assistance with a script, we can help you.

0

thank you for the reply,

you've given me an idea how to proceed. I'm still looking for how to change the customattributetext1 property to something a little more user friendly.

0

Related questions

0 votes
1 answer

I am wanting to export a list of users including the properties of a specific custom attribute. Ideally, I would be able to run a get-admuser and filter on a custom attribute, but even an excel report with the custom attributes would work. Is this possible?

asked Sep 9, 2021 by ggallaway (300 points)
0 votes
1 answer

I have a question: I have a security role that allows specific users to modify "extensionattribute2" in AD. Is it possible to create an approval for this that would ... manager of the target account to approve the change before it is really applied? Thanks!

asked Jan 16, 2012 by BradG (950 points)
0 votes
0 answers

Hi Support, how do I check if extensionAttribute9 was filled in (regardless of its value) when employeeType (which in our case is a dropdown with different values) is set ... with some sort of remark to the initiator if it wasn't? kind regards Ingemar

asked Feb 1, 2016 by ijacob (960 points)
0 votes
1 answer

Hi, is it possible to combine conditions with AND and OR in one action? For example: if the Operation succeeded AND the 'Department' property equals 'Marketing' OR the 'CustomAttributeText1' equals 'Yes' then Action thank you in advance, Napoleon

asked Jul 4, 2013 by Napoleon (700 points)
0 votes
1 answer

Im trying to rename "Extension attribute 1 and 2" to something legible for users. Is there a way to cahnge the dsiaply name myslef like how other attributes are done?

asked Feb 17, 2023 by raul.ramirez (210 points)
3,538 questions
3,229 answers
8,224 comments
547,747 users