/// <inheritdoc />
        public override ProcessElementNotification GetNotificationData()
        {
            ProcessElementNotification notification = base.GetNotificationData();

            ProcessUserTaskUtilities.AssignNotificationData(notification, Recommendation, StartIn, StartInPeriod);
            return(notification);
        }
		/// <inheritdoc/>
		public override ProcessElementNotification GetNotificationData() {
			ProcessElementNotification notification = base.GetNotificationData();
			if (Recommendation != null && Recommendation.HasValue && !Recommendation.Value.IsNullOrEmpty()) {
				notification.Title = Recommendation;
			}
			return notification;
		}
Exemple #3
0
        public override ProcessElementNotification GetNotificationData()
        {
            ProcessElementNotification notification = base.GetNotificationData();

            if (Title != null && Title.HasValue)
            {
                notification.Title = Title;
            }
            return(notification);
        }
Exemple #4
0
        /// <summary>
        /// Assigns data of the process element notification event.
        /// </summary>
        /// <param name="notification">Data of the process element notification event.</param>
        /// <param name="title">Title of the notification event.</param>
        /// <param name="offset">Start in.</param>
        /// <param name="period">Start in period.</param>
        public static void AssignNotificationData(ProcessElementNotification notification, string title, int offset,
                                                  int period)
        {
            if (title.IsNotNullOrEmpty())
            {
                notification.Title = title;
            }
            DateTime startDate = notification.StartDate;

            notification.StartDate = NewDate(startDate, offset, (ProcessDurationPeriod)period);
        }