Regarding the Validation Manager for phone number

Hi all

I need to use a validation Manager so that I can post the phone number field that is available by default in the console of the IOM in creating user. I want to be able to verify that this phone number is 10 digits, and a few other validations we want to do. Now that I saw the doc Oracle which shows a validation example on the link Manager: http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/oper.htm. The code is displayed as below:

throws a ValidationException ValidationFailedException {}
Parameters HashMap < String, Serializable > = orchestration.getParameters ();
String password = (parameters.get("usr_password") instanceof ContextAware)
? (String) (Parameters.get ("usr_password")) .getObjectValue () (ContextAware)
: (String) parameters.get ("usr_password");
If (password.contains("$")) {}
throw new ValidationFailedException();
}
}

but I suspect there's a missing line above what should be as public EventResult run (long processId, long eventId, orchestration of the Orchestration). That said, the usr_password is the parameter that happened here using the parameters.get () function. However I can't figure out how I can check for the phone number of the same way? It will be like usr_telephone_number? Please guide me still.

Also, I need to do as a manager of validation for email address where in the Organization the user selects should be the domain of the email for example address field. If the user selects a fictitious organization, then the validation of the email should work to check if the entered domain is [email protected]. So for this I think I might need the details of how to get the selected organization and the e-mail address entered. Can you please help me to get the names of parameters for these parameters? Or direct me to the doc or a link where it is mentioned? Don't want to do trial and error with an event handler. Please help me.

Thank you

Attributes are referenced by the 'attribute name', i.e. 'Phone number' and 'Email' for the attributes you want. To the organization that you use "act_key" However this only returns the key of the object of the organization database - and not its name. If you need the name for validation, you will need to get this through the OrganizationManager, for example to get the name of the Organization to the organization with the act_key key:

