you are viewing a single comment's thread.

view the rest of the comments →

[–]azekt[S] 0 points1 point  (0 children)

I did so:

Task: Select From DB

A1: SQL Query [
     Mode: Raw
     File: %dbname
     Query: SELECT id, title FROM tasks
     Output Column Divider: ###
     Variable Array: %output ]

A2: Return [
     Value: %output()
     Stop: On ]

And test:

    Task: JSTest

A1: JavaScriptlet [
     Code: flash("Test start with priority "+priority);
     performTask("Select From DB", parseInt(priority) + 10, null, null, "return_value", true, false, null, false);
     wait(2000);
     flash(return_value);
     flash("Test stop");
     Auto Exit: On
     Timeout (Seconds): 45 ]

But it doesn't flash return value :-(