LightSwitch client uses standard JavaScript or jQuery techniques to extract query string values.
Ex. : How can I get query string values
I see that you're familiar with PreProcessQuery. I'm guessing that you have trouble binding WorkflowId parameter to search request. If that's the case, I'd recommend checking out this video:
How Do I: Filter Data on a Screen in the LightSwitch HTML Client?