I have a build and deploy config that pushes out a series of services to a test environment, all fine. After deploying I start the services running and kick off a process/workflow. This workflow is not run within the context of a test or test runner but I want to be able to report its progress back to the agent, ideally by querying a log or database and reporting errors back to TC. I then need to signal TC that the workflow is complete, either with success or failure.
What's the easiest way to go about this?