Recommended configuration
Prerequisites for action definitions
Executing an action definition is like performing an action on a (list) of business objects. Actions can sometimes only be executed when some conditions are met. In the Alert condition filter linked to an action definition, business objects that do not meet these conditions should be excluded.
Despite that if you do not exclude business objects on which the action cannot be executed because of specific ruling, the action definition will still work properly. However, for each business object that does not fulfill the rule, an error message will be logged, informing that the action could not be carried out.
Example
When archiving orders, orders that are already archived should be excluded. In addition, the order status of the order should be Cancelled or Administratively completed. To exclude the archived orders, add the following filter to the alert condition:
Field name | Filter operator | Value |
---|
Transferred to archive | = | No |
Status | In | Cancelled or Administratively completed |
Now, orders is in the Cancelled or Administratively completed status and that are not archived yet will now be moved to the archive.