Returning a value from a Button script does not work with "Ask User to provide value"

Now you can add a custom message by returning a string at the end of your script:

return tasks.length+" Tasks have been added from the template"

This does not work when the Automation makes use of “Ask user to provide value”: