[Clarity Needed] Using input as params for "Run Custom Javascript" step in Workflow #215

Open
opened 2026-04-05 16:19:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Skowt on 12/11/2025

Is your feature request related to a problem? Please describe.
I want to be able to reuse a 'Run Custom Javascript' step by connecting different other blocks to it and sending a structured message to it. However, I can't target the input to the block. I'm not sure if this is meant to be possible or if it's just a way to trigger blocks in a certain sequence?

Describe the solution you'd like
In the 'arguments' section of the 'Run Custom Javascript' block, I'd like to include an argument which takes in the input passed to the 'in' port of the block, e.g. something like:

{{local.components.run-custom-javascript.in}} that would then return whatever the returnValue was from the previous block. I hope that makes sense.

Describe alternatives you've considered
N/A

Additional context
Image

In the screenshot, the 'Run Custom Javascript' block should receive the output from either block attached to it and be able to use it in the arguments, without needing to specify specifically which block to get the output from.

*Originally created by @Skowt on 12/11/2025* **Is your feature request related to a problem? Please describe.** I want to be able to reuse a 'Run Custom Javascript' step by connecting different other blocks to it and sending a structured message to it. However, I can't target the input to the block. I'm not sure if this is meant to be possible or if it's just a way to trigger blocks in a certain sequence? **Describe the solution you'd like** In the 'arguments' section of the 'Run Custom Javascript' block, I'd like to include an argument which takes in the input passed to the 'in' port of the block, e.g. something like: ``{{local.components.run-custom-javascript.in}}`` that would then return whatever the returnValue was from the previous block. I hope that makes sense. **Describe alternatives you've considered** N/A **Additional context** <img width="742" height="528" alt="Image" src="https://github.com/user-attachments/assets/94329917-f493-4c94-8874-b103e9695fc9" /> In the screenshot, the 'Run Custom Javascript' block should receive the output from either block attached to it and be able to use it in the arguments, without needing to specify specifically which block to get the output from.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#215