cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to get Header value from Datastore

yatanveersingh
Active Participant
0 Kudos
2,339

Hi Guys,

I am working on a iflow where I am stuck at a point, While sending data to data store I am sending a value in the header as well, I can see the header is going to the data store, the issue is when I try to read this data from the data store using Data Store Select operation, it only gets the body and does not picks the headers.

below is the google drive link to the test iflows for inserting data to data store and reading data from data store.

https://drive.google.com/file/d/1cdCTDB2nRzfG5W4ZNs1Dke8d85R6HUgV/view?usp=sharing

This is what I am doing.

1. send data to data store

2. Data is inserted to data store.

Payload and header present if I download the message

3. iFlow to read the header and payload - Trace mode on.

4. Payload is visible

5. Header is not coming.

Thanks in advance.

Yatan

Accepted Solutions (0)

Answers (1)

Answers (1)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Yatanveer,

Please use GET Operation instead of SELECT then you should be able to retrieve Headers associated with Datastore ( I have tried with Global Visibility datastore it works well ).

Unfortunately SELECT operation doesnt retrieves headers may be you can raise a ticket to LOD-HCI-PI so our colleagues from development will help you.

Regards,

Sriprasad Shivaram Bhat

mgonzaleznieto
Discoverer
0 Kudos
Hi, I have the same problem with select operation but if I using Get operation I'm receiving this error "No identifier provided in header SapDataStoreId for GET operation" where is necessary inform this header parameter SapDataStoreId to get the header values from datastore? Thanks in advance Regards