Decision Tables - Regular Expressions?

Tom Sienkiewicz
Mega Sage

Hi Everyone,

 

is there a way to have the Decision Table try to match an input based on a RegEx?

I have a Flow that uses a Decision and it could really use matching e.g. Short Description against some specific pattern.

Of course I can handle that as a custom scripted action but this would pretty much invalidate the usage of Decision Tables.

Does anyone know if perhaps such an enhancement is planned in the nearest future?

Thanks!

2 REPLIES 2

sourav1999
Mega Guru

• Decision tables are used to define a set of conditions and corresponding actions.

• Regular expressions are used to define a pattern that can be used to match strings.

• Decision tables can use regular expressions as conditions and/or actions.

• Regular expressions can be used to define conditions in decision tables, such as for validating input values.

• Regular expressions can also be used to define actions in decision tables, such as for setting field values.

 

For asking ServiceNow-related questions try this :

For a better and more optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.

Link - https://nowgpt.ai/

 

For the ServiceNow Certified System Administrator exams try this :

https://www.udemy.com/course/servicenow-csa-admin-certification-exam-2023/?couponCode=NOW-DEVELOPER

Hi @sourav1999 i dont think regex are allowed in decision tables.

 

@Tom Sienkiewicz did you figured out any possible way. I have submitted an idea for this requirement and also met with the product owner for platforms in this particular issue