Running an Agent from a Web Service

I’m writing my first web service. It will create a document, set field values and return a response to the caller. My problem is that I also need to kick off an agent that IMMEDIATELY performs additional processing on the document that I’m creating, but I don’t want to hold up my response to the caller of the Web Service while that processing happens.

Is there a way to kick off an agent from my Web Service, but not wait for it to finish before returning a response to the caller?

Thanks in advance to anyone who responds!

Rebecca

Subject: Running an Agent from a Web Service

You can have your webservice issue a console command to start an agent - there is no direct way to send a note ID as a parameter, so you’d have to make sure you could use a view selection or other criteria in the agent to process the documents.

Subject: RE: Running an Agent from a Web Service

Thanks for your response Peter!