dkahraman
7 years agoIdeator I
Dynamic Workflow for DCO
Hi,
I want to have multiple workflows for different DCO subclasses. I've seen a code here but I can not work with it.
the code is :
switch (classification)
{
case "DCO I":
wflMapName = "Express DCO-I";
break;
case "DCO II":
wflMapName = "Express DCO-II";
break;
}
Item wflMap = inn.getItemByKeyedName("Workflow Map",wflMapName);
Item wfl = this.instantiateWorkflow(wflMap.getID());