Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8709

Re: Pass field value from Request to Response Mapping, without BPM in PI 7.11

$
0
0

you can try using Globals in a UDF, thought I am not sure this works in PI 7.1

 

 

setParameter

public String setParameter(String parameterName, String parameterValue, Container container) throws StreamTransformationException{
GlobalContainer glc = container.getGlobalContainer();
glc.setParameter(parameterName, parameterValue);
return(parameterValue);
}

getParameter

public String getParameter(String parameterName, Container container) throws StreamTransformationException{
GlobalContainer glc = container.getGlobalContainer();
String value = (String) glc.getParameter(parameterName);
return(value);
}

good luck


Viewing all articles
Browse latest Browse all 8709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>