Forum Discussion
I was able to get the result I was looking for by doing a Group by N with a group size of 0 and then a JSON formatter with Format Each Document and Pretty-Print checked. Then used a File Writer to create the expression library with the covcode data. Then I created another expression library with an expression to do a lookup from the original data fields to the covcode list that I could reference easily in a mapper. There were multiple places in my raw data that contained these covcodes, so this approach seems to reduce some additional snaps for me.
Thanks for the reply and your suggestions . Could you please tell me what will be expression to access the header for ex. CONTENT_TYPE.
The HTTP request headers are passed as parameters to the pipeline and can be accessed like other pipe parameters. Here’s an expression that would allow you to access the content_type, note it’s just the name of the header in all caps with an underscore prepended to it.
_CONTENT_TYPE
For more information on how to use the triggered tasks, this documentation is useful.
Related Content
- 3 years ago
- 3 months ago
- 4 years ago
- 12 months ago