cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to read and fetch incoming documents in Script snap while using in JavaScript mode

vaidyarm
Contributor

i am planning to use script snap to read incoming data from json generator. through script snap i need to apply some complex logic on this document and then output it, how the incoming document can be refereed in script snap ? also is there any limitation of javascipt functions to be used in script snap?

Thanks

2 REPLIES 2

cstewart
Former Employee

If you drag a new Script snap on to the canvas, select JavaScript as the Scripting Language, the press the Edit Script button, it starts you off with a sample script.
The documentation for the script Snap also has a number of examples.

hi @cstewart

i am aware of use of snaps to archive this, what i am asking here is about much of things that happnes inside the script snap snippet to get my code running.

attached is the pipeline i want to execute, but facing some issuesDate Manipulation Using Java Script_2020_04_09.slp (10.3 KB)