on 12-02-2011 4:04 PM
Hi experts,
I have a maybe simple but urgent question.
I have a field with fixValues:
input output
d1--> cr1
d2 -->cr2
when input is d1 or d2 it's all ok.
When input is another value the output is blank, but in this case I need that output value is equal to input value.
Is possile?
thanks
Fabio
Hi Fabio,
which PI version you have?
In PI 7.11, in a FixValue, above your two columns (source, target), you have three options for "Behaviour if Lookup Fails":
1. Use Key
2. Use Default Key
3. Throw Exception.
choose option 1.
If you have not this option, in default value put something like "XXX_NOVALUE_XXX". And after your FixValue use a "IfS" to check if value returned by your FixValue is this constant, If yes, use source value, if not use returned values. So just add a "IF", easy to do.
regards
Mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>but in this case I need that output value is equal to input value
under option "Behaviour if lookup fails" -> "use key" in fix value function
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.