Code execution fails

Execution breaks because $getWorkflowStaticData is used in an environment that does not support persistent storage, causing a QuickJS internal server error.

Indie:



n8n:



payload:

[
  {
    "orderId": "ORD-991",
    "customer": "Alex",
    "region": "NY",
    "cart": [
      { "item": "LAPTOP_PRO", "qty": 1, "price": 1200.50 },
      { "item": "mouse-rgb", "qty": 2, "price": 45.00 }
    ]
  },
  {
    "orderId": "ORD-992",
    "customer": "Sarah",
    "region": "tx",
    "cart": [
      { "item": "unknown-item", "qty": 5, "price": 0 },
      { "item": "LAPTOP_PRO", "qty": 1, "price": "1200.50" }
    ]
  },
  {
    "orderId": "ORD-993",
    "customer": "Mike",
    "region": null,
    "cart": "error-cart-empty"
  }
]


File:

Testing-17.json

15.2 KBβ€’ Text

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board

πŸ› Bug Reports

Date

11 days ago

Author

0x92a145E1f0c9d561d19AaBFA4df5826cA3cc4fAB

Subscribe to post

Get notified by email when there are changes.