TOOLBOX Server Script - Returning Multiple Outputs

Hey Everyone,

I recently helped a friend out to use the Toolbox plugin to return multiple list outputs. I thought I would record a quick video on how I did this.

I usually define a function which returns the data as an object with the same Key’s that you have defined in your response within the toolbox plugin (In this case, outputlist1 and outputlist2)

The last step of the server side action is to call this function.

You can watch the walkthrough at: How to use the Server Script action in the Toolbox Plugin to return multiple outputs

2 Likes

Do you have a test app editor with this available?

I’m trying to convert this script used on client side with Bubble_fn element to be functional within the server script so that the output values are available for subsequent workflow actions in the backend

Screen Shot 2024-06-05 at 1.52.16 PM


I can’t give editor access unfortunately because of security issues but this is the server script

The key is the definition of outputlist1 and outputlist2 and then format the return statement as seen in the screenshots

1 Like

Thanks @adam30! Super helpful. Apprecaite you taking the time to walk through this.

1 Like

Thankyou!