Revision 5811
Added by Jing Tao almost 14 years ago
lib/style/common/scheduleWorkflow.js | ||
---|---|---|
29 | 29 |
* id. |
30 | 30 |
* Params: |
31 | 31 |
* url - metacat url to hit |
32 |
* workflowId - get all runs for this id |
|
32 |
* workflowId - lsid of the workflow |
|
33 |
* karid - the lsid of the kar file which contains the workflow |
|
33 | 34 |
* workflowName - used for display purposes. |
34 | 35 |
* divId - the name of the div where the results should be put |
35 | 36 |
*/ |
36 |
function getWorkflowRunSection(url, workflowId, workflowName, divId) { |
|
37 |
var requestUrl = url + '?action=getScheduledWorkflow&workflowid=' + workflowId + '&qformat=sanparks&workflowname=' + workflowName; |
|
38 |
//alert('getWorkflowRunSection - url: ' + url + ' workflowId: ' + workflowId + ' workflowName: ' + workflowName + ' divId: ' + divId); |
|
37 |
function getWorkflowRunSection(url, workflowId, workflowName, karid, divId) {
|
|
38 |
var requestUrl = url + '?action=getScheduledWorkflow&workflowid=' + workflowId +'&karid='+karid+ '&qformat=sanparks&workflowname=' + workflowName;
|
|
39 |
//alert('getWorkflowRunSection - url: ' + url + ' workflowId: ' + workflowId + ' workflowName: ' + workflowName + ' divId: ' + divId+' karid: '+karid);
|
|
39 | 40 |
var submitResults = submitUrlIntoDiv(requestUrl, divId); |
40 | 41 |
} |
41 | 42 |
|
Also available in: Unified diff
Add karid to the parameters when it search the existing schedules.