protected void RolesList(string action, int flowId, int processId)
        {
            IList <RoleInfo> roleListByFlowIdAndProcessId;

            if (action == "Modify")
            {
                roleListByFlowIdAndProcessId = RolePermissions.GetRoleListByFlowIdAndProcessId(flowId, processId);
            }
            else
            {
                roleListByFlowIdAndProcessId = RolePermissions.GetRoleListByFlowId(flowId);
            }
            if (roleListByFlowIdAndProcessId.Count == 0)
            {
                AdminPage.WriteErrMsg("<li>不能创建该流程步骤,因为可操作的角色已经被其他步骤占用或系统没有定义角色,请添加新的角色!</li>");
            }
            if (roleListByFlowIdAndProcessId.Count > 0)
            {
                this.EChklProcessGroup.Items.Clear();
                this.EChklProcessGroup.DataSource     = roleListByFlowIdAndProcessId;
                this.EChklProcessGroup.DataTextField  = "RoleName";
                this.EChklProcessGroup.DataValueField = "RoleId";
                this.EChklProcessGroup.DataBind();
            }
        }