Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
michaelh1
Contributor II
Contributor II

How to generate JSON in talend as input for tMOMOutput

Hello,

can someone help with generating simple JSON like this:

{"entityId":context.entityId,"author":"John Doe"} 

and send it to tMOMOutput as message?

 

First I have used for this tFixedfFowInput component for this but in the content i cant use context variables

I have used it like this:

0683p000009MaDr.png0683p000009MaDw.png

 

Without using context variables it was OK, but i cant use context variable in tFixedfFowInput content.

So basically what i need is to build JSON as String and send it to tMOMOutput.

 

Any help help is appreciated.

 

Thank you in advance.

Labels (2)
1 Solution

Accepted Solutions
michaelh1
Contributor II
Contributor II
Author

Meanwhile i have solved this by putting tMap component before tMOMOutput and build JSON in tMap component in output

View solution in original post

1 Reply
michaelh1
Contributor II
Contributor II
Author

Meanwhile i have solved this by putting tMap component before tMOMOutput and build JSON in tMap component in output