Skip to main content

24R2.

I would like to add a custom attribute to a system defined event, such that this can be referenced within the event action.

Within Technical Documentation for 24R2 it’s mentioned that “It is possible to duplicate a system defined Event Action and make changes to the copy, if there is a need to modify the predefined action.”

How can you achieve this? I see no option within Events/Actions that would allow me to do the above.

The event is NOTIFY_NEXT_AUTH. We use html format for mail sender and would like to improve the presentation of &MESSAGE_TEXT to users.

 

I don’t see a duplicate either.  But to change the message, it allows you to directly edit the action.  Just edit the message text for the action you want to fix.

 


Thanks for response. Yes aware of how to edit the action and its message, however I would like to apply custom attribute so I can customise &MESSAGE_TEXT. Currently with html email format, the output of &MESSAGE_TEXT will provide a long single string of, in this specific case, invoice for authorisation. Whereas the user is expecting 1 invoice per line break.

 

I could easily apply PL/SQL to format &MESSAGE_TEXT if I can create custom event which matches system defined event NOTIFY_NEXT_AUTH.


Hi ​@davidp 

As far as I know we cannot edit system defined EVENTS. Only thing we can do is to add a new event action on them. In your case i think you create your own event and action  that can meet your specific need. 


Oh, yes.  Just manually copy, and disable the system defined one then.  Use the same event name.


Hi ​@HVeon 

Please use a different name for your event so you can identify and do modifications easily in future on your event and it’s actions.  Another reason is when IFS upgrades your system then it overwrites your event also if you have same name . 


@rakpadma 

Perhaps someone from IFS needs to chime in.  I said use the same name, because the api has that event specifically: 

And because the documentation said to duplicate it.