Skip to main content
Solved

Report Rules for mail sending

  • November 23, 2022
  • 10 replies
  • 604 views

Forum|alt.badge.img+5

HI ,

I have created one Report rule to send a mail when user click on RMB from customer order(Print Order confirmation).

It is not hitting the rule. Can anyone help/suggestion. did i make any mistake ? Thanks .

 

Best answer by MiLeNL

Yup that's it. Are you pressing ‘OK’ after the print dialog has appeared? Typically the report rule log should show a log entry with like ‘No condition met’ or something like that if you print.

 

To troubleshoot i would suggest to remove the condition and make sure it fires without any condition attached to it.

10 replies

Forum|alt.badge.img+11
  • Hero (Partner)
  • 100 replies
  • November 23, 2022

Note that report rules only fire when ‘OK’ is pressed in the print dialog.Things you can check

  1. Enable Report Rule Logging in the system parameters and check in the report rule logs if the rule triggers.
  2. If it triggers, check the application messages if a message is created to send out a mail.
  3. Check if the application message is not in failed state.

Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 18 replies
  • November 23, 2022

Thanks for the input.

No entry in Report rule logs and application messages .

Enable in System parameters like this.?

 


Forum|alt.badge.img+11
  • Hero (Partner)
  • 100 replies
  • Answer
  • November 23, 2022

Yup that's it. Are you pressing ‘OK’ after the print dialog has appeared? Typically the report rule log should show a log entry with like ‘No condition met’ or something like that if you print.

 

To troubleshoot i would suggest to remove the condition and make sure it fires without any condition attached to it.


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 18 replies
  • November 23, 2022

Yes  Pressing OK. 

without any condition also it is not triggering.
is that setup is correct.? did i miss any settings for Report Rules.

 

Thanks.


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 18 replies
  • November 23, 2022

i can see some Report rule logs 

but not sure about the issue

 


Forum|alt.badge.img+11
  • Hero (Partner)
  • 100 replies
  • November 23, 2022

Seems your rule fires… so that probably means an application message has been posted to push out an e-mail. That might be hanging somewhere. See if you can find any application message.


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 18 replies
  • November 23, 2022

yes Application message failing due to below issue.

 


Forum|alt.badge.img+11
  • Hero (Partner)
  • 100 replies
  • November 23, 2022

Seems like it's triggered by some form of routing rule. Not sure about the error…. Might be setup of IFS Connect which is not correct. Can't help out in that one. 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 18 replies
  • November 23, 2022

Receiving mail from backend .but from Application it will not.

How we can setup default printer as PDF_PRINTER

 


Forum|alt.badge.img+11
  • Hero (Partner)
  • 100 replies
  • November 23, 2022

You can use the report rule action to select a printer.