on 11-19-2010 3:27 PM
I have created a shared UDF Library and am successfully using the code in other mappings.
however when i am trying to apply the code to two new mappings, the code does not work! there is nothing special about the code. just get the MessageID.
public String GetMessageID(Container container) throws StreamTransformationException{
//This UDF gets the PI message ID
String constant;
java.util.Map map;
map = container.getTransformationParameters();
constant = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
return constant;
}
it works when i enter the messageID in graphical mapping, but when i test end to end, it does not work!
and as i mentioned, it works in two other interfaces... but not in the new one!
any thoughts?
after applying the latest patches it seems to have corrected iteslf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
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.