Skip to main content

When we are creating a generic event action and event action for a particular user to send an e-mail with a PDF report, is there any rule on what event will be triggered first? Does the system prioritize the event action which has “user” over the generic event action?

There is no sorting of event actions when you execute an event.

However, it might be so that they are executed in the order they are created. But it is not 100% sure and the behavior can be changed anytime you add/change event actions etc.

Best thing is to make sure that you have conditions that always only give only one event action. Unless you want to execute several and if the order of them does not matter.


There is no specific rule, but it will check whether  there areany conditions defined for parameters when executing the event action. (Ex - REPORT_TITLE)


As @Tomas Ruderfelt mentioned, there’s no sorting of event action order of execution. According to implementation, actions will execute in the order of below query results

 

SELECT event_id, event_lu_name, fnd_event_action_type, description
FROM fnd_event_action
WHERE event_id = '&event_id'
AND event_lu_name = '&event_lu'
AND action_enable = 'TRUE';

 

Hope it helps.

Damith