What exactly does this error mean? Im using a google doc template and copied the column names exactly and have them inside << >>.
Not sure how to troubleshoot these error messagesโฆthe documentation online is not helpful.
What is the complete text of the first three error messages?
โErrorsโ: โError: Workflow rule โWeekly Revisions Reportโ
action โAction 1โ Attachment template. Expression โBEFORE Role Assignmentโ is invalid due to: Expression refers to undefined field. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โRequested Change BEFORE Roleโ
is invalid due to: Expression refers to undefined field. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โBEFORE Shift Assignmentโ is invalid due to: Expression refers to undefined field. Error: Workflow rule
โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โRequested Change BEFORE Shiftโ is invalid due to: Expression refers to undefined field. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression
โDURING Role Assignment (-12 PRE +24 PST)โ is invalid due to: Arithmetic expression โ(โ12 PREโ+โ24 PSTโ)โ has inputs of an invalid type โUnknownโ. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โRequested
Change DURING Roleโ is invalid due to: Expression refers to undefined field. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โDURING Shift Assignmentโ is invalid due to: Expression refers to undefined field.
Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โRequested Change DURING Shiftโ is invalid due to: Expression refers to undefined field. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment
template. Expression โAFTER Role Assignment (+24 HRS PST)โ is invalid due to: Unable to find function โAFTER ROLE ASSIGNMENTโ. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โRequested Change AFTER Roleโ is
invalid due to: Expression refers to undefined field. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โAFTER Shift Assignmentโ is invalid due to: Expression refers to undefined field. Error: Workflow rule โWeekly
Revisions Reportโ action โAction 1โ Attachment template. Expression โRequested Change AFTER Shiftโ is invalid due to: Expression refers to undefined field. Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โReview
Statusโ is invalid due to: Expression refers to undefined field.โ,
If i run the report on row instead of table (removed start and end) those fields arent an issue but i really want one report on the entire tableโฆ
Thanks for the details! Letโs focus on this one first:
Error: Workflow rule โWeekly Revisions Reportโ action โAction 1โ Attachment template. Expression โBEFORE Role Assignmentโ is invalid due to: Expression refers to undefined field.
The error refers to the attachment template for Action 1, to an expression within the template that refers to BEFORE Role Assignment
. Please post a screenshot of the template that includes the BEFORE Role Assignment
reference.
I was able to get the report to work and those errors went away - moved the start and end expressions outside the table. Now my issue is trying to get comments from the child table onto the same report. Iโve tried the following at the end of the table but
it doesnโt work: ** <<Start:SELECT([Related Everbridge Role rpt for Dept Review Comments][Comment], ([EverbridgeID] = [_THISROW].[Contact
External Id]), TRUE)>>**
Right now I canโt access the community forum from my work computer so Iโm having trouble getting screen captures posted. IT security is looking into the issue.
The <<Start>>
expression must always produce a list key column values from the table you want to work with; it cannot produce any other type of value. So in this case:
<<Start:SELECT([Related Everbridge Role rpt for Dept Review Comments][row-key], ([EverbridgeID] = [_THISROW].[Contact External Id]), TRUE)>>
replacing row-key
with the name of the key column for the table containing the comments. Them, within your template, just refer to the column you want: [Comment]
.
I tried it two ways - get errors (see below). Is there a way I can test the expressions outside of the report workflow to see if they work?
[CommendID] is the key for the comments table.
[EverbridgeID] is the ref col for the comments table.
[Contact External Id] is the key for the main table
<<Start: SELECT([Related Everbridge Role rpt for Dept Review Comments][CommentID], ([EverbridgeID] = [_THISROW].[Contact External Id]), TRUE)>>
Comments: <>
<>
โErrorsโ: โError: Workflow rule โWeekly Revisions Report 2โ action โAction 1โ Attachment template. Expression โSELECT([Related Everbridge Role rpt for Dept Review Comments][CommentID], ([EverbridgeID] = [_THISROW].[Contact External Id]), TRUE)โ is invalid
due to: Error in expression โ[_THISROW].[Contact External Id]โ : Unable to find column โ_THISROWโ. Error: Workflow rule โWeekly Revisions Report 2โ action โAction 1โ Attachment template. Start expression โSELECT([Related Everbridge Role rpt for Dept Review
Comments][CommentID], ([EverbridgeID] = [_THISROW].[Contact External Id]), TRUE)โ should generate a List of Ref values. Please verify that it generates a List and that the contents of the List are Ref values. Ref values should come from the โKeyโ column of
the referenced table.โ,
<<Start: SELECT(Everbridge Role rpt for Dept Review Comments[CommentID], ([EverbridgeID] = [_THISROW].[Contact External Id]), TRUE)>>
Comments: <>
<>
โErrorsโ: โError: Workflow rule โWeekly Revisions Report 2โ action โAction 1โ Attachment template. Expression โSELECT(Everbridge Role rpt for Dept Review Comments[CommentID], ([EverbridgeID] = [_THISROW].[Contact External Id]), TRUE)โ is invalid due
([EverbridgeID] = [_THISROW].[Contact External Id]), TRUE)โ should generate a List of Ref values. Please verify that it generates a List and that the contents of the List are Ref values. Ref values should come from the โKeyโ column of the referenced table.โ,
Thank you Steve! Lots of trial and error but I think itโs working now!
Well done!
How can I get the text from the comment field to display instead of the comment ID? comments is a related table to the main table where the other info is coming from.
I think i figured out my problemโฆonce i moved the start and end expressions outside the table it worked. No errors.
User | Count |
---|---|
44 | |
29 | |
23 | |
20 | |
15 |