Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Creating REST Endpoint and save retrieved data into mongodb

Hi,

im new to talend. I try to create a REST Endpoint which receives some json data (this part is working). now i want to save this json data into a mongodb, but i cant find a mongodb component at the talend esb.

 

Second problem:

The json data im receiving have different types of data, for example:

{ "event": "opendoor", ... }

and

{ "event": "closedoor", ... }

now, if event is opendoor it should use the mongodb collection "opendoor" and if its closedoor it should be "closedoor". I tried the if statement, but the actions behind the if condition are limited right? but limited to what?

 

Thanks for help,

snooops

Labels (4)
1 Reply
Anonymous
Not applicable
Author

now i got a mongodb connection. I guess my ESB installation was broken.

 

2nd problem:

how do i use extracted values inside of an if condition?

 

after tExtractJSONFields_1 i want run if "event" == "opendoor". how do i need to call "event"?