cancel
Showing results for 
Search instead for 
Did you mean: 

Pass the constant values from configured externalized parameters CPI

ramu_g4
Participant
0 Kudos

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"

}

View Entire Topic
Varanganti
Explorer
0 Kudos

Try in the body like this

"reciver":{{User}}

This will show in additional values