Thankyou for the answer @reamon @jahntech.cj
The needs is i want to make general services that can support parameterizing mapping via databases. To achieve that i try to implement the concept of subtitute pipeline variable. so if i want to mapping payload into an some destination i just need declare in databases as json in databases which the value of the key it would be %value/path/from%
The concept of perform pipeline variable substitution and pub.string:subtitutePipelineVariables should be same right?
but i find bug in pub.string:subtitutePipelineVariables (webMethods 10.11) that they have different behavior with perform pipeline variable substitution. i can’t retrieve value as what i expected (in this case from array)
But finally I was able to solve it because this bug already fixed in webMethods 10.15 , thankyou! even when the index is not found it will retrun error (java.lang.ArrayIndexOutOfBoundsException)
Although it already solved, i want to hear from your perspective about the needs that i’m currently working (general services that can support parameterizing mapping via databases) and the concept of subtitute pipeline variable that i try to implement. in case you might have any suggest or advice ? Thankyou
#webMethods#webMethods-io-Integration#Integration-Server-and-ESB