/// <summary> /// Queries processing status of a task through its GUID and name /// </summary> /// <param name="customerGuid">Identify the linked contract tasks</param> /// <param name="customerTaskName">Name of the task you want to get processing status</param> /// <returns></returns> private string GetCustomersJSON(string customerGuid, string customerTaskName) { // Gets contract processing status var stt = QueueJob.ProcessStatus(customerGuid, customerTaskName); return(JsonConvert.SerializeObject(stt)); }