hi! the way to do the if/else of the template depends on the template engine that your report uses, for example, if it is handlebars you can do it like this. I suggest always looking at the specific template engine docs to know how to define something in the template
It's crashing after ~23s of running chrome html-pdf conversion based on your log.
Do you use reportTimeout config to specify the general timeout? How did you set the 5min timeout?
This should give you total 5 minutes
{
"reportTimeout": 300000
}
Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.