Skip to main content
Solved

Schedule Report to be sent by email daily

  • December 24, 2019
  • 9 replies
  • 2238 views

Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 1 reply

I have a report that I would like to run daily and send it to a distribution list.

How should I do that?

 

Best answer by Dhanushki Pahathkumbure

rcvs wrote:

Hi @KasunBalasooriya 

Actually I created a .rdlc file using Visual Studio.

Then I configured it in IFS using “Reports Admin”

 

Seems this is in FSM you have tried? If so, probably you can create a schedule job to run your report daily. Then you can send this report notification using events. This you may do through a combination of configuring event notification business rule for run log, notification messages and distribution lists. Below is a quick summary on how you can setup,

 

1. Create the notification message (screen: 'Notification Message'). In which you need to specify the corresponding report name (can be multiple) with report parameters. Let’s say this message name = TEST.

2. Create distribution list (screen: distribution list) adding the members. E.g. distribution list = DEMO

3. Create business rule (BR) event notification. You need to choose the METRIX_RUN_LOG_NOTIFY, BR 42. (to specify the notification message TEST that contains the corresponding report, and distribution list DEMO to whom you want to send the report to, upon the  event generation.). Use FSM_run_log_type and run_status as input parameters to create the notification. Please see ‘background processing’ – page 99 topic in the reference guide for further inputs on this.

 

Aforementioned is to attach the report upon a run log event completion to send it to a distribution list.You can also have the report to be generated as an attachment on notification generated from a notification rule exist for request, task, project, product, escalation, non-part usage, contract line as well. if so, you will need to configure the event generation business rule as well for the particular table to specify the triggering event to be used for the corresponding event notification rule.

View original
Did this topic help you find an answer to your question?

9 replies

Kasun Balasooriya
Superhero (Employee)
Forum|alt.badge.img+20

Hi,

What type of report are you trying run? If you are trying to schedule a quick report(of type SQL Statement) to be sent to a mail list,

you can do that by creating a new application server task with the Job Type Quick report and then creating a schedule for this. 

I’ve attached the foundation documentation for your reference. 

 

 


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 1 reply
  • December 24, 2019

Hi @KasunBalasooriya 

Actually I created a .rdlc file using Visual Studio.

Then I configured it in IFS using “Reports Admin”

 


Dhanushki Pahathkumbure
Hero (Employee)
Forum|alt.badge.img+15
rcvs wrote:

Hi @KasunBalasooriya 

Actually I created a .rdlc file using Visual Studio.

Then I configured it in IFS using “Reports Admin”

 

Seems this is in FSM you have tried? If so, probably you can create a schedule job to run your report daily. Then you can send this report notification using events. This you may do through a combination of configuring event notification business rule for run log, notification messages and distribution lists. Below is a quick summary on how you can setup,

 

1. Create the notification message (screen: 'Notification Message'). In which you need to specify the corresponding report name (can be multiple) with report parameters. Let’s say this message name = TEST.

2. Create distribution list (screen: distribution list) adding the members. E.g. distribution list = DEMO

3. Create business rule (BR) event notification. You need to choose the METRIX_RUN_LOG_NOTIFY, BR 42. (to specify the notification message TEST that contains the corresponding report, and distribution list DEMO to whom you want to send the report to, upon the  event generation.). Use FSM_run_log_type and run_status as input parameters to create the notification. Please see ‘background processing’ – page 99 topic in the reference guide for further inputs on this.

 

Aforementioned is to attach the report upon a run log event completion to send it to a distribution list.You can also have the report to be generated as an attachment on notification generated from a notification rule exist for request, task, project, product, escalation, non-part usage, contract line as well. if so, you will need to configure the event generation business rule as well for the particular table to specify the triggering event to be used for the corresponding event notification rule.


baris.halici
Hero (Customer)
Forum|alt.badge.img+12
  • Hero (Customer)
  • 127 replies
  • February 12, 2020

Hi @KasunBalasooriya ,

Thanks for the answer. But I’m not change job type in report formatters view and new button is disabled.

 

Kind regards.


baris.halici
Hero (Customer)
Forum|alt.badge.img+12
  • Hero (Customer)
  • 127 replies
  • February 12, 2020

I found in ifsdoc.

Thanks,

Kind regards.


baris.halici
Hero (Customer)
Forum|alt.badge.img+12
  • Hero (Customer)
  • 127 replies
  • February 12, 2020

Hi @KasunBalasooriya ,

 

I get error “no task exist to execute current job” in transaction Scheduled Database Task.


Forum|alt.badge.img+5
  • 26 replies
  • February 13, 2020

Hi @baris.halici ,

You should use system defined  “Run application Server Task” as the Database Task. 

Like This:

 And you should pass the application_message_id parameter of your report formatter. 

 

Regards.


baris.halici
Hero (Customer)
Forum|alt.badge.img+12
  • Hero (Customer)
  • 127 replies
  • February 13, 2020

thanks @servetsc I didn’t know component name. After, i found FNDBAS - IFS Base Functionality.

 

 

Forum|alt.badge.img+10
  • Sidekick (Customer)
  • 105 replies
  • May 19, 2021

Great Information. I have few questions if @servetsc , @servetsc  @Dhanushki Pahathkumbure , @Kasun Balasooriya any of you can reply.

 I am in IFS10UPD9

1- trying to schedule a Quick Report and it is failing with following message.
user who is the receiver of this email has FNDCONNECT, Document_Attachment permission sets granted to them.
i use extension .xlsx in file name which is defined in document management.

 

To attach Excel File do we need to create some settings in IFSCONNECT?

2-  while testing i noticed, If i change the time to run background job in ‘Task Schedule’ screen, the whole process doesn’t run again. do i need  to recreate from ‘Application Server Task’ again just to change the time of execution ?

3- Can we create multiple ‘Application Server Task’ on one report to send to different user groups? I see the report i once scheduled i can’t find it in dropdown menu of ‘Application Server Task’ screen.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings