AnsweredAssumed Answered

SendTaskCompleteMailToOwners - causes an error

Question asked by mathias.wickel Advocate on Jun 16, 2018
Latest reply on Dec 5, 2018 by dnnsrnhrdt



for some approval steps we use AD groups as recipients, so that the corresponding group of recipients is informed about an upcoming task. This function works without any problems and all members receive an e-mail about the approval.

I would like to inform all group members at the end of an activity and have eperimented with the attribute "SendTaskCompleteMailToOwners". I set the value to "True" and assumed that the user/group stored in the "Owners_Primary" field will be notified when the activity is complete.


Instead of sending an email, Snow AP causes an error:


Unhandled exception: Error: System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at Snow.SnowAutomationPlatform.Activities.Task.GetOwnerMails(Boolean primaryOwners)
   at Snow.SnowAutomationPlatform.Activities.Task.SendOwnerMail(String subject, String body, Boolean sendCCtoSecondaryOwners)
   at Snow.SnowAutomationPlatform.Activities.Task.DoIt()
   at Snow.SnowAutomationPlatform.Activities.Task.Main(String[] args)

AP activity step parameters

The AD user account has a valid e-mail which could be determined by Snow-AP in other process steps.


EDIT FYI: Using the parameter "SendTaskCompleteMailToRequestingUser", everything is fine and the requesting users receives a complete mail


Thanks for your support!