OrganizationManager orgmgr = (OrganizationManager.class) Platform.getService;
Set = new HashSetuploading.
try {}
org = orgmgr.getDetails (act_key, uploading, false);
} catch (Exception e) {}
}
orgName = (String) org.getAttribute ("name of the Organization);

Note that act_key can be returned as a long and the need of conversion to a string first.

Tags: Fusion Middleware

Similar Questions

  • BlackBerry Smartphones Facebook 1.5 - connect contact initiates the request for phone number

    Hello

    Just installed Facebook 1.5 on my Curve 8900 and I am trying to manually link some FB friends to the contacts of BB.  Whenever I do this it sends a request to the FaceBook friend's phone number when it connects to them.  Does anyone know of a way I can turn this option off?  I want to just connect, not request a phone number, otherwise I would have chosen the option "request phone!

    Thank you

    DOM

    Yes, the 1.5.0.32 FB version corrects this problem.

  • Need to disable the service manager for down load adobe

    Need to disable the Service Manager for down load adobe

    Original title: program compatibility Application Applications App Apps GaGames Legacy Crash crashes hang hangs
    Moved from feedback
    Internet Explorer version unspecified - unspecified BONES

    Hello

    What Adobe program you are trying to download?

    Flash Player
    http://helpx.Adobe.com/Flash-Player/KB/installation-problems-Flash-Player-Windows.html

    Adobe Reader
    http://helpx.Adobe.com/Acrobat/KB/quick-fix-install-download-reader.html

    Don

  • Is there another way the valid values for arguments?

    Hi, I need to know if, when you use a layout that dynamically changes the valid values of the argument can change the valid values?

    There is an argumentValidValues(), but when I put:

    Table = argumentValidValues()

    nothing won't change, does anyone know if this is possible or is there another way to do it?

    Thanks in advance

    You can refresh the valid values for an attribute (usually included in a list combo box drop-down list) in the presentation of the subject of a BPM if you call the logic:

    Note that this logic must have double
    quotation marks that surround the name of the attribute
    refreshValidValues ("customerName")

    This means that the attribute (in this example customerName) has its valid values from a 'dynamic method' instead of a 'static' list

    When the logic above is performed, the method associated with the attribute runs automatically and you should see your values in your dropdown menu dow to cool off.

    Be sure to include the double quote characters in the logic. You have to type:

    This logic will NOT work because it does not have double quotes
    refreshValidValues (customerName)

    This is a common mistake and will cost you one day of scratching your head while you try to figure out what went wrong.

    Hope this helps,
    Dan

  • Apple id two verification step. What happens to the disabled reliable when phone number?

    Recently, I have restored my iPod touch 5 and during the implementation was faced with this application id of two steps. There seems to be no way of not choosing this option, so I used my phone number. I didn't do that but could find no other way to get around it. I assumed it was another bright Apple who must love or fixed ideas to stay up-to-date (as for example losing favorite functions e.g. shake to shuffle etc) of their clients. After doing this (subject), I received an email telling me that I might opt, which I did, but only after changing my password as I didn't want to do. The way I see it was not only a waste of time, but as someone who is intensely private and do not link personal information for security reasons I feel like I've been forced to do something I would never normally do just to keep the unit I paid a small fortune for compatible with applications that I want to use for example. latest versions of traktor etc. It makes me feel like anytime I can do to compromise my desires as a customer just to continue to use MY PROPERTY. Anyway there is the substance of my question (if you have not asleep and could be bothered to read it all) which in the end is - what happened to my number of confidence when I chose? I can't find anything about this in the text of presentation, or on the forum. It is to dispose of safely, or is it for always TAPI in some dark Apple cavity or FBI database (or other personal data collection entity)? At a time where we are told to pay attention to our information it seems to have been a lot of too-ing and back and forth of my personal data on the web for no reason and I'm done with a password change, that I didn't. Can anyone put my mind at ease on at least that?

    step 2 is optional, you didn't have to use it.

    If your idea that Apple don't has not given you the choice is bad, that you choose. But you can disable it again.

  • How to get the contact's mobile phone number?

    I know there is StringArray for data http://www.blackberry.com/developers/docs/4.6.0api/index.html telphone and I see someone [contact.getString (Contact.TEL, 0)] to obtain the HOUSE telphone number. From my point of view, it should be Contact.Tel [N] above. So my question is how do I get the mobile phone number? Can I use contact.getString (xxx)? Thanks for any response.

    VR;

    getString (Contact.TEL, Contact.ATTR_MOBILE)

    instead of 0 as the 2nd argument

  • BlackBerry Smartphones where can I find the Media Manager for my office?

    OK I just looked at my records that I received with my BB Storm the other day.  It's the 9530.  There is only the VCast & BB media sync, but the button for Media Manager does not work... I watched the disc and there no Media Manager... now what?  I am running Windows Vista Premium Home OS, and I have the Desktop Manager 4.7 version.  Where the hell is the Media Manager and since I can't find it, y at - it a downloadable version of it somewhere on the net?  Please HELP I am ready to pull my hair!

    I had to talk to the reps to Blackberry and apparently some discs did NOT have the media for a reason Manager any.  The option was left aside.

    After much frustration, I finally got my answer.

    Format your card of media phones first, it on your phone.  Once done you will have a folder on your computer, when the phone is plugged into the computer, which said device BLACKBERRY and BLACKBERRY Media Card.  You can simply drag and drop into specified folders (for me it was the videos).

    If you already have a converter media it is the perfect way to do it and the video should be MP4 (at least that's all so far, I have converted)

    For the Media Manager, go here: http://na.blackberry.com/eng/services/desktop/ but make sure you that you have uninstalled the Manager of the desktop of your computer first, and then re - install using the download from the link above.  I did it and it works fine now.

    FYI - the Roxio is slower than the second coming during the conversion.  First use the reformat your phone option, and then use roxio if you do not have a Media Converter.  There are other media there converters that are much faster.  I have one for my Zune that allows to convert a movie in about 20 minutes or more and then it's in the right format for the phone.

    Good luck.

  • I now have CC, when I downloaded the Application Manager for him, his list only programs CS6

    I just subscribed to the CC and downloaded the application manager that lists all the adobe programs, I now have on my Win7 machine.  Each of them shows CC.  I ran on my Vista computer also and its all it shows also, but as CS6.  Why only show CC as well?

    Hi Kellyjaye1,

    Please see the system requirements for creative Cloud applications.

    http://www.Adobe.com/in/products/creativecloud/tech-specs.html

    Please let me know if you have any further questions.

    Kind regards

    Sumit Singh

  • Windows 2000 version of the Power Manager for A75

    Hi all

    I installed Windows 2000 in an A75-S226, but I can't find a utility Power Manager for this OS. I tried the version of Windows XP, but as expected, it did not work.

    Is there someone else by using Windows 2000 with this model?

    Thank you

    Rubens

    Hello

    This unit has been designed and delivered in the U.S. market
    He was able to find a utility power for W2k on the site Web of Toshiba driver we.
    Please visit this link:
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/Su/su_sc_dtlViewDL.jsp?soID=729833&MOID=713725&BV_Ses sionID=@@@0394886756.1138114313@@@&BV_EngineID=c ccfaddgkkelmigcgfkceghdgngdgmn.0 & ct = DL

    Good bye

  • the system cannot find the message text for message number 0 x in the message file

    Hello

    I use the MKLINK command to share a public directory in my file server for all organizational units.
    After I set the NTFS permissions on the server, I can open directories related to all the directories of the OU but in client windows XP to return this error window:

    "The system is not message text for message number 0 x in the messages for \\Filesrv2\IT\Public file.

    Thank you for your time

    Hi Babak,

    The issue of Windows is more complex than what is generally answered in the Microsoft Community Forums. Appropriate in the TechNet Forums. Please post your question in the TechNet Forums.

    You can check the link to post your question:

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

    I hope that helps!

  • How do I repair/recharge the Boot Manager for Win XP without the OEM disks?

    I have an IBM Thinkpad G41 with a configuration dual-boot for awhile. I am donating to the laptop at my church and must remove Linux (don't ask) and make XP installed OS only.
    The problem is that I need rebuild/repair Manager start Windows from the installation of Linux successor whit its own boot manager (Grub).
    I have not the disc XP OS then where can I find the Boot Manager or the files that I need to reload/reconstruction.
    XP fills the primary partition on the HARD drive.
    While I can let it load Linux installed it would be useless to anyone and just takes place.

    Thank you.

    Art

    I have an IBM Thinkpad G41 with a configuration dual-boot for awhile. I am donating to the laptop at my church and must remove Linux (don't ask) and make XP installed OS only.
    The problem is that I need rebuild/repair Manager start Windows from the installation of Linux successor whit its own boot manager (Grub).
    I have not the disc XP OS then where can I find the Boot Manager or the files that I need to reload/reconstruction.
    XP fills the primary partition on the HARD drive.
    While I can let it load Linux installed it would be useless to anyone and just takes place.

    Thank you.

    Art

    Download asw. MBR HERE , save it to your desktop. Open the program. Click 'Fix MBR. " Follow the prompts.

  • How can I activate in the window manager for areo glass can be activated?

    After installation ATS for Microsoft Fix - It, I went to... check areo glass and he pointed out that my 'Windows Manager' was not enabled.   How can I go on the activation of the 'Windows Manager'?

    Execute plug-in software component services MMC (services.msc) find the two services, make a double click and set the startup type to automatic. "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • BlackBerry smartphones dial # at the end of a phone number

    BB starting and have new tour - how to compose the # at the end of the phone number or inside a call? I tried alt Q and find an option show-keyboard - and have had no success.

    Thank you!

    Cool!
    I'm glad that you fixed it.
    Please solve the thread so that others can find your answer faster.
    Thank you

    Bifocals

  • Problems with the extension manager for 2015 of CC (was: Extension Manager fails to load products)

    Can Hi anyone help me understand what could be the problem with my extensions Manager. I just installed or rather updated all my apps, including extensions through the CC Manager Manager. After updated all my applications, I think I lost all my extensions on Photoshop CC 2015. So I tried to reinstall the extensions Manager and update it, but the problem seems to be it seems to take on Photoshop, which makes it difficult for me to install new extensions. Is there something escapes me?

    Hi Didier,.

    See a related discussion on the same topic: Re: Extensions CC2015 gone

    I heard the team there are some problems with the Add-ons and the command line tool, and the team is trying to solve. I'll let you know as soon as I have an update.

    See Adobe Exchange for official communication on the extensions Manager.

    Thank you

    Preran

  • Someone knows the Adobe customer service phone number?

    Impossible to find info and online help, need to talk to a real person. They used to have a support phone number technical but is not running more. Info will be very appreciated!

    Click here:

    Google

Maybe you are looking for