private string SetUserChoice(int AD_User_ID, string value, int dt, string textMsg, MWFActivity _activity, MWFNode _node) { try { _activity.SetUserChoice(AD_User_ID, value, dt, textMsg); return("OK"); } catch (Exception ex) { //Dispatcher.BeginInvoke(delegate //{ // SetBusy(false); // log.Log(Level.SEVERE, _node.GetName(), ex); // ShowMessage.Error("Error", true, ex.ToString()); // return; //}); return("Error" + ex.Message); } }