0 votes

We have users with a value of a space for their mobile number and telephone number. I would like to figure out who these users are and null the value. Or if the value contains a number leave it alone. if it does not have a number then null the value.

by (40 points)

1 Answer

0 votes
by (3.3k points)

Hello,

To do this, you can use a scheduled task for the User object type, configured to run only once. For example: image.png

The mobile and telephone numbers should be cleared with the Update the user actions in the scheduled task: image.png To clear the numbers only if the current value is a space, you need to use the If <property> <relation> <value> condition and specify If - Telephone Number - equals -   in the condition parameters like so: image.png Alternatively, you can select If - Telephone Number - matches regexp and specify a regular expression which the property values should match to become cleared.

The scheduled task should be assigned over All objects or over Organizational Units / domains where you would like to look for users with spaces in phone numbers. For more details about creating scheduled tasks, have a look at this tutorial.

Related questions

0 votes
1 answer

Greetings. When I create the parameters to make a business rule that looks for users whose Email Proxy Adresses does not contain 'SMTP:%userPrincipalName%', it still generates profiles ... and primary SMTP address don't match. Version is 2023 How rule is set

asked Dec 19, 2022 by MShep (60 points)
0 votes
1 answer

We have a 3rd party vendor that we are able to add users based on AD security groups. What I need to do is set a parameter for the number of available licenses and whenever ... the group is 495 I would like an email to trigger telling me to add more licenses.

asked Oct 12, 2022 by A_Pastor (70 points)
0 votes
1 answer

We'll be updating over 14K accounts with data (adding data to a virtual attribute) using a scheduled task but I don't want the updates to trigger Business Rules and flood the Adaxes log with entries. Is there an easy way to prevent this?

asked Apr 12, 2022 by sandramnc (820 points)
0 votes
1 answer

The section is not defined in the available options in Adaxes and it is in the AD as well. Eg; I need to add a section called ' Security Access' and have it ... to select from options like User Directory, Internet access, Track-It account , SAP access etc.

asked Oct 13, 2021 by Aishwarya Gavali (40 points)
0 votes
1 answer

In order to add a managed domain does it have to be trusted by the primary domain adaxes is installed an running in? I have set up a domain for testing adaxes and it ... I have set my host file to point the untrusted domain to it's primary Domain Controller.

asked Oct 5, 2022 by mightycabal (420 points)
2,937 questions
2,654 answers
6,870 comments
160,303 users