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

Variable Resource path based on incoming data while using SAP Open Connectors

0 Likes
1,448

Hello Experts,

I have established connection to Dayforce CRM systems via SAP Open Connectors. In Integration Flow, I have to pass the Resource value {id} in the below path based on the value received in the XML field from source. I am finding it difficult to pass this value to the Resource Path. Can you please suggest a way to pass the value to the variable {id} in the URL path.

Sample Source XML:

<?xml version='1.0' encoding='UTF-8'?>

<EmpDetails>
<Department>LM10</Department>

</EmpDetails>

I need to pass LM10 value to {id} in the Resource path. I have tried to pass the value by setting XPATH type condition and passing them to header (${header.department}) and exchange property(${property.department}), but unfortunately the value is not being passed to the URL.

It works if I pass a constant value under Query parameters for Resource like id=LM10, but I need to pass variable value based on the payload data.

Can you please help me on this issue with a solution/blog which I can refer to?

View Entire Topic
Sriprasadsbhat
Active Contributor
0 Likes

Hello Vignesh,

I dont thinkit will be available immediatelyif you raise a ticket as it should go through developement lifecycle for feature enablement.

I would suggest ( personal suggestion ) go with HTTP adapter as interim solution.

Please raise improve request using below link ( customer influence program ).

https://blogs.sap.com/2020/05/29/central-sap-cloud-platform-feedback-requirements-channel-for-custom...

Regards,

Sriprasad Shivaram Bhat