Exemplo n.º 1
0
        public async Task <ActionResult <WfRet> > CancelProcess(WfReq parm)
        {
            WfRet ret = new WfRet {
                Status = 1
            };

            try
            {
                ret = await _service.CancelProcess(parm);
            }
            catch (System.Exception ex)
            {
                ret.Message = string.Format(
                    "取消流程失败, 异常信息:{0}",
                    ex.Message);
            }
            return(ret);
        }
Exemplo n.º 2
0
        public async Task <ActionResult <WfRet> > QueryReadyActivityInstance(WfReq parm)
        {
            WfRet ret = new WfRet {
                Status = 1
            };

            try
            {
                ret = await _service.QueryReadyActivityInstance(parm);
            }
            catch (System.Exception ex)
            {
                ret.Message = string.Format(
                    "获取当前流转到哪个节点失败, 异常信息:{0}",
                    ex.Message);
            }
            return(ret);
        }
Exemplo n.º 3
0
        public async Task <ActionResult <WfRet> > GetNextStepRoleUserTree(WfReq parm)
        {
            WfRet ret = new WfRet {
                Status = 1
            };

            try
            {
                ret = await _service.GetNextStepRoleUserTree(parm);
            }
            catch (System.Exception ex)
            {
                ret.Message = string.Format(
                    "获取下一步信息失败, 异常信息:{0}",
                    ex.Message);
            }
            return(ret);
        }