Exemplo n.º 1
0
 protected void btnFlowDeleted_Click(object sender, EventArgs e)
 {
     FlowExpressTraceLog.Init(true);
     labFlowDeleted.Text = FlowExpress.IsFlowCaseDeleted(FlowDeleted_FlowID.ucSelectedID, FlowDeleted_FlowCaseID.Text, FlowDeleted_IsRun.Checked).ToString();
     if (FlowExpressTraceLog.IsError())
     {
         labFlowDeleted.Text += "<hr>" + FlowExpressTraceLog.getFlowExpressTraceLogInfoPage();
     }
 }
Exemplo n.º 2
0
 protected void FlowCaseValueChanged_Click(object sender, EventArgs e)
 {
     FlowExpressTraceLog.Init(true);
     FlowExpress.FlowCaseValueChangeKind tKind = (FlowExpress.FlowCaseValueChangeKind) int.Parse(FlowCaseValueChanged_ChangeKind.SelectedValue);
     labFlowCaseValueChanged.Text = FlowExpress.IsFlowCaseValueChanged(FlowCaseValueChanged_FlowID.ucSelectedID, FlowCaseValueChanged_FlowCaseID.Text, tKind, FlowCaseValueChanged_NewValues.Text.Split(','), FlowCaseValueChanged_ChkFields.Text.Split(',')).ToString();
     if (FlowExpressTraceLog.IsError())
     {
         labFlowCaseValueChanged.Text += "<hr>" + FlowExpressTraceLog.getFlowExpressTraceLogInfoPage();
     }
 }
Exemplo n.º 3
0
    //2015.07.24 新增
    protected void btnFlowSysBtnVerify_Click(object sender, EventArgs e)
    {
        FlowExpressTraceLog.Init(true);
        FlowExpress oFlow = new FlowExpress(FlowSysBtnVerify_FlowID.ucSelectedID, FlowSysBtnVerify_FlowCaseID.Text, false, false);

        if (oFlow != null)
        {
            labFlowSysBtnVerify.Text = FlowExpress.IsFlowSysStepBtnVerify(oFlow.FlowID, oFlow.FlowCurrLastLogID, FlowSysBtnVerify_FlowSysStepBtnID.ucSelectedID, FlowSysBtnVerify_FlowCloseStepID.ucSelectedID, null, FlowSysBtnVerify_Opinion.Text).ToString();
            if (FlowExpressTraceLog.IsError())
            {
                labFlowSysBtnVerify.Text += "<hr>" + FlowExpressTraceLog.getFlowExpressTraceLogInfoPage();
            }
        }
        else
        {
            labFlowSysBtnVerify.Text = "初始 FlowExpress 物件錯誤";
        }
    }
Exemplo n.º 4
0
    protected void IsFlowReAssign_Click(object sender, EventArgs e)
    {
        FlowExpressTraceLog.Init(true);
        if (IsFlowReAssign_ReAssignTo.Text.IsJSON())
        {
            //2017.01.25 新增改派對象可使用 JSON 格式
            labIsFlowReAssign.Text = FlowExpress.IsFlowReAssign(IsFlowReAssign_FlowID.ucSelectedID, IsFlowReAssign_FlowLogID.Text, Util.getDictionary(IsFlowReAssign_ReAssignTo.Text), IsFlowReAssign_Opinion.Text, IsFlowReAssign_IsRun.Checked).ToString();
        }
        else
        {
            labIsFlowReAssign.Text = FlowExpress.IsFlowReAssign(IsFlowReAssign_FlowID.ucSelectedID, IsFlowReAssign_FlowLogID.Text, IsFlowReAssign_ReAssignTo.Text, IsFlowReAssign_Opinion.Text, IsFlowReAssign_IsRun.Checked).ToString();
        }

        if (FlowExpressTraceLog.IsError())
        {
            labIsFlowReAssign.Text += "<hr>" + FlowExpressTraceLog.getFlowExpressTraceLogInfoPage();
        }
    }