Terminate Real-Time Services

Overview

You (or your client) can submit macros or input variables in SOAP commands to terminate real-time data services and real-time process services. You submit a job run identifier when you request the service. Later, to kill the service, you include the ID in the unload command.

Set a Job ID

When you submit a job run request with ArchitectService or WorkFlowService, you set a job ID, which you can then use to terminate the real-time service. Submit the following key/value pair in a macro (in the varValue element) or as an input variable (in the inputs element):
__JOB_METADATA/USER_JOBRUN_ID = your-ID-string
You ensure that the value is unique, as necessary, and not NULL. If the value is not unique, then the DataFlux Data Management Server will search the active real-time services terminate the first real-time service with a matching identifier.
Setting a job run identifier provides the job run request with the following two new elements:
svcType
values can be data or process.
usrJobId
the value is a job run identifier.

Terminate the Real-Time Service

To terminate a real-time data or process service that has job run identifier, include usrJobID and svcType (as needed) in the SOAP command ArchitectServiceUnload.