on 10-26-2023 7:19 PM
Hi Experts,
We are working on SAP Integration Suite(Cloud Integration) to make POST call to API using below body as example.
So, I have hard coded the below JSON payload as body content modifier step.
But one of the JSON field value (here "receiver" should contain different values in different tenants).
How to define externalized parameters, for this JSON field "receiver" so that it can contain different values in each environment. Since it is not possible, to edit & deploy the iflow everytime in production tenant whenever the value changes.
As shown in below JSON payload, USER_1316138 is not always constant but different in each tenant and can also be changed in future. How to externalize the constant value and later pass that value to below JSON payload? Could you please guide to acheive this requirement in CPI. Thank you!
JSON Payload(as body):
{
"additionalText": "Test from postman",
"files": {
"${in.body}": "ContractPrices_${date:now:yyyyMMddHHmmss}"
},
"receiver": "USER_1316138"
}
Try in the body like this
"reciver":{{User}}
This will show in additional values
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.