How to create scheduled task to delete failure/open tasks

hi.
I have a question that I hope someone can give me some input to.
we have an OIM 9.1.0.1 installation and have a situation where we have around 14 500 open tasks. we read somewhere that this might cause performance issues. we have also found a HOWTO on Oracle Metalink that explains how to delete these tasks. i states that one should:
- Create a scheduled task which uses the API:
Thor.API.Operations.tcProvisioningOperationsIntf.setTasksCompletedManually
...and that's it. it doesn say anything else. doing this by creating a scheduled task in OIM Admin Console will not work since we don't have this Java class. is there anyone who has sort a similar problem? any help/tips/guidelines are appreciated.
P.S.: The Oracle Metalink HOWTO:
Link: [https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(from=BOOKMARK&bmDocType=HOWTO&bmDocDsrc=KB&bmDocTitle=How%20to%20%3Cb%3EDelete%3C/b%3E%20Failure%20or%20Cancelled%20%3Cb%3ETasks%3C/b%3E%20in%20%3Cb%3EOpen%3C/b%3E%20%3Cb%3ETasks%3C/b%3E&bmDocID=731282.1&viewingMode=1143))]
Edited by: user10378227 on Oct 27, 2009 1:07 AM

Use this link:
How to create a new schedule task from java code
http://download.oracle.com/docs/cd/E10391_01/doc.910/e10361/tasks_archival.htm#sthref85

