StoredID/persistentID only when used?
Rod Widdowson
rdw at steadingsoftware.com
Tue Sep 20 05:12:06 EDT 2016
> Seeing how this half works, what am I doing wrong?
I think that you condition isn’t attached to the correct place.
The dependencies are resolved before the resolver is invoked so the dependency of eduPersonTargetedID is invoked. Which is to say that the condition is about the plugin (DataConnector, Attribute Resolver) _not_ about its conditions.
The dependency of 'eduPersonTargetedID' is 'StoredId' and that does all the work (including writing to the DB).
Then 'eduPersonTargetedID' is invoked and the predicate says "return with no further action". But by that time the 'StoreId' has beaten on your DataBase.
If you can, try making the 'StoredId' (which after all is the think you want to supress working) conditional. You then don't need to do anything to 'eduPersonTargetedID' - it will see that it has no input and bail (potentially with a warning - so maybe you do need the condition).
/Rod
More information about the users
mailing list