Qlik Community
Collaborate with over 60,000 Qlik technologists and members around the world to get answers to your questions, and maximize success.
Join UsIf you are using the QMSEDX.exe or your own custom developed solution which uses GetEDXTaskStatus, you may in some circumstances get the error:
Error System.Exception: Could not find a result for the specified execution ID "02129b42-5e7b-4423-8919-2e74fcab8d25" at QMSBackendCore.Service.ServiceImpl.GetEDXTaskStatus(Guid qdsID, Guid execID)
The error can happen if you are using 11.20 SR6 or 11.20 SR7 and you are using QMSEDX.exe to trigger a task which in turn triggers other tasks. Or if you are using custom developed code which uses the QMS API to trigger and monitor chained tasks using the GetEDXTaskStatus method.
Error System.Exception: Could not find a result for the specified execution ID "02129b42-5e7b-4423-8919-2e74fcab8d25" at QMSBackendCore.Service.ServiceImpl.GetEDXTaskStatus(Guid qdsID, Guid execID)
To avoid the error, you have the following options:
1) Do not use QMSEDX.exe or your custom application to trigger tasks which are part of a task chain. Tasks which are not part of a chain should still be ok.
2) Use another Service release.
The issue was introduced in 11.20 SR6 as part of fixing other issues, and will be reverted back in 11.20 SR8
3) Re work your code, so that it does not use GetEDXTaskStatus. It is possible to achieve the same thing using other methods.
Here is an example of how to get a list of tasks triggered by another task:
TaskStatusNodeRequest request = new TaskStatusNodeRequest();
request.RootType = TaskStatusNodeType.QDS;
request.CategoryName = "Default"; //The possible categories retrieved from GetCategories
request.QDSID = new Guid("494e9c12-d809-4b51-869a-46ef45fafc0c"); // ID retrieved from GetServices
request.TaskID = new Guid("38316f1f-1010-4830-875d-adba1fc8f82f"); ;
request.UseFlatTaskList = false;
List<TaskStatusNodeRequest> requestList = new List<TaskStatusNodeRequest> { request }.ToList();
List<TaskStatusNode> dependTasks = apiClient.GetTaskStatusNodes(requestList, null, TaskStatusScope.All);
The status of a task can then be calculated. If the task “is started” = running, then value in Start will be the date/time when it started.
public bool IsTaskRunning(string taskStatusStart)
{
bool taskRunning = false;
DateTime start;
if (DateTime.TryParse(taskStatusStart, out start))
{
if (start < DateTime.Now)
{
taskRunning = true;
}
}
return taskRunning;
}
Collaborate with over 60,000 Qlik technologists and members around the world to get answers to your questions, and maximize success.
Join UsSearch Qlik's Support Knowledge database or request assisted support for highly complex issues.
Submit a caseExperiencing a serious issue, please contact us by phone. For Data Integration related issues please refer to your onboarding documentation for current phone number.
Call Us