Hi @Jon,
Thanks for taking a look.
Here’s (sanitized) actual data from the HTTP Request Node:
[
{
"id": 107620,
"code": "xx",
"amount": "100.00",
"status": "publish",
"date_created": "2023-10-26T12:33:24",
"date_created_gmt": "2023-10-26T10:33:24",
"date_modified": "2023-10-26T12:33:24",
"date_modified_gmt": "2023-10-26T10:33:24",
"discount_type": "percent",
"usage_count": 0,
"individual_use": false,
"product_ids": [],
"excluded_product_ids": [],
"description": "student ticket",
"usage_limit": null,
"usage_limit_per_user": null,
"limit_usage_to_x_items": 1,
"free_shipping": false,
"product_categories": [
121
],
"excluded_product_categories": [
242
],
"exclude_sale_items": false,
"minimum_amount": "0.00",
"maximum_amount": "0.00",
"email_restrictions": [
"[email protected]"
],
"used_by": [],
"meta_data": [],
"_links": {
"self": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons/107620"
}
],
"collection": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons"
}
]
}
},
{
"id": 107619,
"code": "xx",
"amount": "100.00",
"status": "publish",
"date_created": "2023-10-26T12:33:08",
"date_created_gmt": "2023-10-26T10:33:08",
"date_modified": "2023-10-26T12:33:08",
"date_modified_gmt": "2023-10-26T10:33:08",
"discount_type": "percent",
"usage_count": 0,
"individual_use": false,
"product_ids": [],
"excluded_product_ids": [],
"description": "student ticket",
"usage_limit": null,
"usage_limit_per_user": null,
"limit_usage_to_x_items": 1,
"free_shipping": false,
"product_categories": [
121
],
"excluded_product_categories": [
242
],
"exclude_sale_items": false,
"minimum_amount": "0.00",
"maximum_amount": "0.00",
"email_restrictions": [
"[email protected]"
],
"used_by": [],
"meta_data": [],
"_links": {
"self": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons/107619"
}
],
"collection": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons"
}
]
}
},
{
"id": 107618,
"code": "xx",
"amount": "100.00",
"status": "publish",
"date_created": "2023-10-26T12:32:58",
"date_created_gmt": "2023-10-26T10:32:58",
"date_modified": "2023-10-26T12:32:58",
"date_modified_gmt": "2023-10-26T10:32:58",
"discount_type": "percent",
"usage_count": 0,
"individual_use": false,
"product_ids": [],
"excluded_product_ids": [],
"description": "student ticket",
"usage_limit": null,
"usage_limit_per_user": null,
"limit_usage_to_x_items": 1,
"free_shipping": false,
"product_categories": [
121
],
"excluded_product_categories": [
242
],
"exclude_sale_items": false,
"minimum_amount": "0.00",
"maximum_amount": "0.00",
"email_restrictions": [
"[email protected]"
],
"used_by": [],
"meta_data": [],
"_links": {
"self": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons/107618"
}
],
"collection": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons"
}
]
}
},
{
"id": 107617,
"code": "xx",
"amount": "100.00",
"status": "publish",
"date_created": "2023-10-26T12:32:48",
"date_created_gmt": "2023-10-26T10:32:48",
"date_modified": "2023-10-26T12:32:48",
"date_modified_gmt": "2023-10-26T10:32:48",
"discount_type": "percent",
"usage_count": 0,
"individual_use": false,
"description": "student ticket",
"product_ids": [],
"excluded_product_ids": [],
"usage_limit": null,
"usage_limit_per_user": null,
"limit_usage_to_x_items": 1,
"free_shipping": false,
"product_categories": [
121
],
"excluded_product_categories": [
242
],
"exclude_sale_items": false,
"minimum_amount": "0.00",
"maximum_amount": "0.00",
"email_restrictions": [
"[email protected]"
],
"used_by": [],
"meta_data": [],
"_links": {
"self": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons/107617"
}
],
"collection": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons"
}
]
}
},
{
"id": 107616,
"code": "xx",
"amount": "100.00",
"status": "publish",
"date_created": "2023-10-26T12:32:37",
"date_created_gmt": "2023-10-26T10:32:37",
"date_modified": "2023-10-26T12:32:37",
"date_modified_gmt": "2023-10-26T10:32:37",
"discount_type": "percent",
"usage_count": 0,
"individual_use": false,
"product_ids": [],
"excluded_product_ids": [],
"description": "student ticket",
"usage_limit": null,
"usage_limit_per_user": null,
"limit_usage_to_x_items": 1,
"free_shipping": false,
"product_categories": [
121
],
"excluded_product_categories": [
242
],
"exclude_sale_items": false,
"minimum_amount": "0.00",
"maximum_amount": "0.00",
"email_restrictions": [
"[email protected]"
],
"used_by": [],
"meta_data": [],
"_links": {
"self": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons/107616"
}
],
"collection": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons"
}
]
}
},
{
"id": 107615,
"code": "xx",
"amount": "100.00",
"status": "publish",
"date_created": "2023-10-26T12:32:27",
"date_created_gmt": "2023-10-26T10:32:27",
"date_modified": "2023-10-26T12:32:27",
"date_modified_gmt": "2023-10-26T10:32:27",
"discount_type": "percent",
"usage_count": 0,
"individual_use": false,
"product_ids": [],
"description": "student ticket",
"excluded_product_ids": [],
"usage_limit": null,
"usage_limit_per_user": null,
"limit_usage_to_x_items": 1,
"free_shipping": false,
"product_categories": [
121
],
"excluded_product_categories": [
242
],
"exclude_sale_items": false,
"minimum_amount": "0.00",
"maximum_amount": "0.00",
"email_restrictions": [
"[email protected]"
],
"used_by": [],
"meta_data": [],
"_links": {
"self": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons/107615"
}
],
"collection": [
{
"href": "https://www.***.com/wp-json/wc/v3/coupons"
}
]
}
}]
I’ve realized that I simplified the sample workflow I sent along here too much (apologies). There’s actually a MySQL Node in there and when that’s in the way, the Nodes further along the workflow trying to grab data from the If Node error out, even though the number and order of Items doesn’t change.
Workflow without MySQL Node:
With MySQL Node:
Detail of error:
Here’s the workflow causing the error:
Both sample workflows (with and without MySQL) work fine on 1.9.3.
Thanks in advance for looking into this.
EDIT: (data from the MySQL Node):
[
{
"student_ticket_exp": "2023-12-17"
},
{
"student_ticket_exp": "2023-12-17"
},
{
"student_ticket_exp": "2023-12-17"
},
{
"student_ticket_exp": "2023-12-17"
},
{
"student_ticket_exp": "2023-12-17"
},
{
"student_ticket_exp": "2023-12-17"
}
]