The error message "Cannot read properties of undefined (reading 'body')" typically indicates that the program is trying to access a property from an object that is either not defined or does not exist. This can occur if the expected data isn't being passed to a function or node as anticipated. Here are some steps you can take to address this issue:
Check Workflow Configuration: Make sure that the workflow trigger is correctly configured. If the workflow ID and Trigger ID are not being used in the new version, ensure that the selection for the workflow trigger is correctly set up.
Verify Node Connections: Double-check that all nodes in your workflow are properly connected and that the data inputs and outputs match the expected schema. Any mismatches can lead to errors.
Error Handling: Consider adding error handling nodes or mechanisms to capture any data that might be causing the undefined state and log it for further analysis.
Update Issues: Since this issue arose after an update, there may be changes in the way triggers are handled. Reviewing the latest Buildship documentation or release notes might provide insights into handling this new configuration.
Try a Simple Test: Create a simple test workflow with minimal nodes to ensure that the basic triggering and data transfer mechanisms are functioning as expected.
If you're still encountering issues, it might be helpful to reach out to Buildship support for detailed assistance since they can access the most up-to-date information relevant to the update you mentioned.