No workflow email was sent because 'To', 'CC', 'BCC' are all empty

My app is not deployed, but Iโ€™m sending the report with the โ€œRunโ€ button. On โ€œSend to:โ€ is an expression [Key column].[Email column] of the table set for the report. But it returns the following error:

Properties:
{
โ€œAppTemplateVersionโ€: โ€œ1.000325โ€,
โ€œRuleNameโ€: โ€œGrado avance Tareasโ€,
โ€œEventTypeโ€: โ€œScheduledโ€,
โ€œInvokedByโ€: โ€œEditorRunButtonโ€,
โ€œServerNameโ€: โ€œprodu3c1a0001MCโ€,
โ€œServerRegionโ€: โ€œWEST-EUโ€,
โ€œIgnoreSecurityFiltersโ€: false,
โ€œEventMatchโ€: โ€œWorkflow event successfully matchedโ€,
โ€œForTableNameRowsโ€: โ€œTable or slice โ€˜Tareasโ€™ returned 42 rowsโ€,
โ€œActionNotPerformedโ€: โ€œ1 errors present.โ€,
โ€œActionResultsโ€: โ€œCreated 42 ActionResultsโ€,
โ€œAction Typeโ€: โ€œEmailโ€,
โ€œAction Nameโ€: โ€œAction 1โ€,
"Errors": โ€œError: No workflow email was sent because โ€˜Toโ€™, โ€˜CCโ€™, โ€˜BCCโ€™ are all empty.โ€,
โ€œWarningsโ€: โ€œWarning: App version 1.000325 is not deployed. All workflow emails are therefore being sent to the app creator. This email should have gone To โ€˜โ€™ CCโ€™ed to โ€˜โ€™ and BCCโ€™ed to โ€˜โ€™โ€,
โ€œEmailToโ€: โ€œguillesaez89@gmail.comโ€,
โ€œEmailCCโ€: โ€œโ€,
โ€œEmailBCCโ€: โ€œโ€,
โ€œEmailFromDisplayโ€: โ€œguillesaez89@gmail.comโ€,
โ€œEmailReplyToโ€: โ€œnoreply@appsheet.comโ€,
โ€œEmailPreHeaderโ€: โ€œScheduled rule โ€˜Grado avance Tareasโ€™ for application โ€˜TailorProjectโ€™ invoked at 27/05/2020 9:31:51\r\n[App version 1.000325 is not deployed. All workflow emails are therefore being sent to the app creator. This email should have gone To โ€˜โ€™ CCโ€™ed to โ€˜โ€™ and BCCโ€™ed to โ€˜โ€™]\r\nโ€,
โ€œEmailSubaccountโ€: โ€œFreeAccountโ€,
โ€œEmailSubjectโ€: โ€œScheduled rule โ€˜Grado avance Tareasโ€™ for application โ€˜TailorProjectโ€™ invoked at 27/05/2020 9:31:51โ€,
โ€œEmailTitleโ€: โ€œScheduled rule โ€˜Grado avance Tareasโ€™ for application โ€˜TailorProjectโ€™ invoked at 27/05/2020 9:31:51โ€,
โ€œEmailAttachmentโ€: โ€œโ€,
โ€œEmailOtherAttachmentsโ€: โ€œโ€,
โ€œAppTemplateNameโ€: โ€œ3617c72d-1df3-4360-8ce3-05da38067d4aโ€,
โ€œOperationโ€: โ€œWorkflow actionโ€,
โ€œResultโ€: โ€œFailureโ€
}

Can someone help me with this?

Thanks in advance!

tabla|690x224

Solved Solved
0 8 753
1 ACCEPTED SOLUTION

@Lynn I donโ€™t think that will work. He wants one email per manager, so he wants to have grouping performed over the table (by manager email) and then one email sent per group with all the tasks in the group.

@Guillermo to achieve this, you might think of structuring your data differently. Think of having a table of Managers and then a table of Tasks. Then your scheduled rule can work ForEachRow in the Managers table and send an email with a single template doc (inside which it use the Start-End placeholder pattern to collect all the related Tasks and show them)

View solution in original post

8 REPLIES 8

Hi @Guillermo
Does it work if you clear the To box and save. and Run. It should go to your email as app is not deployed.

I think the problem is that that the expression used to compute the To property returns no value.

It looks like a deref expression. Either the ref itself ([Tarea]) is null or it references a missing row in the other table or the [Email] column on that referenced row is empty. That would be my guess.

Hi @Lynn, Thanks so much for your replay.
I left only to rows because is a forEachRow Report and it works
It sent me 2 emails

Hi again @Lynn, @praveen, It was my mistake, I was trying to do a dereference following some steps of a guide, but i didnโ€™t need to because I was on the same table , so with โ€œsend to: [email column]โ€ was enough. The problem is that I would like that instead of one email for each row it could create a unique email with all the tasks assigned to this email. For example I have 40 tasks and 5 managers ( 8 tasks per manager). I only want one email with the 8 tasks for each manager.

Can you help me with that?

Thank you so much for your help

Hi @Guillermo
Try selecting

for entire table instead of for each row.
EDIT
Check out Praveens replyโ€ฆ I skimmed over too fast.

@Lynn I donโ€™t think that will work. He wants one email per manager, so he wants to have grouping performed over the table (by manager email) and then one email sent per group with all the tasks in the group.

@Guillermo to achieve this, you might think of structuring your data differently. Think of having a table of Managers and then a table of Tasks. Then your scheduled rule can work ForEachRow in the Managers table and send an email with a single template doc (inside which it use the Start-End placeholder pattern to collect all the related Tasks and show them)

@praveen , @Guillermo
OOPs Sorry skimmed over your reply too fast . Praveen has the answer.

Thanks @praveen That was the logic and it works perfectly.
No worries @Lynn thanks a lot for your time

Thanks to both for your help. You are great!

Top Labels in this Space