Forum Discussion

vaidyarm's avatar
vaidyarm
Contributor
6 years ago

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

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

  • cstewart's avatar
    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.