In Event handlers when to use entity manager api and when to use user manager API.
- Updating an attribute via event manager API is like a database insert or update. Thus no new orchestration event is created. Simply put this means that if an attribute updated on OIM user profile had to flow in a downstream system then event manager API is of no use.
- However, if this (downstream flow) is not the case, then use event manager API, as it inherently takes care of infinite loop prevention in event handler code.
More details can be found at:
No comments:
Post a Comment