Empty Workflow Attachment

Can anyone help me spot any immediate issue with the below workflow.

I’m trying to save a file that is triggered when a form is completed on the app. Users will complete the form and mark as Sign Off Required - this record is saved in a file.

Two columns of importance

  1. Sign Off Required
  2. Sign Off Sent

So initially the sign off sent value is going to be no, its not until the workflow is triggered that it actually changes to yes, that way Im not accumulating data I’m sending out individual records to be approved each time.

Sign off required can be set to Y or N, if it is required it should trigger the workflow.

The workflow saves the file but it keeps coming up blank, yet the view I created in the app slide/view comes up correctly.

Workflow Condition:

Template expression:
3X_b_b_bba0949fac64b87ce43ec733238d3a2911f9765a.png

Slice/View created with same workflow content:
3X_9_3_93de322896cf723b5ee57f4ad104e8907c5e0775.png

3X_6_6_66034b50dbe6850a573b04bf32e5d5bb44659555.png

Table content:

3X_a_b_abd31dc4c769e25e6d6b2b0b7aba3e24739147f8.png

Not sure what is happening but the result is a blank attachment

0 18 251
18 REPLIES 18

You can go to Log and find the name of your workflow and check the error there

Yeah I tried this also, great tool for workflows but its all coming back as successful so it’s obviously something within the actual expression contradicting itself

Have you checked if you are using the correct file for your template?

Yes its a word document template for a PDF

3X_7_6_76faf9a1c6791f954ae9b7a13307fb39107808e5.png

If the result in the PDF is just a header “Invoice Queries - Sign Off required”, it means that the template itself is working but the result of the Start: & End is an empty list. It doesn’t show any << End >> on your print screen so do you have it?

Yeah its there, here is the entire thing

3X_d_e_de2f1922059d521a96dc6c2667de39683242e805.png

Okay. Then the reason is coming from the blank list.

I applied the same expression in a slice and got these coming through so the data is there?

3X_e_1_e192614de0f4421ae08b19e52df40155b42ff7aa.png

Is the “Order No” a key column?

Yeah it is
3X_6_4_64984709dd3d877b1fc47b8e366a3be0326049af.png

If you add a virtual column with the same SELECT(…) formula, does it show a blank list?

Yes it does

So… if that is giving you a blank list, then your evaluation doesn’t give any TRUE value for your records. You should test it a little what could be the reason. Start for example with TRUE.

Here is a snippet of the TRUE columns, so I dont quite understand. Everything marked as TRUE without a sign off status should be reported

3X_d_4_d4c057415e4e60a534e474afc5d130e9eada0b1c.png

I mean SELECT(Accounts[Order No],TRUE)

Thanks for everyones help, think I have sorted it now.

The excel was outputting TRUE/FALSE statements but it was really Y/N

[Sign Off Required]=“Y” as opposed to true.

Thanks everyone

Or don’t compare it to anything. This:

[Sign Off Required]

is equivalent to (and marginally more efficient than):

[Sign Off Required]=TRUE

Likewise, this:

NOT([Sign Off Required])

is equivalent to:

[Sign Off Required]=FALSE

It should work with the TRUE statement. Instead of using “TRUE”, write just TRUE.

Top Labels in this Space