01-24-2012 08:09 AM
var wfDefs = workflow.getAllDefinitions();
for (i in wfDefs) {
var wfDef = wfDefs[i]
logger.error("Def:" + wfDef.id);
var wfInsts = wfDef.activeInstances;
for (j in wfInsts) {
wfInst = wfInsts[j];
logger.error(" Inst:" + wfInst.id);
wfInst.cancel();
}
}
var wfDefs = workflow.getAllDefinitions();
for (i in wfDefs) {
var wfDef = wfDefs[i]
logger.error("Def:" + wfDef.id);
var wfInsts = wfDef.activeInstances;
for (j in wfInsts) {
wfInst = wfInsts[j];
logger.error(" Inst:" + wfInst.id);
wfInst.delete();
}
}
01-27-2012 07:14 PM
01-30-2012 04:45 AM
02-20-2012 10:56 AM
logger.error("Resolving task:" + taskId);
with the expected result.02-21-2012 05:40 AM
function main() {
var wfDefs = workflow.getAllDefinitions();
for (i in wfDefs) {
var wfDef = wfDefs[i]
logger.error("Def:" + wfDef.id);
var wfInsts = wfDef.activeInstances;
for (j in wfInsts) {
wfInst = wfInsts[j];
logger.error(" Inst:" + wfInst.id);
wfInst.cancel();
}
}
}
function main() {
var wfDefs = workflow.getAllDefinitions();
for (i in wfDefs) {
var wfDef = wfDefs[i]
logger.error("Def:" + wfDef.id);
var wfInsts = wfDef.activeInstances;
for (j in wfInsts) {
wfInst = wfInsts[j];
logger.error(" Inst:" + wfInst.id);
//wfInst.cancel();
}
}
}
02-27-2012 07:39 AM
02-28-2012 11:40 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.