Exemple #1
0
        protected override bool Execute(CodeActivityContext context)
        {
            List <Alarms_User_To_Activity> res = null;

            try
            {
                res = ARM_Service.ALARM_Get_Users_ByActivityID(WorkflowActivity_ID.Get(context));
            }
            catch (Exception ex)
            {
                Error.Set(context, ex.Message);
                if (!HideException.Get(context))
                {
                    throw ex;
                }
            }

            UserList.Set(context, res);
            return(string.IsNullOrEmpty(Error.Get(context)));
        }