Data Output error

Getting error in the script task. I'm trying to pass the below jsonPV in PM.I want to store the id values in DB as separate row









  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to ZAINAB

    Yes, this can be handled in the process model. The cleaner approach is to use an expression rule that takes the JSON and requestId, transforms the data, and returns the list of records. You can call it in a Script Task post-integration. That said, if it’s a one-off, you can also write the expression logic directly in the Script Task ~ both work, just depends on how modular you want it.
    After that, simply pass the result to a Write to Data Store Entity or Write to Records node to save it to the DB.

Children