on ‎2021 May 10 8:56 PM
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?
Request clarification before answering.
Hello Vignesh,
Please refer below link for more details
Define the value of a variable you want to modify. For example, you have defined a variable /name/{varname1}{varname2} in the resource field. Now use the Query Parameters for Resource field to define the value for {varname1}{varname2} variables. Use commas to separate more than variable such as varname1=hello world, varname2= hello SAP.As usage of property and headers not supported you can raise a reuqest to SAP get this feature.As an alternative you can use HTTP adapter to connect to your Open Connectors instance which supports dynamic variables.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.