How to construct request related mail using OIM email api?

Hi,
I need to send an approval notification to a group.
The group is decided at runtime by a task assignment adapter.
So I have kept a java task in the task assignment adapter after sending the request to the approver.
This java task is called after sending the request to notify the approver via email.
I am able to send the email notification this way.
But the issue is:
1. the email definition being used for approval is request related
2. I am using tcEmailNotificationUtil.constructProvisionEmail api for constructing the mail.
3. Hence the request ID info is not coming in the email being sent(obviously)
But I donot see any request related mail api in this class. What should I do to reflect the request info in the email then?
Thanks for all your earlier supports!
Debasree

List <RequestEntity> targetEntities = req.getTargetEntities();
System.out.println("targetEntities : " + targetEntities);
System.out.println("------------");
The above piece of code retrieves the attributes and their values from the request form while creating a user, but not from the request form, which provisioning a resource to a user.
Regards,

Similar Messages

  • How to send HTML Format Mail using Java Mail in oracle 9i Forms

    Dear All
    could you please tell me how to send HTML Format Mail using Java Mail in oracle 9i Forms and how to implement the java mail ?
    if it is possible, could you please send me the sample code? please very urgent
    Thanks
    P.Sivaraman

    Hello,
    <p>Here is a Form sample.</p>
    Francois

  • How to create Authorization policy using OIM 11g API

    Hi,
    Could you please let me know how to create Authorization policy using OIM 11g API.
    Thanks

    Constructing A Policy Programmatically
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27154/cons_policy_prog.htm#CHDHACBF
    api ref for PolicyStore
    http://docs.oracle.com/cd/E21764_01/apirefs.1111/e22649/oracle/security/jps/service/policystore/PolicyStore.html#createApplicationPolicy_java_lang_String_
    something like below code to start with
    try {
    JpsContextFactory ctxFact;
    ctxFact = JpsContextFactory.getContextFactory();
    JpsContext ctx;
    ctx = ctxFact.getContext();
    PolicyStore ps = ctx.getServiceInstance(PolicyStore.class);
    if (ps == null) {
    // if no policy store instance configured in jps-config.xml
    System.out.println("no policy store instance configured");
    return;
    ApplicationPolicy ap = ps.createApplicationPolicy("Trading", "Trading
    Application","Trading Application.");
    } catch (JpsException e) {
    }

  • How to submit request(Report+Template) using Shell Scripts?

    Hi Friends,
    How to submit request + Add layout using shell scripts..
    If anybody has sample code..Can you please send me to [email protected]
    Please help me..
    Its Urgent.
    Thanks and Regards,
    A Swain
    Message was edited by:
    SwainA

    Following is a package where the request is submitted and the layout is added.
    Also check iin the other way by adding the layout first n then giving the request.
    CREATE OR REPLACE PACKAGE BODY try
    AS
    PROCEDURE try_proc
    errbuf OUT VARCHAR2,
    retcode OUT NUMBER
    IS
    l_mode BOOLEAN;
    l_request_id NUMBER;
    xml_layout BOOLEAN;
    BEGIN
    fnd_file.put_line (fnd_file.output, 'USER_ID :' || fnd_global.user_id);
    fnd_file.put_line (fnd_file.output, 'REQU_ID :' || fnd_global.resp_id);
    fnd_file.put_line (fnd_file.output,
    'RESP_APPL_ID :' || fnd_global.resp_appl_id
    l_mode := fnd_request.set_mode (db_trigger => TRUE);
    IF l_mode IS NOT NULL
    THEN
    fnd_file.put_line (fnd_file.output,
    'Concurrent MODE Option is Success'
    END IF;
    -- if wrong paramters error recd give all 100 arguments as null
    l_request_id :=
    fnd_request.submit_request (application => 'app_short_name',
    program => 'shortname',
    sub_request => FALSE
    fnd_file.put_line (fnd_file.output,
    'Request_Id 1 is :' || l_request_id
    xml_layout :=
    fnd_request.add_layout (template_appl_name => 'SQLAP',
    template_code => 'CAPINEF01',
    template_language => 'en',
    template_territory => 'US',
    output_format => 'PDF'
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line (fnd_file.LOG,
    'Error in procedure package procedure :'
    || SUBSTR (SQLCODE, 1, 20)
    || ':'
    || SUBSTR (SQLERRM, 1, 250)
    END try_proc;
    END try;

  • How do I enable Windows Mail as an email client in Elements 12?

    How do I enaable windows mail as an email client in Elements 12?  The drop down only offers Microsoft outlook and Adobe mail.
    <moved by mod from downloading,installing,settingup - kglad>

    Is there any known solution to enabling Windows Mail as an email client in Elements 12?
    For my personal use, Elements 12 is worthless without the connection windows mail.
    Is there a way to contact Adobe direct for a solution?
    Any assistance will be appreciated........I am photographer not a software wizard.

  • I have two Apple ID, how can I delete one and use the email address associates to the main one?

    I have two Apple ID, how can I delete one and use the email address associates to the main one?

    If you abandon one of the Apple IDs you will also basically be abandoning any content that you have acquired with that Apple ID. Content can only be updated and re-downloaded with the Apple ID that was used to buy it. Apple will not combine the content of Apple IDs and Apple will not transfer the content from one Apple ID to another Apple ID.

  • Error while creating authorisation policy using OIM 11g API

    Hi,
    We have a requirement to create ‘Authorization Policies’ (assign Data Constraints, Permissions & Assignments) using OIM 11g API’s.  I am using ‘oracle.iam.authzpolicydefn.api.PolicyDefinitionService & oracle.iam.authzpolicydefn.vo.AuthzPolicy’.  But when I am trying to attach Entity/Feature (User Management) to authorisation policy, it is throwing exception.  Below is the code snippet which I am trying to implement.
    Line1: PolicyDefinitionService policyService = oimClient.getService(PolicyDefinitionService.class);
    Line2: AuthzPolicy authPolicy = new AuthzPolicy();
    Line3: authPolicy.setName("Test Authz Policy");
    Line4: authPolicy.setDisplayName("Test Authz Policy Dsp Name");
    Line5: authPolicy.setDescription("Test Authz Policy Description");
    Line6: Feature feature = oimClient.getService(Feature.class);
    Line7: Action featureAction = feature.getAction(FeatureManagerConstants.Features.USER_MGMT.getId());
    Line8: List<Action> actions = new ArrayList<Action>();
    Line9: actions.add(featureAction);
    Line10: authPolicy.setActions(actions);
    Line11: policyService.createPolicy(authPolicy);
    Exception: oracle.iam.platform.utils.NoSuchServiceException: java.lang.ClassNotFoundException: oracle.iam.authzpolicydefn.api.FeatureDelegate
    The above exception is throwing at Line6.
    Let me know if anyone implemented.
    - Kalyan Mutya

    If you are using JDeveloper , can you able to get class after giving "." .If yes no than it is the problem with the jar file you are using .Check whether you can able to import oracle.iam.authzpolicydefn.api.Feature.
    Thanks ,
    Animesh anand

  • How to create cross tab reports using RAS SDK api with Crystal Reports XI

    Hi Everybody,
    Iam generating reports in a web-based application with Crystal Reports XI using Report Application Server(RAS) SDK API. The columns in my report exceed that of an A4 sized page. So, when I export that report to pdf, only those columns that fit to a page are showing up. To solve, this problem, I thought of using cross tab. But, I donot know how to generate cross tab report using RAS SDK API. I have tried to get some code from the internet. But, I did not find any java code for that.Can some one give me some sample code.It is very urgent.
    Thanks in advance.

    Hi,
    The easiest way I use is to create the worksheet as regular table and then when i verify the data I get (non aggregate) I duplicate it as a cross tab.
    In the duplication wizard I just need to define the axis (using drag and drop).
    if you want to create a cross tab from the beginning you need to define that in the new workbook wizard (check the "cross tab" rather then "table"), chose your fields and define the place you want them.
    The data point (the center of the cross tab) is aggregated as to your machine definition and will happen automatically.
    for example: to find the amount of receipt by months:
    On the left put the "Buyer Name", on top put the "Months" and in the data point put the amount.
    What you'll get is something like:
    months: jan feb mar apr ......
    buyer_name
    jhon_smith 100 50 30 250 ......
    jhon_doe 80 45 90 453 ........
    and so on.....

  • HT5624 Someone I don't know is using my email address as their Apple ID to sign and purchase apps ect and I keep getting notifications in my emails. How do I stop them from using my email address????????

    Someone I don't know is using my email address as their Apple ID to sign and purchase apps ect and I keep getting notifications in my emails. How do I stop them from using my email address????????

    If a person is using your email address, you should change your email password and make sure there aren't any forwards to some strange email address.
    An example if you were using gmail, under account settings, a forward can be set up to send messages to another email address.
    If your email address is say, you own domain, such as somename@somename dot com, make sure the forwards are forwards you set up.
    If your email account was hacked and the bad guy has access, you need to cut him off, first by changing the password and second cut off any message forwarding to the bad guy if he set it up.  Just changing the password would keep a bad guy out, but if the bad guy set up a forward, he will still get your email.
    A confirmation from Apple would have come to your email address in order to confirm that Apple ID.  If you are getting the other person's purchase notifications, you would have gotten a confirmation of that account from Apple.

  • How to update the sent mail using SO_NEW_DOCUMENT_ATT_SEND_API1

    I have a requirement to update/ append the sent mail like a trail.Since i am sending mails using SO_NEW_DOCUMENT_ATT_SEND_API1, how can i update new contents to sent mails using this RFC???Please help me.

    you may have to store content of each time mail send then only, you can send with history.

  • How to create Object related messages using cl_bsp_wd_message_service?

    Hi Gurus,
    Can any ony explain how to create the object related messages using add_message method of cl_bsp_wd_message_service?
    Thanks,
    Murali.

    Hi Murali,
    Check the below code .. hope it helps..
      DATA lr_msg_service     TYPE REF TO cl_bsp_wd_message_service.
      DATA lr_exception       TYPE REF TO cx_root.
      DATA lr_rtti            TYPE REF TO cl_abap_objectdescr.
      DATA lv_msg_type        TYPE        symsgty.
      DATA lv_msg_id          TYPE        symsgid.
      DATA lv_msg_number      TYPE        symsgno.
      DATA lv_msg_v1          TYPE        symsgv.
      DATA lv_msg_v2          TYPE        symsgv.
      DATA lv_msg_v3          TYPE        symsgv.
      DATA lv_msg_v4          TYPE        symsgv.
      DATA lv_msg_level       TYPE        bsp_wd_message_level.
      DATA lr_verification    TYPE REF TO if_bsp_wd_message_handler."#EC NEEDED
      DATA lv_important_info  TYPE        abap_bool.
      DATA lv_exc_prog_name   TYPE        syrepid.
      DATA lv_exc_incl_name   TYPE        syrepid.
      DATA lv_exc_src_line    TYPE        i.
      lr_exception = ir_exception.
    drill down to first exception
      WHILE lr_exception->previous IS BOUND.
        lr_exception = lr_exception->previous.
      ENDWHILE.
      lr_rtti ?= cl_abap_typedescr=>describe_by_object_ref( p_object_ref = lr_exception ).
      lr_exception->get_source_position( IMPORTING program_name = lv_exc_prog_name
                                                   include_name = lv_exc_incl_name
                                                   source_line  = lv_exc_src_line ).
    prepare message
      lr_msg_service = cl_bsp_wd_message_service=>get_instance( ).
      lv_msg_type   = if_genil_message_container=>mt_warning.
      lv_msg_id     = 'CRM_IC_APPL'.
      lv_msg_number = '003'.
      lv_msg_v1     = lr_rtti->get_relative_name( ).
      lv_msg_v2     = ir_exception->get_text( ).
      lv_msg_v3     = lv_exc_incl_name.
      lv_msg_v4     = lv_exc_src_line.
      lv_msg_level  = '9'.
    add message to error log
      lr_msg_service->add_message(
          iv_msg_type       = lv_msg_type
          iv_msg_id         = lv_msg_id
          iv_msg_number     = lv_msg_number
          iv_msg_v1         = lv_msg_v1
          iv_msg_v2         = lv_msg_v2
          iv_msg_v3         = lv_msg_v3
          iv_msg_v4         = lv_msg_v4
          iv_msg_level      = lv_msg_level
          iv_verification   = lr_verification
          iv_important_info = lv_important_info ).
    Regards,
    Raghu

  • How to delete requests in PSA using Process chains

    Hi All,
    Can anyone explain me how to delete all the requests in PSA using Process chains.
    This is what I did...
    1. use Process type 'Deletion of Requests from PSA'
    2. Settings:
    Object Type - PSA table
    Object Name - <Datasource name>          
    Older than - 0 (Zero) days
    These settings doesn't work. Can you please let me know exact settings to use for deleting all the requests in PSA of a datasource.

    Hello Praveen,
    That's what I thought too. But if I use '1' one day, what if I need to run it twice same day? So this doen't work for my requirement.
    Any other suggestions?
    Thanks.

  • How to setup and send mails using utl_mail on Oracle E-Biz R12

    Dear All
    There is a new requirement from client to setup and send mails using utl_mail utility on Oracle EBS R12.1.1
    What is utl_mail utility ? what is the difference between Workflow Notification Mailer and this utility/tool?
    What are etiquette's to pursue mail functionality in apps / db?
    - Chetan

    What is utl_mail utility
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_mail.htm
    How to Use the UTL_MAIL Package [ID 269375.1]
    FAQ and Known Issues While Using UTL_SMTP and UTL_MAIL [ID 730746.1]
    Master Note For PL/SQL UTL_SMTP and UTL_MAIL Packages [ID 1137673.1]
    Workflow Notification Mailer:
    you can send email using workflow notification email procedures,These ar built into the system and only need some minor configuration. check Workflow Administrator's Guide, Chapter 2, Section: Setting Up Notification Mailers for more detail.

  • Approving OIM/SOA requests using OIM 11g APIs

    I'm creating a SOA request using createRequest method in RequestService OIM API. I would like to approve/reject the work items using the API as well but I don't see any methods to approve/reject the tasks. Is this something I would have to use SOA's webservices to do it?
    Thanks

    You need to use BPEL worklist API for the same.
    http://technology.amis.nl/blog/1496/invoking-bpel-worklist-api-from-remote-server-with-java
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm
    -Bikash

  • Hello, I have installed a new Laserjet Pro M1217nfl using Wi-Fi. My laptop prints everything e-mails, Word documents etc. My iPad 3 (latest issue) only prints documents using Wi-Fi so has clearly recognised the printer. How can I prin e-mails using iPad 3

    Hello, I have installed a new Laserjet Pro M1217nfl using Wi-Fi. My laptop prints everything e-mails, Word documents etc. My iPad 3 (latest issue) only prints documents using Wi-Fi so has clearly recognised the printer. How can I print e-mails? Thanks.

    In the email you want to print, on the top right there is an arrow. Click that and an option should appear that says print. That should work. Have you already tried that?

Maybe you are looking for

  • How do you do a mail merge in ms word?

    Hello, I have the form letter created in Word and my list of recipients are in an Excel sheet. How do I do the mail merge so that each letter is addressed to one individual from the excel sheet? Do I have to type each person's info in manually? I hav

  • Upgarde From ECC 5.0 to ECC 6.0

    HI , My customer is running the E-Recuriting application on ECC5.0. They want to Upgrade this server to ECC6.0 If any one done it ealrier please tell me wht percaution we need to take before upgarding it. Details of Server SAP ECC5.0  Basis Release 6

  • HT201317 To use iCloud for photo storage do I have to share all images between devices?

    How to use iCloud to backup photos?

  • MPLS versus Switched network

    Hi all, Can Someone tell me if an MPLS network is faster or slower than a switched network ? Could you please tell me what this line means : rate-limit output access-group rate-limit 0 3000000 600000 1200000 conform-action transmit exceed-action drop

  • Error when I double click sapinst.exe

    Hi Floks, When I double click sapinst.exe to install ECC 6.0 SR2 it gives the following error : ianxsysex.c:455: CreateProcess(C:\DOCUME1\ABEAMC1\LOCALS~1\Temp\sapinst_exe.2396.1242822965\sapinst.exe, "C:\DOCUME1\ABEAMC1\LOCALS~1\Temp\sapinst_exe.239