Skip to Content

Help on HCI Iflow

Hi,

I need help on below requirement. How to achieve this in HCI?

1) Getting below payload from sender system -

<Payload>

<ID>1234</ID>

<CODE>abcd</CODE>

</Payload>

2) Now need to do one look up using HTTPS adapter to get a converted value to push into <CODE> tag.

URL to call for look up - https://<fixedURL>?ID=<ID field got from source payload>

i.e. https://abcd.com?ID=1234

Output of this request-reply will be a JSON data where I will get one different value of ID.

i.e. {

payload: {

"Desc": "ACDFFF",
"ID": "CAWR_1",
"Title": "jgsjgghjg",

}}

3) Now, I need to send the received data like below-

<Payload>

<ID>CAWR_1</ID>

<CODE>abcd</CODE>

</Payload>

Please help with the iFlow design and with the script coding if anything will be required.

Thanks ,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 15, 2017 at 10:04 AM

    Hello Apu,

    Below might help you.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2017 at 12:08 PM

    Hi Sriprasad,

    Thanks for your reply. Actually, the payload is not the simple one with two fields. There are lots of other fields, I am generating from mapping.

    For a test, I have tried with the request reply with hard coded value in the HTTP channel. But getting below error-

    Add comment
    10|10000 characters needed characters exceeded