Hi Lionel, I don't think there is at present any other way to accomplish your goal, clever trick!
Regards. On 25/03/25 11:27, Lionel SCHWARZ wrote:
Dear all, Say we have two AnyObjectType TYPE1 and TYPE2, what is the syntax to define a notification on CREATE TYPE1 only? I could not find any examples and looking at the code [1], it seems I have to write a condition on TYPE2 which will be always false like: { "events": [ "[LOGIC]:[AnyObjectLogic]:[]:[create]:[SUCCESS]" ], "abouts": { "TYPE2": "$type==TYPE1" } } Is there a more clever way to do this? Regards Lionel [1] https://github.com/apache/syncope/blob/f6c1db4f068759c8283674a25cb7a140c04d0563/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/notification/DefaultNotificationManager.java#L343
-- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA https://about.me/ilgrosso