1
|
/*
|
2
|
*/
|
3
|
|
4
|
function getWorkflowRunSection(url, workflowId, divId) {
|
5
|
var requestUrl = url + '?action=getScheduledWorkflow&workflowid=' + workflowId + '&qformat=' + 'sanparks';
|
6
|
var submitResults = submitUrlIntoDiv(requestUrl, divId);
|
7
|
}
|
8
|
|
9
|
function showSchedulePage(workflowId, schedulePage, qformat) {
|
10
|
url = document.URL + '/../' + workflowRunPage + '?workflowid=' + workflowId + '?qformat=' + qformat;
|
11
|
//alert('new url: ' + url);
|
12
|
window.location = url;
|
13
|
}
|
14
|
|
15
|
function scheduleWorkflowRun(url, workflowId, startTime, interval, karId) {
|
16
|
requestUrl =
|
17
|
url + '?action=scheduleWorkflow&starttime=' + startTime
|
18
|
+ '&interval=' + interval + '&jobparam_karId=' + karId;
|
19
|
//alert('new url: ' + url);
|
20
|
window.location = url;
|
21
|
}
|
22
|
|
23
|
|