}
// terminate workflow and service instances
{
WorkflowNotifier notifier = NotifierFactory.createWorkflowNotifier();
notifier.workflowTerminated(context, WORKFLOW_1);
notifier.serviceTerminated(context, SERVICE_1);
notifier.serviceTerminated(context, SERVICE_2);
}
}