pipedream icon indicating copy to clipboard operation
pipedream copied to clipboard

[BUG] Data Store: Add or Update Single Record saves JSON Object Value as String

Open dylburger opened this issue 3 years ago • 2 comments

Describe the bug Data Store: Add Update Record saves JSON Object Value as String

To Reproduce Steps to reproduce the behavior:

  1. Create a new Workflow, add the action Data Store: Add or update a single record
  2. On the Value prop, input the JSON string: { "time":"{{steps.trigger.event.time}}" }
  3. Observed that the action is executed successfully FireShot Capture 397 - Pipedream - Connect APIs, Remarkably Fast - pipedream com
  4. But the Key stored is in String FireShot Capture 398 - Pipedream - Connect APIs, Remarkably Fast - pipedream com

Expected behavior

  • The stored value should be parsed and stored as object instead of String

Additional context First reported by user here

dylburger avatar Jul 24 '22 20:07 dylburger

Hello @dylburger, I can reproduce this bug. I've updated the issue description to add more details and added to our Component backlog.

Kindly check when you have time and edit if needed 🙏

vunguyenhung avatar Jul 25 '22 08:07 vunguyenhung

Note: affected actions are:

  • add-update-record
  • get-record-or-create
  • has-key-or-create

Basically, actions that use parseValue() function.

andrewjschuang avatar Jul 27 '22 20:07 andrewjschuang