Friday, March 6, 2020

UCI Email PartyList error - Entity type "queue" is invalid

I just ran into an error where some clever code check's the user's business unit and defaults the FROM addresss of an outgoing email to a particular Queue.  The code started throwing this error once we moved it to a Model-driven App.

It turns out the error was occurring because we had not included the Queue entity in our Model-driven App.  Once we added the Queue, the code worked just fine.