Hopefully a basic question but can't find an answer; When using a script to set the value of a Parameter in the Workflow options and start conditions, how is the script defined? I've tried using the below, but the Parameter value is empty, I cant find an example of setting the value in the SDK:
function onInit($context){
$workflow.Parameter("TestParam")="Test Value"
}