on 02-06-2013 3:45 PM
hi brf+ experts,
How to check text value against some text pattern in BRF+?
For example: I want to check that First name = "Hello world" against pattern "+ell++w*d", and get true?
thanks,
Alexander
Hi Alexander
You can use the "matches pattern" operator within a Rule, Boolean, Value Range or many other types of Expressions. Here is an example of how your pattern could be used in a Rule expression:
If you need more info on the "matches pattern" operator or any comparison operator then you could try this SAP Help link.
Kind Regards
Glen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, thanks a lot for this info!
But in the case from above there are some program's limitations.
So, I try to configure Business rule (BR) for automating monitoring in SAP GRC Process Control 10.0. This system uses BRF+ formula expression engine for this BR.
Example of formula for BR in Process Control (formula in this example doesn't work):
Therefore, are there any possibilities to compare text with pattern in formulas?
Thanks for your help. Also I'll try to solve this problem with the suggested approach through BRF+ workbench.
Alexander.
Thank you all!
I used the "matches pattern" operator within Boolean type of Expressions. And insert this expression to my formula through BRF+ workbench.
Kind Regards
Alexander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.