cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Libray UDF does not work for all objects

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

after applying the latest patches it seems to have corrected iteslf