Solved

How can I schedule the report mailer?

  • 18 March 2021
  • 2 replies
  • 100 views

Userlevel 1
Badge +3
  • Vanguard
  • 19 replies

In a recent meeting a client told us about her morning routine. A quite cumbersome exercise logging into their thinkwise application to verify if there are any records with certain error states. Only to log out when none are found.

We suggested it would be a lot better to send her and some other staff a daily report containing records with error states (and some other goodies to show the success of the system). We would like to send them this report each workday morning at 6:45 using the report mailer.

We know how to schedule process flows within the app. But how do we get the application to send out a report (task with gui code) while triggering this from a schedules flow?

icon

Best answer by Mark Jongeling 19 March 2021, 12:49

View original

2 replies

Userlevel 7
Badge +23

Hi Bas,

Here's the example:

 

Userlevel 7
Badge +23

Hi Bas,

Currently the System Flow does not support the use of Tasks nor the use of Reports as the process actions (Execute Task and Print Report) are not supported.

There's a clever way of achieving what your client desires but it cannot work with the Task with GUI code as Indicium does not support that.

In the System Flow, a HTTP connector can be used to call it's own API, a Report. The response (varbinary) of the Report can then be written using the Write file connector to Disk. Then after that you can use the SMTP connector to send an email and attaching the Report to the email. More info here: Process flows API and Report API

What is the Task GUI code for? Maybe there's another way you can achieve the same functionality natively in the platform.

Reply