I have a table of Staff Job Allocations. The ...

I have a table of Staff Job Allocations. The Staff Name column in that table is an EnumList allowing the selection of multiple staff for a single job. The e-mails of these staff are in a column called E-Mail in a table called Staff which also has a column called Staff Name. I want to send an e-mail to every selected Staff when a job is allocated. I have tried the following in the โ€˜Send Toโ€™ formula for a Workflow action that is triggered by ADDS_ONLY in the Staff Job Allocations table: SELECT(Staff[E-Mail],CONTAINS([Staff Name],Staff[Staff Name])) But this doesnโ€™t work. There is a functional reason why I need to use an EnumList to allocate multiple staff, i.e. for ease/speed of use. Having one record per staff would mean saving each record, then having to add another for each staff member rather than simply selecting then in an EnumList. Anyone have any ideas?

0 4 334
4 REPLIES 4

How aboutโ€ฆ SELECT(Staff[E-Mail],IN([Name],[_THISROW].[Name]))

@Aleksi_Alkio Works perfectly! Many thanks Aleksi. Translate

@Aleksi_Alkio

, currently batting 950!

Haha, great job Sir!

Youโ€™re welcome

Top Labels in this Space