Hi,
Yeah, I had them there. I somehow guessed that this is the case and I’ll just
have to move them back then…☺
Regards,
Mikael
From: Francesco Chicchiriccò [mailto:[email protected]]
Sent: tiistai 1. elokuuta 2017 17.15
To: [email protected]
Subject: Re: DefaultLogicActions and pull
On 01/08/2017 16:07, Mikael Ekblom wrote:
Hi,
I have tried to move some related logic for the whole realm to the
DefaultLogicActions-implementation within our Syncope. Now though I can see
that during the pull and the subsequent creation of the users, the
defaultlogicaction beforeCreate, afterCreate etc. will never be triggered
during actual pull and the subsequent creation. Updates after the pull (if a
field changes) do trigger the suitable functions (beforeUpdate, afterupdate
etc. ).
The action is specified for the realm, where I put the users during the pull.
No error messages or anything indication a serious problem.
Am I missing something or should it just not be possible to do? I think the
sync process should generate a create request towards the core at some point
even if you pull the information from an external source?
Hi Mikael,
LogicActions are triggered when the Logic layer is involved, e.g. during REST
calls.
https://syncope.apache.org/docs/reference-guide.html#overview
If you need to perform custom tasks during pull, use PullActions.
HTH
Regards.
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/