Christopher30
Christopher304mo ago

Node doesn't work on production, but works when testing

I have built a worklfow using custom (empty) nodes. I tested these nodes individually and they return the expexted results. However, when I run the whole workflow, these nodes return completely different results. The input values are the same (when I test individual node and when I test the whole workflow). Anyone has had a similar experience or know what could be the issue here?
Solution:
Hi @Christopher30, this occurs when the values are parsed from different nodes, if you are referencing value as variables from different nodes in your workflow you'll require to ensure the returned type should be the expected by the next node. To debug, you can log values before each node and their type to ensure all values are correct on workflow test - https://docs.buildship.com/logging. If this still doen't work as expected after debugging with logs, you can submit a support request via app - https://docs.buildship.com/support-messages....
Jump to solution
2 Replies
Solution
Gaurav Chadha
Gaurav Chadha4mo ago
Hi @Christopher30, this occurs when the values are parsed from different nodes, if you are referencing value as variables from different nodes in your workflow you'll require to ensure the returned type should be the expected by the next node. To debug, you can log values before each node and their type to ensure all values are correct on workflow test - https://docs.buildship.com/logging. If this still doen't work as expected after debugging with logs, you can submit a support request via app - https://docs.buildship.com/support-messages.
Christopher30
Christopher304mo ago
Thank you! Seems that logging values really helped.