Is it possible to use Regex to force a edit box parameter value to a specific format?
Forcing a user to input an alphanumeric as (###) ###-####
Hello,
Unfortunately, there is no such possibility. However, thank you for the suggestion. We forwarded it to the corresponding department for consideration.
Is there a script that you are aware that can check the value of the field and then correct it with the necessary regex formatting?
You can use an approach like the following with the below script in the If PowerShell script returns true condition.
$regularExpression = "^[0-9]{3}\-[0-9]{3}$" $Context.ConditionIsMet = "%param-myParameter%" -notmatch $regularExpression
I would prefer to not stop the action altogether. I suppose there isn't a way to rewrite the value in the script with the proper formatting? I am sure it's possible, but if that's programatically intensive I am fine researching on my own. Just didn't know if there were already existing conditions where you could pass the parameter value to another value and force it into compliance in between using regex.
The use case we are looking for is providing a list of titles for users to choose from when initiating a re-hire. We already have a title property pattern established and would ... that we can manage the list in one place. Let me know and as always, thanks.
Hello, you helped us with a script to set the oof-message. Now we want to know, if it's possible to activate/deactivate the mail-forwarding option time-based. In the ... deactivate it accordingly on "param-abw-ende" Can you help me with that? Thanks Carsten
Automation of user creation based on ServiceNow ticket creation.
I'd like to be able to either send an email report or export a CSV of all of the business rules carried out when a user is disabled. This would be ... Management Activity section but this includes things that weren't part of the disable operation. Thanks
Before Deactivation of an Account on the Webinterface our Help Desk need to change the AD User Description manually. Is it possible to force a manual change before deactivation ?