Skip to main content
Solved

FSM - calling another MPM from a custom MPM

  • July 18, 2022
  • 1 reply
  • 73 views

Forum|alt.badge.img+2
  • Do Gooder
  • 2 replies

Has anyone tried calling/triggering a list of MPMs from within a custom MPM. I have a requirement of calling other MPMs (custom and OOTB) from within the code. Updating objects in both FSM as well as PSO.

 

 

Best answer by Saranga Amaraweera

@KKK ,

You may need to write a common method to call the perform messages in your custom mpm by taking the message_name, parameters as input parameters and then the method implementation to be built on a manager class. Further you could have a list to store the mpm names and check whether the matching messages are contained in the list of items to be executed in your code. Also, you might require reflection if you need to invoke the methods of indirect assemblies.

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

1 reply

Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

@KKK ,

You may need to write a common method to call the perform messages in your custom mpm by taking the message_name, parameters as input parameters and then the method implementation to be built on a manager class. Further you could have a list to store the mpm names and check whether the matching messages are contained in the list of items to be executed in your code. Also, you might require reflection if you need to invoke the methods of indirect assemblies.


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