Skip to main content
Solved

Trigger report mpm from business rule


josdepijper
Hero (Partner)
Forum|alt.badge.img+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!

Best answer by jevflk

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

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

2 replies

jevflk
Do Gooder (Former Employee)
Forum|alt.badge.img+1
  • Do Gooder (Former Employee)
  • 1 reply
  • Answer
  • October 4, 2020

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


josdepijper
Hero (Partner)
Forum|alt.badge.img+12
  • Author
  • Hero (Partner)
  • 67 replies
  • October 5, 2020

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


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