cancel
Showing results for 
Search instead for 
Did you mean: 

Read JSON Values

amit_saroha
New Contributor III

Hi,

I have the below output from a mapper snap and I want to read the value from it. Could you suggest how to do it?

Required output - /hcmService/FlowActionsService?WSDL

JSON output from mapper is as below -

[
{
“HCM_Account”:
“/hcmService/FlowActionsService?WSDL”
}
]

1 ACCEPTED SOLUTION

Okay. So that means that you need to define it into the pipeline execute.
You can choose which name you want to give it to then use it into the child pipeline.
Example below:
Defined the parameter name: Database_Account
image
Next in the child pipeline you add the name in the pipeline parameters
image
And then you can use it in that pipeline.

But if you mean by only the value then you should map the value to the key so that means:
$Database_Account : “/hcmService/FlowActionService?WSDL”
Becomes
$/hcmService/FlowActionService?WSDL : “/hcmService/FlowActionService?WSDL”
And then pass it on as parameter name.

Is this what you mean?

View solution in original post

6 REPLIES 6

Okay. So that means that you need to define it into the pipeline execute.
You can choose which name you want to give it to then use it into the child pipeline.
Example below:
Defined the parameter name: Database_Account
image
Next in the child pipeline you add the name in the pipeline parameters
image
And then you can use it in that pipeline.

But if you mean by only the value then you should map the value to the key so that means:
$Database_Account : “/hcmService/FlowActionService?WSDL”
Becomes
$/hcmService/FlowActionService?WSDL : “/hcmService/FlowActionService?WSDL”
And then pass it on as parameter name.

Is this what you mean?

jcornelius
New Contributor III

If you pass the value in as a parameter to a pipeline, it will then be referenced as _Database_Account not $Database_Account. You can just send the doc stream into the pipeline and then reference it as $Database_Account and it will be push down and saved to $original.Database_Account