Still having issues with PDF

Hi there!

I donโ€™t know why <<[Observaciones]>> is not showing the data in the PDF

0 25 768
25 REPLIES 25

Please provide

  1. The account id
  2. The app name
  3. The rule name

144963
Gestora.Pe
New Workflow Rule (its the only one)

Aparacio,

I am trying to debug the problem but you appear to be changing the app while I do that.
That is preventing me from finding the problem.

Ok, I stop working.
Thanks for let me know

Thanks Aparicio.

Your Wellcome
Please let me know when your finish so I can continue working

There seems to be a problem with the Editor listing errors.

Here are the errors that should have been reported.

Error: Workflow rule โ€˜Modelo HCโ€™ action โ€˜Action 1โ€™ Attachment template. Expression โ€˜[Observaciones]โ€™ is invalid due to: Unable to find column โ€˜Observacionesโ€™.

Error: Workflow rule โ€˜Modelo HCโ€™ action โ€˜Action 1โ€™ Attachment template. Expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ is invalid due to: Condition AND(NOT(ISBLANK([Cรณdigo_CIE10_3]))) has an invalid structure: at least 2 subexpression(s) required.

Error: Workflow rule โ€˜Modelo HCโ€™ action โ€˜Action 1โ€™ Attachment template. โ€˜Ifโ€™ expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ yields a result of type โ€˜โ€™ rather than the expected type โ€˜Yes/Noโ€™.

Error: Workflow rule โ€˜Modelo HCโ€™ action โ€˜Action 1โ€™ Body template. Expression โ€˜[Observaciones]โ€™ is invalid due to: Unable to find column โ€˜Observacionesโ€™.

Error: Workflow rule โ€˜Modelo HCโ€™ action โ€˜Action 1โ€™ Body template. Expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ is invalid due to: Condition AND(NOT(ISBLANK([Cรณdigo_CIE10_3]))) has an invalid structure: at least 2 subexpression(s) required.

Error: Workflow rule โ€˜Modelo HCโ€™ action โ€˜Action 1โ€™ Body template. โ€˜Ifโ€™ expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ yields a result of type โ€˜โ€™ rather than the expected type โ€˜Yes/Noโ€™.

Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdicaโ€™ action โ€˜Action 1โ€™ Attachment template. Expression โ€˜[Fecha_hora]โ€™ is invalid due to: Unable to find column โ€˜Fecha_horaโ€™, did you mean โ€˜ID_Fecha_hora_ATโ€™?.

Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdicaโ€™ action โ€˜Action 1โ€™ Attachment template. Expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ is invalid due to: Condition AND(NOT(ISBLANK([Cรณdigo_CIE10_3]))) has an invalid structure: at least 2 subexpression(s) required.

Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdicaโ€™ action โ€˜Action 1โ€™ Attachment template. โ€˜Ifโ€™ expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ yields a result of type โ€˜โ€™ rather than the expected type โ€˜Yes/Noโ€™.

Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdicaโ€™ action โ€˜Action 1โ€™ Body template. Expression โ€˜[Fecha_hora]โ€™ is invalid due to: Unable to find column โ€˜Fecha_horaโ€™, did you mean โ€˜ID_Fecha_hora_ATโ€™?.

Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdicaโ€™ action โ€˜Action 1โ€™ Body template. Expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ is invalid due to: Condition AND(NOT(ISBLANK([Cรณdigo_CIE10_3]))) has an invalid structure: at least 2 subexpression(s) required.

Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdicaโ€™ action โ€˜Action 1โ€™ Body template. โ€˜Ifโ€™ expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ yields a result of type โ€˜โ€™ rather than the expected type โ€˜Yes/Noโ€™.

Do I need to change the expression? Or it was a Bug?

It looks like an error in both the Body and Attachment template.
I could not find field โ€œObservacionesโ€ in the table.

However, can you leave the application idle for now.
We are still debugging to try and figure out wny the Editor is not listing the errors.

Still fixing the bug?

Hi Aparicio,

Just released a fix. Thanks for your help.

Great!
Thank you

Hey Phil!
I just send both emails to try the fix and the issue still there.

Hi Aparicio,

There are syntax errors in your templates. The problem was that the Editor was not listing those errors.

The Editor now lists the errors. You still need to fix those errors.

