Template expressions and reference tables togheter

Hello!

I have a question about my template expressions.

Short view in my app:
in my app i have a lot of acounts
each acount has a lot of differtent subscriptions (reference to acount)
each subscription has a lot of differten washes (refence to a subscritions)

Now, every friday i want to get a overview in PDF where all the subcriptions with less then 2 turns (every subscriptions has 10 turns in the beginning) are on.

I know it is with a bot, but the questions are

  • Wich table do i use? (Acount or supscriptions)
  • What is the right expression for this? I use no (see image also errors)

(IN THE IMAGE โ€œBEDRAGโ€ = โ€œTURNSโ€!! Because of the langue)

PS Link to my Document : DocId=1e_jXv88FLHpqMog6eA1TEOvA0Wsz7CJ6wyucxiV6QDs

Solved Solved
0 3 123
1 ACCEPTED SOLUTION

The error is because the parser cannot find a matching <<END>> to the noted <<START:...>>.

Either you have left it off or there are other syntax errors that prevent the parser from finding the matching <<END>>

View solution in original post

3 REPLIES 3

We need to see your Bot to understand HOW it is passing rowsโ€ฆif at all.

There is likely one of two problems:

  1. Your Bot is passing a row for a table that is different than what the template was designed for.
  2. Your Bot is NOT passing as row at all (e.g. a Scheduled Bot with the โ€œForEachRowโ€ setting turned off) and the template is not establishing its own set of rows to operate over.

I suspect itโ€™s the second problem since you mention you want an โ€œoverviewโ€.

An โ€œoverviewโ€ or summary report is normally accomplished by:

  1. Creating a Scheduled Bot with the โ€œForEachRowโ€ setting off. You donโ€™t want to pass data row by row, instead you either want to run the report or not run the report.

  2. The template identifies the rows to operate on using one or more sets of <<Start:...>> / <<End>> blocks. These blocks simply establish a scope (you can think of it as a loop) that selected rows operate over.

Here is more info on using START/END blocks:

I hope this helps! Please ask more questions if needed.

Iโ€™m so sorry, but i canโ€™t fiks itโ€ฆ
Indeed it is the seconde option, with the overview.
3X_2_4_24b98a270cf9b01ca5f94d5664cce395b313c675.png

As you can see i still get an error with both expressions;
<<Start:SELECT(Lopende_rekeningen[Bedrag], ([Bedrag] < 100),FALSE)>>
AND with the other:

<<Start:SELECT([Bedrag], ([Bedrag] < 100),FALSE)>>


Here is also my botโ€ฆ

The error is because the parser cannot find a matching <<END>> to the noted <<START:...>>.

Either you have left it off or there are other syntax errors that prevent the parser from finding the matching <<END>>

Top Labels in this Space