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

JensDeveloper
Contributor II

Hi @amit.saroha ,

What do you mean by reading it?
To capture the value from the json output you need to add a mapper snap to it and map the variable ‘HCM_Account’
image

image

image

Or am I misunderstanding something?

Regards

Jens

@JensDeveloper - I only need value part - /hcmService/FlowActionsService?WSDL

image

@amit.saroha ,

But you have it already into the variable $database_Account. So you need the value as a key or what do you wish to do with it?

I want this to be passed in another pipeline parameter as - /hcmService/FlowActionsService?WSDL
I mean only the value.