How do I set a value to the output parameter
Question

I made an SQL query in a server action. Outsystems asks me to create an output parameter and set a value to it. For help it points me to the invalid data action and tells me to add a value, but never tells me how. I also watched the Becoming a reactive webdeveloper guided path's video "How to Create a custom select sql query, but there this problem never occurs.

I get an error to set a value to the output parameter, but how is that done ?

mvp_badge
MVP
Solution

Hi Emmi,


To set / assign a value to a parameter or a local variable, you just need to drag the Assign widget from the left pane, and then set the value of the output parameter to be the output of the SQL query:


Kind Regards,
João

Thank you so much!

Emmi

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.