cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically Pass URL in CPI | Process Direct

yatanveersingh
Active Participant
0 Kudos

Hi Guys,

Is it possible in CPI to dynamically pass the URL for Process Direct from the calling process.

if no, can we do it for HTTP or SOAP based calls.

Thanks

Yatan

MortenWittrock
Active Contributor
0 Kudos

Hi Yatanveer

I'm not entirely sure what you have in mind. Do you want to set the channel address dynamically in the calling iflow?

Regards,

Morten

Accepted Solutions (0)

Answers (2)

Answers (2)

Hi Yatanveer,

I am not sure if this what you require.

But if you are using a receiver Process direct adapter and you want dynamically to point to right receiver you could use simple expression as the URL for example, ${header.address}

this should help !

thanks and regards,

Praveen T

yatanveersingh
Active Participant
0 Kudos

Hi Morten,

I have created 2 iFlows, 1st is receiving the payload (exposed as REST), and invokes the 2nd iFlow as Process Direct, however I want to pass endpoint dynamically.

1. So my first requirement is to have a kind of mapping file which can store key value pair.

Identifier=Value

Identifier1 = /dynamic/URLIdentifier1

Identifier2 = /dynamic/URLIdentifier2

Identifier3 = /dynamic/URLIdentifier3

2. Pass the value of URL dynamically. If this is not possible in Process Direct, I can try using HTTP or SOAP instead.

Thanks

Yatan