Can you help me here?
Do I need to chnage the structure of the expression inside the DOC?
[column] names are all ok
<<Start: [Related Evolucion_Medicas]>><<[Fecha_hora]>>
<<[ID_Fecha_hora_AT]>>
<<[Observaciones]>>
<<[Firma_medico]>>
<> here goes the โ€œEndโ€ but is not showing it in this message

What are the errors?

Same error as the begining of this topic.
I donยดt now why is not showing that [column] info

Have you addressed the errors Phil noted above?

Can you tell me where is the mistaken in this expression?

<<IF: AND(ISNOTBLANK([Cรณdigo_CIE10_1]), ISNOTBLANK([Descripcion_CIE10_1]))>> 1- <<[Descripcion_CIE10_1]>><> โ€œEndifโ€ at the end

What error is the app editor reporting?

โ€œErrorsโ€: โ€œError: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Attachment template. Expression โ€˜[Fecha_hora]โ€™ is invalid due to: Unable to find column โ€˜Fecha_horaโ€™, did you mean โ€˜ID_Fecha_hora_ATโ€™?. Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Attachment template. Expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ is invalid due to: Condition AND(NOT(ISBLANK([Cรณdigo_CIE10_3]))) has an invalid structure: at least 2 subexpression(s) required. Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Attachment template. โ€˜Ifโ€™ expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ yields a result of type โ€˜โ€™ rather than the expected type โ€˜Yes/Noโ€™. Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Attachment template โ€˜Ifโ€™ expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ does not yield a result of type โ€˜Yes/Noโ€™. Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Body template. Expression โ€˜[Fecha_hora]โ€™ is invalid due to: Unable to find column โ€˜Fecha_horaโ€™, did you mean โ€˜ID_Fecha_hora_ATโ€™?. Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Body template. Expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ is invalid due to: Condition AND(NOT(ISBLANK([Cรณdigo_CIE10_3]))) has an invalid structure: at least 2 subexpression(s) required. Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Body template. โ€˜Ifโ€™ expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ yields a result of type โ€˜โ€™ rather than the expected type โ€˜Yes/Noโ€™. Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Body template โ€˜Ifโ€™ expression โ€˜AND(ISNOTBLANK([Cรณdigo_CIE10_3]) ISNOTBLANK([Descripcion_CIE10_3]))โ€™ does not yield a result of type โ€˜Yes/Noโ€™.โ€,

The columns that is said is missing may be is because the ISNOTBLANK expression is wrong?
Should I add a โ€œtrueโ€ somewhere in the expression?
This is the expression:

<<IF: AND(ISNOTBLANK([Cรณdigo_CIE10_1]), ISNOTBLANK([Descripcion_CIE10_1]))>> 1- <<[Descripcion_CIE10_1]>><> it ends with an โ€œEndIfโ€

When attempting to fix errors, you should always work from the top of the list, down, as later errors may be caused by earlier ones. Please address the other errors first to eliminate the possibility that they are contributing to your specific concern.

The errors thart show at the begening are errors from the related table in the DOC, and the column values are the same in the DOC than the ones in the related table ([Fecha_hora] this is the key column from the related table):

<<Start: [Related Evolucion_Medicas]>><<[Fecha_hora]>>
<<[ID_Fecha_hora_AT]>>
<<[Observaciones]>>
<<[Firma_medico]>>

<> in ends with an โ€œEndโ€

The ISNOTBLANK errors are in the major table from the DOC and it has almost a 100 columns to fetch. All the columns are with the same values in the DOC as they are in the table.

Hi @Aparicio_Pineyrua, to fix the AND() expression, you need to add a comma to separate the 2 ISNOTBLANK expressions. Could you put in this fix first to see if it would work?

It was missing one coma, I add it and the problem still there.
Some how is not fetching the related table and some of their columns, but the expression the DOC is ok and the column names are ok.

Error message:
โ€œErrorsโ€: โ€œError: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Attachment template. Expression โ€˜[Fecha_hora]โ€™ is invalid due to: Unable to find column โ€˜Fecha_horaโ€™. Error: Workflow rule โ€˜Modelo Reporte de Atencioฬn Meฬdica Prioridad 3โ€™ action โ€˜Action 1โ€™ Body template. Expression โ€˜[Fecha_hora]โ€™ is invalid due to: Unable to find column โ€˜Fecha_horaโ€™.โ€, โ€œWarningsโ€: "Warning: App version 1.000517 is not deployed. All workflow emails are therefore being sent to the app creator. This email should have gone To

Top Labels in this Space