Custom request object:
<AssignMessage name="AssignMessage-2"> <AssignTo createNew="true" type="request">partner.request</AssignTo> <Set> <Verb>POST</Verb> <Payload contentType="text/xml"> <request><operation>105</operation></request> </Payload> </Set> </AssignMessage>
How to retrieve partner.request (custom request object created above) in java script code?
@Prithpal Bhogill
Solved! Go to Solution.
If
var partner_request = context.getVariable("partner.request");
does not work try
var partner_request = context.getVariable("partner.request.content");
// This will Get the payload of the request message
var partner_request = context.getVariable("partner.request");
If
var partner_request = context.getVariable("partner.request");
does not work try
var partner_request = context.getVariable("partner.request.content");
// This will Get the payload of the request message
Thanks a lot @Vipul Agarwal. This works...!!!
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |