EllaVader
12 years agoOccasional Contributor
Send a message from the fixed rate generator?
Is it possible to send a message from the Fixed Rate Generator to a Runner each time it is triggered?
I need to pass in "studyIDs" to the runner from the generator and I am not sure how to get this message to the runner?
It looks like trigger() sends the trigger message to tell the runner to go, but how can I tell the runner about a studyID?
I added this in a local version of the FixedRate.groovy file
But will this get sent along in the trigger? What would I need to do to get this to the runner when triggered?
I need to pass in "studyIDs" to the runner from the generator and I am not sure how to get this message to the runner?
It looks like trigger() sends the trigger message to tell the runner to go, but how can I tell the runner about a studyID?
I added this in a local version of the FixedRate.groovy file
def studyMessage = new Message()
studyMessage['studyID'] = "TestID"
But will this get sent along in the trigger? What would I need to do to get this to the runner when triggered?