The process of any Oracle Identity Manager operation that goes through a predefined set of stages and executes some business logic in each stage is called an orchestration. An event handler is a piece of code that is registered with an orchestration on various stages. These event handlers are invoked when the relevant orchestration stage is performed. The supported orchestration stages in which a custom event handler can be registered are validation, preprocess, and postprocess. Code will extend PostProcessHandler, PreprocessHandler or ValidationHandler based on the kind of Event Handler desired. Code Snippet:- public EventResult execute(long processId, long eventId, Orchestration orchestration) { HashMap<String, Serializable> parameters = orchestration .getParameters(); String company = getParamaterValue(parameters, "Company"); if ((company == null) || company.equals("")) { company = “ABC” orchestration.addParameter("Company
The views expressed on this blog are my own and do not necessarily reflect the views of my employer.