//get pre-defined query
        public QueryResult GetJobs()
        {
            JobsManager JM  = WorkflowModule.GetManager <JobsManager>("");
            var         ret = JM.ExecuteQuery(QueryName);

            return(ret);
        }
Exemplo n.º 2
0
        //get pre-defined query
        public async Task <QueryResult> GetJobsAsync()
        {
            var wfCon = await WorkflowModule.ConnectAsync();

            JobsManager JM  = wfCon.GetManager <JobsManager>();
            var         ret = JM.ExecuteQuery(QueryName);

            return(ret);
        }