Skip to main content

Hi there,

I'm trying to create an XML Business Rule in which I basically want to validate whether a user has a specific role in their set of roles and, if so, an error type message translation is run. Does anyone know if it's possible to write an XML code to run an already defined message translation or, alternatively, how to write an XML code to perform an error message?

Hi ​@anafilipapn ,

I found an MPM that might be useful for your requirement: perform_create_alert MPM.
I haven’t used it before, but it might help with your query.


Hi ​@Chethana,

Thank you so much for your response. Do you know the structure I need to use for that MPM? Like the required parameters I need to define?


Hi ​@Chethana,

Thank you so much for your response. Do you know the structure I need to use for that MPM? Like the required parameters I need to define?

<perform_create_alert>
  <parameters>
    <datarow></datarow>
    <messageid></messageid>
    <message_value></message_value>
    <sound_id></sound_id>
    <secondstodisplay>30</secondstodisplay>
    <alerttype></alerttype>
  </parameters>
</perform_create_alert>


@Chethana Thank you so much. However, do you know why this error might be happening: 

I have confirmed and that messageid does exist:

 


Hi ​@anafilipapn 

Try changing the message type from ‘error’ to something else like information.

Cheers!

 


Reply