I'm finding that if a local variable is set using custom javascript but you attempt to use the WYSISYG drag and drop for setting a services input variable, the value is not passed.
Only if you again use custom javascript of setting the service variable does the value pass correctly.