Hi,
I am trying to get an email report to run for a slice. I have created a template for it, however I am wondering if my “IF” expression is wrong. I currently have it set to “ISNOTBLANK(“value_0”)” for my slice, and I am not receiving any emails when I press run. Should the value of the expression be something else.
Solved! Go to Solution.
Remove the square brackets surrounding “End”.
What are you seeing in the Audit History as described in this article https://help.appsheet.com/en/articles/961739-troubleshooting-workflow-emails
The Audit History is always the first thing to check when a workflow rule or report is failing.
It saying there is an unmatched start:
Properties:
{
“AppTemplateName”: “NewApp-983543”,
“AppId”: “7216ecbf-26d1-4a4c-bd74-8e81643585d4”,
“AppTemplateVersion”: “1.000331”,
“RuleName”: “Kensington”,
“EventType”: “Scheduled”,
“InvokedBy”: “EditorRunButton”,
“Server”: “prodv2-lb-3”,
“EventMatch”: “Workflow event successfully matched”,
“Condition”: “=ISNOTBLANK(“value_0”)”,
“MatchesCondition”: “True”,
“ActionNotPerformed”: “5 errors present.”,
“ActionResults”: “Created 1 ActionResults”,
“Action Name”: “Kensington Email”,
“RecordedAt”: “2019-07-19T20:45:32.3254283Z”,
“Errors”: “Error: Workflow rule ‘Kensington’ action ‘Kensington Email’ Body template. Found 1 unmatched ‘Start’. They are: <p class=“c0”><span class=“c14”><<Start: FILTER(Kensington, true)>>
Above is an upload of the template I used.
You are missing the << END >> in the last cell of the row.
<<[Tech]>><< End >>
Added the <>
You may have more than one problem in your template, but that is definitely a problem.
Try fixing that problem and see if there are other problems in your template.
When you save your application in the Editor, you should choose the “Save and verify data” option.
That will ensure that the templates are verifies when you do the save.
Try the following:
Made the changes and I got this error result:
Errors": “Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Found 1 unmatched ‘Start’. They are: <p class=“c19”><span class=“c6”><<Start:Filter(Patrol, true)>><<[Patrol Action>>
Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘Start:Filter(Patrol, true)’ is invalid due to: Unable to find function ‘START:FILTER’, did you mean ‘FILTER’?. Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘[Patrol Action’ is invalid due to: Expression refers to undefined field. Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘[Time]’ is invalid due to: Unable to find column ‘Time’. Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘[Tech]’ is invalid due to: Unable to find column ‘Tech’. Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘[End]’ is invalid due to: Unable to find column ‘End’.”,For reference, the slice name is Kensington
The Columns:
[Patrol Action]
[Time]
[Tech]
condition is set to ISNOTBLANK(“value_0”)
You did not remove the first << START >> or the final << END >> at the bottom of the template.
In fact, you did not follow step 4 either.
I made the changes as instructed, yet my results still ended in error:
and I ended up with the same result after attempting to run it:
“Errors”: “Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Found 1 unmatched ‘Start’. They are: <p class=“c8”><span class=“c17”><<Start:Filter([Patrol], true)>><<[Patrol Actions]>>
Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘Start:Filter([Patrol], true)’ is invalid due to: Unable to find column ‘Patrol’. Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘[Patrol Actions]’ is invalid due to: Unable to find column ‘Patrol Actions’. Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘[Time]’ is invalid due to: Unable to find column ‘Time’. Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘[Tech]’ is invalid due to: Unable to find column ‘Tech’. Error: Workflow rule ‘Kensington’ action ‘Kensington’ Body template. Expression ‘[End]’ is invalid due to: Unable to find column ‘End’.”,Remove the square brackets surrounding “End”.
User | Count |
---|---|
15 | |
11 | |
5 | |
5 | |
5 |