Hi all,
Having a client which posts file via the /alfresco/service/api/upload and having some application logic in a rule (implemented in Java, extending ActionExecuterAbstractBase) what is the way to communicate meaningfull errors back to client if the rule detects some error condition?
Throwing an exception returns an Http 500, instead I would like to send and error message via JSON for example.
Thx,
Alex