Similar Messages

  • How to create scheduler sql oracle developer

    Hi
    how to create How to create scheduler sql oracle developer?

    Hi
    finally i refer below link its usefull
    ORACLE-BASE - SQL Developer 3.1 Scheduler (DBMS_SCHEDULER) Support

  • Sorting the Tasks available in My Open Tasks

    Hi Experts
    I want to sort the Tasks available in My Open Tasks
    Please help me in to sorting according to ID.
    Thanks
    Shaik Chand

    Hi Chand,
    Enhance the component/view CRMCMP_GS_WC/TodaysTasks
    then goto Context related Methods , in this get into Method - DO_INIT_CONTEXT
    and replace the code
      me->typed_context->resultnew->collection_wrapper->sort( iv_attr_name     = 'TO'
                                                           iv_sort_order    = cl_bsp_wd_collection_wrapper=>sort_ascending
                                                           iv_stable        = lv_stable ).
    with the below code
    me->typed_context->resultnew->collection_wrapper->sort( iv_attr_name     = 'OBJECT_ID' "'TO' -- Added by Lokesh
                                                           iv_sort_order    = cl_bsp_wd_collection_wrapper=>sort_descending  "-- Added by Lokesh
                                                           iv_stable        = lv_stable ).
    Hope this will solve ur problem.
    Regards,
    Lokesh Banakar.

  • How to create scheduled GANTT with subresources?

    Hi,
    Jdev 11.1.1.2.0
    I want to create a scheduled GANTT where the first column contains a group name and the second column the name of the resource.
    I could found examples for project GANTT where the first column is a group which can be collapsed.
    But not for scheduled GANTT.
    I tried with subResources too but it seems I can only a display attributes from resource view in the list on the left side of the scheduled gantt chart.
    Any ideas?
    regards
    Peter

    Use this link:
    How to create a new schedule task from java code
    http://download.oracle.com/docs/cd/E10391_01/doc.910/e10361/tasks_archival.htm#sthref85

  • How to create process variant for delete index in a process chain

    Respected all
    I am creating a process chain, but unable to create process variant for the delete index. kindly tell me the
    step by step proceure for creating the variant for delete index. also if we use variant which is previously prepared then will it be safe? will it affect the other running process chian.
    pls reply
    thanks
    abhay

    Hi,
    Please do not use an already created variant for index deletion. It might delete indices of some other cube.
    You can follow the following steps -
    1. Open the chain in Edit mode and click on "Process Types" button
    2. On the Left hand side you will have various process types. Choose "Data Target Administration" and expand it.
    3. Choose the first process "Delete Index" (it will be marked with a trash bin sign) and drag it to your chain
    4. It will ask you create a variant. Press the create Button
    5. In new window enter the Process Variant technical name and description
    6. Then in new window choose Object Type = Cube through dropdown and Object name via browsing. After choosing the cube name click on "Transfer Selections"
    7. Save and return to your chain
    8. It will automatically generate a create index step also after delete index.
    9. You need to break the link between create and delete step and insert infopackage in between to get the following steps - delete index --> load cube --> create index.
    Please let me know if this is helpful..
    Regards
    nishant

  • How to send a work item ( Mail ) as open tasks in WEB UI

    Hi,
      I have a requirement as to send a WF work item of mail text to WEB UI as open tasks.  Upon click of te link; the mail txts comes there with the link detials to the service contract number and service contract quotation. Upon click of the links it need to redirect to the respective documents.
    The requirement is as such that 60 days prior to the contract end date we need to trigger a mail that 'the contract expires in 60 days,do you  need to renewal it'. This text need to go to the WEB UI respective agent of this mail as tasks. Upon click of the task description link need to navigate to the mail text with the details of the contract and quotation numbers in link. upon click of the lnk it needs to navigate such that they can change accordingly and the contractrenewal process is completed.
    How to acheive this one.
    Thanks and Regards,
    Satish Akkina

    Hi,
    Sending Mail to Outlook : U need the Following things done for this:-
    1> Use the Mail Step in the WF and Choose the Receipient as the E-Mail Address and Give the E-Mail Address there.
    2> Check the Configurations that need to be done in Transaction SCOT. SMTP Server Settings are done to get the Desired Results.
    From the external mail, they should have the flexibility to approve or reject PO.
    To get Workitems in Outlook..!!
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    Problem in transferring the workitems into OUTLOOK
    /people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
    Workflow Items in Outlook
    Let me know if u still face any issues.
    Regards,
    Kanika

  • How to create menu function for link to open file

    Hi,
    I need help how to create menu function for link to access file and allow user to save the file when click on it.
    The file will keep inside server.
    Thank you.
    Regards,
    Wilson

    I need help how to create menu function for link to access file and allow user to save the file when click on it.
    The file will keep inside server.AFAIK, you have to write a custom code to achieve this and Oracle does not provide this functionality.
    If you want to store the file as an attachment, please see (How to Store Image/PDF Attachments on the File System in 11i and R12 (like Attachment File Directory) [ID 294525.1]).
    Thanks,
    Hussein

  • [iPhone] How to create a button like "Delete Event"

    When you edit an event in the Calendar app, there's a button that reads "Delete Event" at the bottom of the list.
    Does anyone know how you can create such a button? Is this a footerview for the tableview?
    Any tips are welcome!

    I'm also curious about this... It's the same as when you edit a Contact, too.
    I'm thinking you could maybe create a custom table cell and just use that, but it sounds like a hack to me..

  • How to create schedule job and event trigger in XI to start a ABAP program?

    Dear All:
    Here are what i need to do:
    1.To run a ABAP program to start an XI scenario per hour.
    2.To run a ABAP program to start an XI scenario per day at 6 PM.
    3.To run a ABAP program used event trigger to make sure that XI scenario has finished the process and after that wait for 10 min later and run again.
    only i know is used sm36 & sm37 to set up a schedule job.
    but what i don't know is how to do it step by step.
    especially point 3.
    are there any step by step example can show me how?
    it better be simple and details...
    thanks you all
    Regards
    Jack Lee

    Hi,
    If you want to trigger the event manually from within SAP, use transaction
    SM64
    in SAP this is done by scheduling a job
    once a new customer is entered
    your scheduled report sends customer master data
    you can schedule your report (TCODE - BD12 I think) to one day or every 5 minutes... it depend on your needs and the system performence
    Regards,
    Surya

  • How to create an init method with executeEmptyRowSet() in task flow

    hi i try this <method-call id="Empty">
    <method>executeEmptyRowSet()</method>
    </method-call> in my task flow but am geting error
    am in jdeveloper 11.1.1.6.0

    1) In your Application module, create a public method in service class.
    2) In that method you do your executeEmptyRowSet() on the view objects you want to.
    3) Expose the method (AM > Services > Client interface).
    4) Drag the method from your DataControl onto you taskflow.
    5) Right click that method > Mark Activity > Default

  • How to create dynamic stages in parallel within Complex Task in BPM..?

    Hi All,
                I have a requirement where in single participant type stages needs to be generated in parallel dynamically based on one collection type complex element.
                InputPayload for HumanTask is as below.
           <v1:WFSteps>
                       <v1:Step Number="1.1">
                          <v1:StepRole>XXXXX</v1:StepRole>
                          <v1:Filter/>
                          <v1:ApprovalPattern>Single</v1:ApprovalPattern>
                          <v1:StepAssigneeList>XXXXX</v1:StepAssigneeList>
                     </v1:Step>
                      <v1:Step Number="1.2">
                          <v1:StepRole>XXXXX</v1:StepRole>
                          <v1:Filter/>
                          <v1:ApprovalPattern>Single</v1:ApprovalPattern>
                          <v1:StepAssigneeList>XXXXX</v1:StepAssigneeList>
                     </v1:Step>
           </v1:WFSteps>
               Also please suggest, how can i update task outcome of the dynamically generated parallel stages..?

    Thanks Dan.
    Thats a good suggestion.
    Can't we do this using Complex Task in BPM (Dynamically generate stages in parallel based on collection)?
    Also can you tell me how to do this "Subprocess activity defined to as "MultiInstance" "Parallel" that uses a collection to dynamically send instances out based on the number of rows in your collection."

  • How to create a excel file which will open in every version of MS Office?

    For excel file handling we are using Measurement Studio 8.0 for VS .NET 2003. Now we are save the excel file into.xls file using this format "CNiExcelWorkbook::FileFormatExcel9795" . it will save the file. Now the problem is If that PC has MS Office 2003 or lesser version, then its working fine. But if the PC has MS Office 2007, it will giving problem. So my question is how to save  excel file which will support any version of MS Office?
    Tapasen 
    reply me @:  [email protected] or [email protected]

    In your code, write this:
    DATA my_path type string.
    GET PARAMETER ID 'ZPATH' FIELD my_path. "or any other name you choose
    double click on ZPATH, choose create. You will have created a new parameter. You can use any names starting with Z or Y.
    Go to SU01, and set this parameter there (ZPATH)..I hope this doesn't need further clarification.
    In parameter value, put the path to the file..
    After executing the GET statement, the value will be available in the variable my_path. Pass this to GUI_UPLOAD/DOWNLOAD functions, and it should work fine.
    Regards,
    SD

  • How to Create a Dynamic http address that opens the Explorer Window for a List Item When a Button Is Clicked--Currently Trying to Make this Work with Javascript

    I have created a button (via Content Editor) that uses JavaScript to open the Attachments folder of a list item in the Explorer Window in SharePoint 2010. The purpose is to have drag and drop functionality for each list item, having multiple attachments.
    The button works but opens the "Attachments" folder containing all of the other folders for each list item (one folder per item). It seems that when you add an attachment to a list item, SharePoint numbers the folder based on the item's ID. What
    I'm trying to do is take the JavaScript I have and have it run when a button is clicked in a custom form. When it runs, I'm trying to get it to open the "specific" folder for the list item. I have had success creating a hyperlink in the list that
    does this; however, the link WILL NOT work until I use the Content Editor created button that runs JavaScript, that prompts me to click OK to my profile certificate, and then opens the Attachment folder. After that occurs, I can use my hyperlinks without issue
    because I'm no longer prompted to click OK for my cert.
    So I'm trying to take the JavaScript I have and place it in a list item form (custom form) and have it run when a form button is clicked. The problem is I have very little knowledge of JavaScript (did I mention little?) and
    "don't know how to take the "http:" address I have in the script and append to it the list item ID, according to the record I have open."
    So that for any record I open, the script will grab the corresponding record ID (or list item ID) and append it.
    Here's the script I'm working with (which I didn't create but am grateful for):
    <style>
    .httpFolder {behavior:url(#default#httpFolder);}
    </style>
    <script text = "javascript">
       function fnOpenFolderView(){
       oDAV.navigateFrame("https://server/collection/site/subsite/Lists/Sublist/Attachments","_self");
    </script>
    <div id = "oDAV" class = "httpFolder"/>
    <input type = "button" value = "Open Attachment Folder" onclick = "fnOpenFolderView()"/>
    The above script, in the Content Editor, creates a button that opens the Attachments folder for the corresponding SharePoint list.
    JackSki123

    Hello Thriggle,
    Thank you for pointing that out. I appended your "GetUrlKeyValue" to the end and it worked. That said, I noticed it doesn't run as smoothly as when I simply click on the Content Editor button I created that resides on the SharePoint List
    ASPX page (not the form). The Content Editor button has the same code, minus the "GetUrlKeyValue". I click it; I get prompted to choose my cert; it opens right up.
    Now go to the ASPX Display form where I dump the code in a table cell. Button appears in cell; I click it; wait; wait; I get prompted for cert; it opens. Do I need some sort of "throttle" for the JavaScript? For instance, I thought before running
    JavaScript, you reference the library first. This code doesn't do that. I'm wondering if there's something more I need to make this run smoothly. Thank you both for getting me this far. 
    JackSki123

  • How to create Fixed Length Flat File from Open Hub in BI 7.0

    My requirement is to produce a Fixed length Flat file by Open Hub destination. My Open Hub has four fields. Now the requirement is to create another extra field in Open Hub which will contain all of the four fields value. In addition to that the fields should be fixed length that means if for any field no value is there and the field length/type is CHAR4 then 4 spaces should be there as the field value. SO, basically the Open Hub output will be single field which will contain information of four fields.
    How to get this using End Routine of Transformation (from DSO to Open Hub) ?

    Hi,
    You can map the four input fields to the new field in the Open Hub, and change rule type to "Routine".
    For example, if your source fields are called "first", "second", "third" and "forth", the ABAP routine could be similar to:
    DATA: l_t_1  TYPE C LENGTH 4,
          l_t_2  TYPE C LENGTH 4,
          l_t_3  TYPE C LENGTH 4,
          l_t_4  TYPE C LENGTH 4.
    IF source_fields-first IS INITIAL.
      l_t_1 = '    '.
    else.
      MOVE source_fields-first TO l_t_1.
    endif.
    IF source_fields-second IS INITIAL.
      l_t_2 = '    '.
    else.
      MOVE source_fields-second TO l_t_2.
    endif.
    IF source_fields-third IS INITIAL.
      l_t_3 = '    '.
    else.
      MOVE source_fields-third TO l_t_3.
    endif.
    IF source_fields-forth IS INITIAL.
      l_t_4 = '    '.
    else.
      MOVE source_fields-forth TO l_t_4.
    endif.
    CONCATENATE l_t_1 l_t_2 l_t_3 l_t_4 into result.
    In the example, the program uses four blank spaces if any of the fields has no value. 
    Additionally, if non-initial values in input fields could be shorter than 4 characters (if the input fields have no fixed length), you could use STRLEN to evaluate if it is necessary to add blank spaces to complete the fixed length of 4.
    I hope this helps you.
    Regards,
    Maximiliano

  • How to create URL link for telephone number ,open to account search page and account result page ?

    Hi Experts,
    Bussines role - ZCC_ICAGENT 
    If user open this bussiness role and open Account page ,user enter telephone number and enter search account ,then result will be displayed.Instead of 3 clicks ,user click direct URL link ,telephone number is parameter,account Search and account result  page will be opened direct link.
    So how to do it..could you please provide me step by step...what are the steps wee need to follow for creating URL ..how to do it..Please help..
    Thanks
    Kalpana

    Hi kalpana,
    You dont need to do any setting for this.
    Following URL will be used as per your requirement.
    http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
    ?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_ICAGENT&
    sap-phoneno=9999999999
    Here parameter sap-phoneno will contain the number you want to search for.
    In component ICCMP_BP_SEARCH, go to view BuPaSearchB2B. write below code in its inbound plug IP_INBOUNDPLUG-
    DATA: lt_ivr_url_param TYPE tihttpnvp,
             ls_ivr_url_param TYPE ihttpnvp,
             lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
             ls_searchcustomer TYPE crmt_bupa_il_header_search.
    CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
           CHANGING
             cv_fields = lt_ivr_url_param.
    lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
         CHECK lr_searchcustomer IS BOUND.
    READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
    IF ls_ivr_url_param-value IS NOT INITIAL.
             ls_searchcustomer-telephone = ls_ivr_url_param-value.
       CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
             eh_onsearch( ).
        ENDIF.
    Thanks & Regards
    Richa

Maybe you are looking for