You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error "Cannot read properties of undefined (reading 'workflow_raw')" occurs because the workflowData object is expected to have a workflow_raw property, but it is undefined at the time of access. To resolve this issue, ensure that the workflowData is correctly fetched and passed to the ExecutionResults component in the BuilderWorkflowTestRunModalContent.
Here are some steps to check:
API Endpoint: Verify that the API endpoint /workflows/${workflow_id} is returning the expected data structure, including the workflow_raw property. This property should be part of the response [1].
API Readiness: Ensure that the api.isReady() condition is met, which allows the API call to be made. This condition checks if the API is ready and if the timeframe does not exceed 14 days [2].
Data Availability: Before rendering the ExecutionResults component, make sure that workflowData is not null or undefined. This can be done by adding a conditional check to ensure that the component only renders when workflowData is available.
By addressing these points, you should be able to supply the ExecutionResults component with the necessary workflow data and avoid the error.
Describe the bug
To Reproduce
Expected behavior
See test execution result
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
ExecutionResults
component is not supplied with workflow data in theBuilderWorkflowTestRunModalContent
The text was updated successfully, but these errors were encountered: