on 12-02-2010 2:07 PM
Hi Experts,
I have an input field, which i need to be validated for three different conditions.
1. If the first input value contains any string 'B*" then my result should be "N20" ( a constant)
or
2. If the first input value contains any string 'M*" then my result should be "M20" ( a constant)
otherwise the value should be defaulted to 'M30".
how do i map this in message mapping,
Kindly help in this regard.
thanks
Nandu
Hi Nandu,
This can be achieved by susing standard functions in PI.
Use If-then-Else conidtions and use the text function "startsWith".
This will give you your desired output.
Regards
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
create a UDF, in your code use regex (regular expressions) to validate your data.
regards
Naser
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.