Workflow send notification not working on concatenated variable adding to "TO" field

  • 16 September 2019
  • 2 replies
  • 6 views

Badge

When I try to hearcode the SP group name (e.g. ABC Group) to a variable and add it to "TO" sectioj of Send Notification, the worklfow sends mail to all members of SP group.

When I try to concatenate 2 variables like Var 1 "ABC" and Var 2 "Group" into 1 variable to make it "ABC Group" and add it to "TO" field of SEnd Notification, then workflows fails and states the error as "

Failed to send notification. Cannot get the full name or e-mail address of user "ABC Group".

"


2 replies

Badge +12

@pratiekk .....Did you make sure that your actual group name is matching exactly? Because in your varaibles if there are any space or anything it won't able to resolve.


 


I'm curious why you want to construct SP Group name and cannot use it directly !!!

Badge +7

Log your Group name variable in history, so that you can review the outcome of your concatenation, and then, as others have suggested, make certain that the result is identical to your group name.

Reply