Example #1
0
 public static bool Execute(string trxName)
 {
     try
     {
         if (trxList.ContainsKey(trxName))
         {
             PO document = null;
             for (int i = 0; i < trxList[trxName].Count; i++)
             {
                 document = trxList[trxName][i];
                 document.Set_Trx(null);
                 document.ExecuteWF();
             }
         }
         return(Remove(trxName));
     }
     catch (Exception ex)
     {
         log.Severe("Error While Starting Workflow: " + ex.Message);
         return(false);
     }
 }