on 05-20-2022 2:37 PM
Hi,
I am using a Groovy script to map a field from source to target using the Message Mapping component in SAP BTP(CPI).
Is there a limitation, that I am not aware of, related to the number of input parameters I am allowed to use? When my method includes more than 1 input parameter, the mapping does not work. No value is returned.
However, when I remove the additional parameters, and keep only one, the method works as expected.
I have attached a file with the Groovy method that I am using. groovy-method.txt
Appreciate the help, thanks.
The issue was related to the XML simulation file, not the Groovy method itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Francisco,
Your Groovy script is referencing an undefined/unknown token called termination in your else if statements.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.