Bug: "Run Custom JavaScript" return error #1249

Closed
opened 2026-04-05 16:26:18 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @koroglumert on 1/28/2024

Describe the bug
When a workflow is designed as follows, the return value => {"returnValue":{}}
Value when a message is sent to Slack => [object Object]

To Reproduce
Steps to reproduce the behavior:

  1. Manuel trigger + Run Custom JavaScript + Send Slack

Expected behavior
Accessing the return value of the code

Screenshots
Run Custom JavaScript Component
Ekran Resmi 2024-01-28 23 41 35

Slack Component details
Ekran Resmi 2024-01-28 23 41 53

Run & Logs and return errors
Ekran Resmi 2024-01-28 23 42 16

Desktop (please complete the following information):

OS: MACOS 14.0
Browser: chrome
Version release, after Commits on Jan 12, 2024
Deployment Type
Is this issue on my server?

Additional context
Add any other context about the problem here.

*Originally created by @koroglumert on 1/28/2024* **Describe the bug** When a workflow is designed as follows, the return value => {"returnValue":{}} Value when a message is sent to Slack => [object Object] **To Reproduce** Steps to reproduce the behavior: 1. Manuel trigger + Run Custom JavaScript + Send Slack **Expected behavior** Accessing the return value of the code **Screenshots** Run Custom JavaScript Component <img width="917" alt="Ekran Resmi 2024-01-28 23 41 35" src="https://github.com/OneUptime/oneuptime/assets/83726007/558fdedd-f14c-4466-8b01-43bd9159613a"> Slack Component details <img width="811" alt="Ekran Resmi 2024-01-28 23 41 53" src="https://github.com/OneUptime/oneuptime/assets/83726007/71778029-8627-4e88-a743-fb109b182bcf"> Run & Logs and return errors <img width="862" alt="Ekran Resmi 2024-01-28 23 42 16" src="https://github.com/OneUptime/oneuptime/assets/83726007/c43b238e-25c0-4294-80df-dfca138135bd"> Desktop (please complete the following information): OS: MACOS 14.0 Browser: chrome Version release, after Commits on Jan 12, 2024 Deployment Type Is this issue on my server? Additional context Add any other context about the problem here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1249