Can  DISABLE preProcess Event Handler add to the Orchestration parameters?

I have a DISABLE pre-process event handler defined on the User object. I need to set the current date on a USR UDF attribute whenever the user is disabled or enabled or created. The CREATE handler works and the date value shows up on the user profile. However, when I try to set this attribute on the pre-process DISABLE or ENABLE event handlers, the new date does not show up. Here is the code I am using in my DISABLE/ENABLE event handler:
Date currentTime = new Date(System.currentTimeMillis());
orchestration.addParameter(USER_STATUS_DATETIME_ATTR_NAME, currentTime);
Where the orchestration object is from the execute() parameter list.
Any ideas as to why this is not working? Is adding to the orchestration not allowed for DISABLE or ENABLE event handlers? I know my handler is getting calls as I am logging the orchestration.getOperation() value.
Thanks for any suggestions.
-Dave
Edited by: user552098 on Nov 12, 2012 1:56 PM

When you update the field, make sure you are using the field label name, and not the UDF value.
-Kevin

Similar Messages

  • Can File Based events Handle wildcards in the filename

    The question was can file events handle wildcards in the filename? That way, the object scheduled to handle the event can query the file event specifics and process accordingly. The impact is that we will have to create a file event for every event type for every pathway/state. Therefore, in a worst case scenario, if there are 3 event types for every state, i.e., end of day, end of week, and end of month, and there are 50 pathways/states, then there would be 50 *3 or 150 total file events that would have to be entered. If BOE can handle file event wildcarding, then we need only one event.can we do that ???
    Edited by: sanfrancisco on Nov 18, 2010 5:20 PM

    Hi
    As per my knowledge events will not Handle wildcards in the filename
    Regards
    Ashwini

  • PreProcess Event Handler setting default password

    Greetings.
    We developed a custom preprocess event handler and is working fine, but I want to set a default password for a new user using the sentence orchestration.addParameter("Password","defaultpassword") However I got the message :
    <Error> <oracle.iam.identity.usermgmt.impl.handlers.create> <IAM-3050009> <Unknown attribute for entity user.
    oracle.iam.platform.entitymgr.UnknownAttributeException: User : [Password]
    I think that is necesary use a method like setXelleratePassword or something like that.
    How to set a default password in a preprocess event handler associated to the create user event?
    Thanks!

    Hi
    Try with this.
    Use orchestration.addParameter("USR_PASSWORD","defaultpassword")

  • Best event handling way making the code simple

    Hi all,
    I want to develop a JFrame thats all the componets inside the JFrame have methods (that are owned by JFrame the class) like "compNameClicked", "compNameChanged", "compNameArranged". The JFrame would be like this below...
    class MyFrame extends JFrame
          //Datamembers
          comp1Name declaration
          comp2Name declaration
          comp3Name declaration
          //Methods
          comp1NameClicked() {...}
          comp1NameChanged() {...}
          comp1NameArranged() {...}
          comp2NameChanged() {...}
          comp3NameClicked() {...}
    How will i register this "event handling" methods to the componets? I want to use this techique to retain the simplicity of the code. If there is a more simple way for event hadling, please let me know about it.
    thank you for advance, kostas

    There cannot be a single approach which will apply to all the Programs or application.
    You can try and refere to :
    http://www-106.ibm.com/developerworks/edu/j-dw-javadeliv-i.html
    This tutorial explains all the available approaches you can find out what best suits your need.

  • I can't remove event handler functions

    Hi guys!
    Please help to remove event handler functions of a
    FLVPlaback. I add some functions for an FLVPlaback instance and
    that's why doesn't work the control panel (play button, pause
    button and so on) Here is a link:
    http://sexaid.fw.hu/vg/vg.html
    to understand simply the problem. thx every ideas!

    I would prefer not to announce the URL to the world on this forum, but I can say the old website still starts with the standard .Mac URL http://web.mac.com/username/iWeb and the new one until I set up to use my own domain was the same I believe.
    Empty the Cache has no effect I can still go to the URL and explore the various pages.
    I do not think that the .Mac websites are hosted from the iDisk location as I have defiantly deleted them from my iDisk and I have rechecked every file in the iDisk for any sign of them also my new iWeb '08 website never appeared in the iDisk. I would presume that the .Mac websites are hosted from a particular location on the Apple servers and I need to some how pull them off separately because publishing another new site with iWeb '08 has just left me with two sites and the old one remains and does not exist in iWeb '08 so I can unpublish it.

  • How do I disable an event handler?

    The file below contains a canvas and a button on the canvas. There are two event handlers, one for the button and one for the canvas. How to I disable the event handler for the canvas when the button is clicked?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
        <mx:Script>
            <![CDATA[
                public function init():void{
                    canvas.addEventListener(MouseEvent.CLICK, handleClick)               
                    button.addEventListener(MouseEvent.CLICK, handleButtonClick)
                public function handleClick(e:Event):void{
                    trace("Application clicked")
                public function handleButtonClick(e:Event):void{
                    trace("Button clicked")
            ]]>
        </mx:Script>
        <mx:Canvas  id="canvas" x="108" y="82" width="200" height="200"  backgroundColor="0xff0000">
            <mx:Button  id="button" x="10" y="168" label="Button" mouseChildren="false"/>
        </mx:Canvas>
    </mx:Application>

    u can do this when user clicks on any of the canvas or button, just check it currentTarget and then work with ur functions accordingly

  • What way can I format my emails so iphone can create calendar events automatically with all the information?

    I use a website to send emails to myself. It already sorta creates the calendar event but requires a lot of editing. The link-back to the email makes it super easy to just go to the original. But I'm wondering if there's a specific format I can put the emails so that when creating the calendar event, it just has all the information, instead of parts of it?

    Please don't respond with useless comments.  I've already addressed the fact that my screen was broken a few months ago.  My phone may or may not be broken beyond repair either way, as I said before I can't afford a new phone.  It's a strange problem because from what I can tell no one else has posted the same problem anywhere I can find.  Don't be a dickhole.

  • Event handling while changing the value or clicking the button

    Hi All,
    I am working on Jdeveloper 11.1.1.5.
    I have a must requirement where i have a textbox and a button.
    Now if a user changes the value of the textbox then i need to show a dialog to the user for the confirmation that whether he wants to continue or not.
    And on click of button i execute my business logic and commit in the database.
    NOTE :- I am opening that dialog on the valueChangeEvent of the textbox.
    Case 1 :-
    User enter a value in the textbox and tab out the field , value change occurs and dialog displayed onto the page. -> CORRECT
    Case 2 :-
    User enter a value in the textbox and does not tab out the field and directly click on the button.In that case , actually valueChange and button code both executes at the same time.I mean to say , the user click on the button , i get the dialog , but my business logic also gets executed. -> INCORRECT(ISSUE)
    How should i restrict the button logic to be executed till the dialog has been shown and user has confirmed.
    Kindly suggest!!!
    Regards,
    Shah

    Hi Shah,
    You can try something like this:
    <af:inputText autoSubmit="true" id="it1" ...>
      <af:setPropertyListener from="true" to="#{viewScope.uncommittedData}" type="valueChange"/>
    </af:inputText>
    <af:commandButton partialTriggers="it1" disabled="#{viewScope.uncommittedData ne 'true'}" .../>AP

  • TS1702 Can I combine events in iPhoto on the iPad?

    That's it.

    As far as I know.  This cannot be done on the ipad (or any iOS device for that matter).  It can only be done on a mac.

  • Hi Can i re- arrange or add more the options in bottom nofification bar

    Hi All,
    Curreently i am using IOS 7 Beta 5, I want to add mobile data at the bottom notification bar, is it possible to add?
    Thanks,
    Vijay

    If you are a developer  you have posted in the wrong  forum.  If you are not a developer then you have an illegal copy of ios7 and you get no help here

  • Disabling mouse events

    hi,
    I am having objects on a JFrame that respond to mouse events. I would like to know how I can disable these events. I use the addMouseListener to register a mouse event on something. Is there a way to remove or to deregister mouse events.
    I basically have a game of tiles on a JFrame and I am going to have the human player play against the computer. I want to be able to have turns; computer and human player turn.

    removeMouseListener()

  • OID resource goes to Disabled Status after running the post process event handler

    Hi,
    We have an event handler on post update operation. The event handler using the user manager API to do some modification. We are using the "Lock()" function of User Manager API to lock the user based on attribute value. After running the event handler though the user gets locked as expected, it also disables the OID resource after that. We have other resources along with OID but they are not affected with event handler. Only the OID user is triggering the disable operation on locking the user on event handler. We have used the OID 11g Connector for implementation.
    If you manually lock the user in user interface it's not going to disable status.
    How we can stop to disable the OID User Account.
    Thanks

    No.If you lock the user in Console it's not going disable status.
    Thanks

  • Can I stop the event to add an entry??

    Can I stop the event to add an entry if this entry does not comply with a condition that I make?
    I can catch th event to add an entry, but i want to stop it and i dont know how to do it?
    anyone can help me ??
    Thanks.

    Hi,
    Try the following...
    1) In the Add button click in the before action TRUE part u check the condition and validate.
    If ur condition is False..
    then Exit sub
    Else
    MsgBox("Fill the required info corectly")
    BubbleEvent = False
    I wrote this code:
                If pVal.FormType = 134 And pVal.ItemUID = "1" And pVal.EventType =   SAPbouiCOM.BoEventTypes.et_CLICK  And pVal.BeforeAction = True Then
                    Dim o As Boolean = False
                    If o = False Then
                        Exit Sub
                    Else
                    End If
                End If
    where FormType  = 134 is BusinessPartner. When add record I capture this event but  added the IC to BBDD, otherwise would have to stop using the event et_FORM_DATA_ADD??
    thanks.

  • Can we apply an event handler only for a custom request in oim 11G?

    Hi,
    We would like to create a custom request for user creation, modification etc.
    I saw that event handlers allow to add business rules by running java code during differents steps of processes.
    I would like to know if we can trigger an event handler on a specific request and not on all user CREATION, UPDATE etc.
    For example, we would like to have differents creation requests and a differents event handler on each request.
    And can we add "logical" input on request form and read them in event handler?
    For example, 3 inputs: day, month and year on the form which fill one user attribute "end contract date".
    Regards,
    Pierre

    thank you Akshat,
    I saw part 19 in the developper's guide. If I understand, I can change the default CreateUserRequestData to define ALL form components that will be used in my differents user creation request templates.
    I can use prepopulation adapter to pre populate field with java code.
    I can use the plug-in point oracle.iam.request.plugins.StatusChangeEvent to run custom java code.
    But they don't mention where you can run java code for a specific creation template named "MyUserCreationTemplate1" and other java code for an other specific creation tempalate" MyUserCreationTemplate2".
    That makes me think we must retrieve the template name in java code and execute the appropriate business logic.
    if request name==MyUserCreationTemplate1
    Edited by: user1214565 on 31 mai 2011 07:42

  • In Lion 10.7.x I cannot disable the Lock documents for 2 weeks in Time Machine! Thus it prevents to change anything else like the system preferences or other settings. How I can disable it?

    Hello, In Lion 10.7.x I cannot disable the Lock documents for 2 weeks in Time Machine! Thus it prevents to change anything else like the system preferences or other settings. All is locked. How I can disable it?

    Do you mean the check box isn't enabled?
    Or you remove the check but it doesn't "stick"?
    Or you remove the box but documents are stil getting locked?
    That setting doesn't apply to other things in System Preferences, just apps that support AutoSave and Versions.  If you're having a problem with System Prefs, please clarify exactly what.

Maybe you are looking for

  • Question about restoring a backup.

    Question about restoring a backup. I want to restore an old back up to recover messages and photos. If I restore my iPhone with this old backup, will it delete any CURRENT text messages that I currently have on my phone? Same concern current photos o

  • What is the correct procedure for upgrading to aperture 3.4

    I am working in South Sudan and am shortly going to be in a place where I can download all the updates. The last time I did an update was around 2 weeks ago. I presume that there will be updates for Mountain Lion, iPhoto and Aperture, plus a whole pi

  • [WebLogic crash] Stack overflow error not notified

    I want to notify an error that occurred to me; this is the working environment: - Weblogic 5.1 SP10 - Windows2K SP2 / Solaris --> tested on both systems - JBuilder 5 enterprise / JDK 1.3 and JDK 1.2.2 --> tested in both environments - session beans c

  • Why isnt my ipod playing all my itunes payed songs??

    my ipod has all the songs i payed for in my songs list, but it doesnt have them all in my purchased list. i try to play the songs in the purchased but some just jump around and end up not playing the song at all. when i go to my songs list and try to

  • Configuring Multiple Campus Environment

    Hi, Being fairly new to IS-HER, I need your valuable inputs for configuring an existing campus structure to incorporate multiple campus environment. I have the requirement as below: 1. We are coming up with a new campus in a different location. So th