Solved

Trigger report mpm from business rule

  • 2 October 2020
  • 2 replies
  • 199 views

Userlevel 5
Badge +12

Hi,

 

I am trying to perform the printing of a report automatically after some event. 

Can anyone explain how this works?

I found the mpm ‘perform_get_report_pdf’ and passed that name to a newly created Value Custom Process by defining this MPM as the ‘Perform Name To Call’ in the process parameters. 

When I define my business rule I will find myself the parameters of this MPM.

However from here I am not sure how to proceed and how I could pass the right value to the parameter ‘report_parameters’?

 

Thank you in advance!

icon

Best answer by jevflk 4 October 2020, 06:58

View original

2 replies

Badge +1

Hi,

You can pass the parameters as follows which are defined to the report, (in reports screen)

  SurveyID=123&TaskID=245 
each parameter need to be separated by the “&” symbol,

//Jevin

Userlevel 5
Badge +12

Hi Jevin,

 

Thanks for your response. However I think I am still missing a part. I get this back.
 

 

I found this menu ‘Perform Definitions’ in FSM. Based on this menu I query on the following tables:

  • cust_perform_def
  • cust_perform_param
  • metrix_perform_def
  • metrix_perform_param

The perform_get_report_pdf is existing in the metrix_perform_def and metrix_perofrm_param so I do not get why this error message is stating that the perform definition method cannot be found. 

Just to be sure, I even tried to define the perform message in de cust_perform_def and cust_perform_param, but that gave me the same result. 

Any clue what I am missing here?

Thanks in advance!

Reply