Reading a Large JSON File in xMatters Custom Step

Not Yet Reviewed

I have created a JSON file containing large data (more than 2000 characters) and need to read it in an xMatters Custom Step. Could you please guide me on where to store the file and how to retrieve it within the Custom Step? 

0

Comments

2 comments
Date Votes

Please sign in to leave a comment.

  • Where is the JSON data coming from? Typically, the handling of parsing out properties is managed in the trigger or the step where the JSON data is acquired. Step inputs can take up to 20,000 characters. If you don't want to parse all the information in that trigger or step, you could break the JSON object into smaller related objects and pass those as values of several outputs.  Then pass those values to another step or steps in the flow.

    0
  • Thank you for your comment. Could you please guide me on how to read a JSON file in an xMatters custom script? Additionally, where should I store the file to ensure easy access?

    0

Didn't find what you were looking for?

New post