on 07-05-2010 7:30 AM
Hi,
I am testing my scenario and according to scenario, i need to generate target node as many times as the field is coming in the queue. i have noticed that due to there is first suppress value in queue the target node is not getting generated for any of the value.
Could you suggest on how to remove the first suppress value so that the target node could get generated. Also i have tried remove context, split by value or map with default but nothing worked.
Thank
Sam
Hi,
As per your requirement, Remove context will work which removes the context values to suppress. After that you can use SplitByValue function.
Input field > Collapse context> splitbyvalue (each value) -->output field
I think this will help you..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sam,
Create a UDF removeSUPPRESS to remove SUPPRESS(blue) in the queue:
1) Select Context function:
2) Parameters: public void removeSUPRESS(String[] a,ResultList result,Container container){
for (int i=0; i<a.length;i++){
if (! a<i>.equals(ResultList.SUPPRESS)){
result.addValue(a<i>);
}
}
Kindly let us know if this works for you.
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Remove Context should work here for your scenario...which will remove the contexts..for the values ...means removes the supress values if any...then u can use the splitByValue if needed...
Check the context..the values are passing to the queues...
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.