Ask a Question

Send a message from the fixed rate generator?

EllaVader
Occasional 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


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?
1 REPLY 1
EllaVader
Occasional Contributor

Re: Send a message from the fixed rate generator?

Any help on this would be great. I am not seeing how to send a message from the fixed rate generator to a web-page runner.
I need the fixed rate generator to pass in data to use on the web-page runner each trigger it sends.

How do you do this?
cancel
Showing results for 
Search instead for 
Did you mean: