You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Predicate not working

edited Mar 29, 2018 7:00AM in Integration 6 comments

Summary

Predicate not working

Content

Hello,

 

I had inserted a predicate in mapper file by "Inserting Literal" as below. But it doesnt work.

 

$GetCompanies/nsmpr0:executeResponse/nsmpr3:response-wrapper/nsmpr3:objects[nsmpr3:custom/nsmpr3:externalId=$AssignIDVar]/nsmpr3:resource_uri

 

$AssignIDVar is a temporary variable and assignment is done before the mapper.

 

I get an xpath error saying AssignIDVar not found.

 

Will this work, i read somewhere in this community that we can use variables also inside predicates.

 

Regards,

Rohit.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!