Or, if this parameter value is retrieved from the AMQP message itself, you need to obtain it from the msg (see the default script handler of the Subscription policy) and pass it on to the workflow, which you can call from the scripting like this:
var params = new Properties();
params.put("workflowParam", paramValue);
Server.getWorkflowWithId("asdfasfasdf-asdf-2345-1234-adfasdfasfadf").execute(params);
The workflow id you can get when you Ctrl-C over a selected workflow in the vCO client.
The workflow id you can get when you Ctrl-C over a selected workflow in the vCO client.
Best regards.