Retry open provisioning tasks

Hi,
I've created a non-conditional task called "ValidateAttr" in the Xellerate User Process Definition, so that while creating an account, the task got executed in order to validate an attribute. This task is supported by an adapter (adpVALIDATEATTR).
The problem is that I didn't mapped correctly the responses on the process task definition, so I got every task with "Rejected" status, even if the result was success.
I've corrected this and I don't get this error anymore. But I have 26000 provisioning opened tasks asigned to xelsysadm. I can close them manually with the administrative console, but I'm looking for the way to close these tasks automatically. I've written a scheduled task that search for the open tasks and invokes the tcProvisioningOperationsIntf.retryTasks() method, but I got the following message:
ERROR,13 feb 2009 12:36:28,764,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkRetryAllowed Error : Invalid retry.No event handler is attached in ScheduleItem.
ERROR,13 feb 2009 12:36:28,932,[XELLERATE.APIS],Class/Method: tcProvisioningOperationsBean/retryTasks encounter some problems: maoRejections:This task is not automated. If task is completed, set status to UC.

This is the snippet from the scheduled task:
tcProvisioningOperationsIntf provUtil = (tcProvisioningOperationsIntf)
super.getUtility("Thor.API.Operations.tcProvisioningOperationsIntf");
Map<String, String> atributos = new HashMap<String, String>();
String[] estados = {"Rejected"};
tcResultSet openTasks = resultado = provUtil.getAssignedProvisioningTasks(1, atributos,
estados);
if(openTasks!=null){
int numRow = openTasks.getRowCount();
if(numRow>0){
long[] idTareas = new long[numRow];
for(int i=0;i<numRow;i++){
tareasAbiertas.goToRow(i);
idTareas[i] = openTasks.getLongValue("Process Instance.Key");
Map<String,String> resultados = provUtil.retryTasks(idTareas);
by executing this, I got the error reported on the first message. I'm considering the "easy way" proposed by Kevin.
Thanks

Similar Messages

  • Task not coming in Open Provisioning Task when Request is raised(OIM 9i)

    Hi
    When ever i am assigning the task to group that task is not getting updated in the open provisioning tasks. I i assign the task to xelsysadm instead of the group i am able to see the task in open provisioning tasks.
    I thought its permission issue and created a user U1 under the system administrators and assigned the task to this user while provisioning but now also its not getting updated in the open provisioning tasks.
    The above tasks if i saw in resource profile they are in pending status..
    Can any one update how to resolve this issue so that if i assign a task to group it updates in Open provisioning tasks..

    Verify Steps:
    Create Process Defn
    Check Auto Save and Pre Populate
    Save
    Add a task "Create User"
    Save
    Go to Assignment tab
    Select Target Type as Group and Select your Group Name say "ALL USER"
    Search any user, go to Resource Profile and Click Provision Resource and Submit

  • OIM Open provisioning Tasks

    On the OIM home page there is a Open Provisioning Task counter. I want to make that set to "Check". I remember that you set the property skipPendingApprovalsOpenTaskCount in xlDefaultAdmin.properties file to false and it then does not show the counter but shows "Check" link instead. I set it to false, restarted server but counter is still there. Am I missing something else? Any help would be appreciated. Thanks.

    Not that much difficult Dude. Its actually a System Configuration property and not in the xlDefaultAdmin.proerties file.
    - Go to property XL.WebAdminHome.CounterDisplay.Type
    - Change its value from DayLimit to CheckLink
    - You are done without even re-starting
    Sunny

  • OIM 9: User assigned Provisioning Task can't see "Open Provisioning Tasks"

    I have a user who is assigned a task through the Assignment tab, but when they log in, they don't see the "Open Tasks" menu. If I make them sys-admin, they can see it, so It has to be a permissions thing, but where exactly?
    Any help would be appreacited!
    Thanks
    Alex

    You need to assign the following menu items "To-Do List Open Tasks menu item" to the group the user belong to.

  • Retrying provisioning Task error in OIM11g

    Hi to all.
    I'm facing a strange issue when trying to retry a provisioning task. In particular, I have connected the OIM11g to an UNIX Server. When the provisioning task is rejected (I'm trying to provision an already provisioned user login, causing SSH_USER_USEREXISTS_FAIL error), the provisioning task goes correctly in "Rejected" status. With the same user that tries to finalize the privisioning, I try to "Retry the provisioning task". But this retry fails. It says me: "Unable to retry task", and the OIM log says "<XELLERATE.APIS> <BEA-000000> <The logged in user does not have permissions to perform this operation>". But the user is the same that I used to finalize the provisioning task.
    Could anyone help me? I've already tried to assign the user all the privileges to complete the retry of the task but this did not solved my issue.
    Thank you all in advance.
    Regards,
    Giuseppe.

    Hi All,
    I have the same requirement so I created a custom role and addded the above Data Object permissions for the role. In the organization I had added the custom role in Administrative role list with write access but still I am getting error saying 'Logged In user does not have permissions'. Added all the permissions present in Data Object Permissions for this role but still I am getting the same error. When I add the system Administrator role as super role to my custom role then the user who belongs to the custom role is able to retry the task but I cant give this permission to this role. So please suggest me if I miss anything.
    Thanks,
    Rajesh

  • How do you complete or re-attempt failed provisioning tasks

    Hi All,
    If a modify operation has been perfomed, and subsequent provisioning tasks failed, is there a way to get IdM to go back and attempt to complete the failed task and remaining tasks.
    For example, when the MX_VALIDTO attribute changes we call an event task to determine if MX_DISABLED should be set or not. This task is a generic pass which executes some logic which evaluates other attributes. This step failed because we caused an error to be raised due to an unexpected value in one of those other attributes.
    We have now modified the logic in the script and want to 're-provision' the failed task without triggering a new change on the identity.
    I know about the uRetryPrivilegeAdd and uRetryPrivilegeRemove internal functions, but it seems as if these only deal with cases where privilege assignment had failed. Is there something similar that will reconcile and clean up failed task heirarchies where it is just attribute / entry modifications rather than privilege assignments.
    Regards
    Paul

    Hi Paul,
    Hope all is going well with your project, the two bits of code you need for this are:
    Find all the failed privileges for an Identity
    var sql = "SELECT MSKEY,aValue,provstatus FROM MXPV_Priv_AddStatus WHERE (MSKEY = " +V_MSKEY +" and (ProvStatus = 1001 or ProvStatus = 1101))";
    sqlresult = uSelect(sql);
    This will give you a load of pairs of failed MSKEY - identity and aValue - privilege, which you need to split into strings via an array and then into values, and you can then retry using
    retry = uRetryPrivilegeAdd(provmskey,provavalue);
    I've put the full code on http://sap-idm.blogspot.com/2011/01/retrying-failed-provisioning-tasks-in.html in case you need more information.
    Good luck,
    Ian Daniel

  • OIM provisioning in bulk causes several provisioning tasks to be listed as

    OIM 9102 Provisioning in bulk causes several provisioning tasks to be listed as "provisioning in queue" We are using offline provisioning as we had some issues running without it.
    If i bring in via trusted resource, 10 or so users, the first 5 or 6 work fine, and then 1 or 2 will show some of their resources as provisioning in queue. It looks like it didn't get around to running those as I don't see errors in the log(debug on everything) if I open and save the form, they provision immediately with no trouble. I'm just trying to figure out what the hold up is, and is there a way to have it automatically retry when this happens?
    Any help would be great.

    also each one this happens to is a different resource. on a different user. and each is stuck and system validation.

  • How to get the process instance key so as to retry a rejected task through api while ad provisoing?

    Hi All,
    How to get the process instance key so as to retry a rejected task through API while AD provisioing state?
    API URL - http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/toc.htm
    Thanks

    To retry a task that is in a rejected state, you use the SCH_KEY which is the task key.  In OIM, all rejected tasks are listed in the OTI table.  It contains all the important information about a rejected or pending task.
    You can use the APIs found in the tcProvisioningOperationsIntf class to retrieve open tasks.
    -Kevin

  • Firefox opens in task manager but does not display.

    This morning my Firefox stopped working and I had to end task. Afterwards when trying to restart Firefox the firefox process will open under task manager but nothing displays on the screen. I've tried ending all firefox processes and restarting my pc. I also tried creating a new profile under the firefox,exe -manageprofile command. When I created the new profile and ran under it I had the exact same problem. I tried running under safe mode and I get the pop up telling me that mozila is running under safe mode with the check box's for clearing settings but there is still no window displayed and when clicking continue in safe mode the pop up box goes away and I'm left with nothing once again. I tried running the firefox setup freshly downloaded in an attempt to repair the setup of sorts but this had no effect.
    I also did a short search of the forum for any soloutions but so far haven't found anything. If anyone could suggest some more things to try before I do a complete wipe of Firefox using CCleaner.
    Also in the event I use CCleaner I'd like to back up my bookmarks first so if anyone knows a start parameter to back up bookmarks or even what file the bookmarks are stored (already found a forum topic on the saved passwords file) in and if copying that file into a new installation will work please let me know.
    Regards to any one who can assist.

    I had this problem for a couple weeks as well and it was extremely frustrating considering we use firefox for all our company tasks. Here is the solution:
    First of all if you have no bookmarks you want to save, then go directly to step 7. If you want to save your bookmarks first, then follow these steps.
    1. Shut down the computer
    2. Reboot and open firefox
    3. Go to Task Manager, right click firefox.exe, and click END PROCESS TREE
    4. WAIT 30 SECONDS! Then Double-click the shortcut to try and open firefox again
    5.Repeat steps 3 and 4 until firefox finally opens (trust me, eventually it will)
    6. Once it finally opens, backup your bookmarks,
    7. Download a copy of firefox from there website
    8. Uninstall from programs menu and make sure to check the box REMOVE ALL COMPONENTS
    9. install the new copy and BOOM! it works
    If it doesn't work, you're an idiot. If you don't want to reinstall firefox, then you're out of luck. Good Luck!

  • Avoid needing to Open this Task to complete an individual Task

    I have built a custom workflow using SPD that starts a task process for different individuals to go and update columns associated with a document library. Basically they look at the document and select Reviewed when they are done. My problem is that I
    cannot find a way for their individual Task to be marked as completed once they have selected Reviewed. They still need to manually open the task and complete it by selecting the complete button. How can I make the selection of Reviewed fulfill the task obligation
    for each user? I have tried manipulating the Task behaviors in SPD but have not found the magic. Please help:)

    Hi,
    According to your description, I have done a test and I can re-appear your issue.
    It is by default that it jumps to the document when we click "Review".
    And we need to click "Open this Task" to complete an task.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Open this task is not working

    Hellow Exprerts !
     I have a question about outgoing email for out-of-box approval workflow . Smtp service works  fine it sends alerts to
    recipients. But when I try to enter workflow status it says – Error system account
    …. Next  (The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.) but the
    recipients are able  to receive email alerts from sharepoint
    And the second question is – When  I receive email from sharepoint  I see next content 
    To complete this task:
    1. Review
    test11.
    2. Perform the specific activities required for this task.
    3. Use the
    Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it.)
    Open this task wont work its only marked with black . This button does not appear at all . Tell me Please what I have to do to make it work  . I know this issue about user permisions ,tell me please how i can solve it .

    This happens occasionally. If I relogin to workspace, it works fine.
    I think there is something wrong with the flex app.
    Hence closing this issue now.
    Nith

  • "Claim and open this task" option not working

    A task has been assigned to a group.
    There are two option icons at the lower-left bottom corner named:
    1. Claim this task and make it to your own
    2. Claim and open this task
    Problem with the first option
    When I choose this option, the task is assigned to me; I could open this form and it renders properly; But if i choose the attachments tab and come back to Form, the display area is blank.
    Problem with the second option
    when I click on the second option, i am unable to see both attachments and the form.
    This problem occurs only if I assign task to a Group.
    Any help on this..
    Thanks,
    Nith

    This happens occasionally. If I relogin to workspace, it works fine.
    I think there is something wrong with the flex app.
    Hence closing this issue now.
    Nith

  • Taking exactly 10 min to open the task list using smartview

    Hi All,
    We are using hyperion smartview 11.1.2.2
    when I connect to hyperion planning task list using smartview it is taking exactly 10 min to open the task but the same is taking only 3 seconds in our Production environment. Can someone help me out.
    I have also followed the below but it did not help me out.
    It might be that APS is timing out, I assume you are running OHS
    if so stop OHS, go to <MIDDLEWARE_HOME>\user_projects\<instance_name>\httpConfig\ohs\config\OHS\ohs_component
    edit mod_wl_ohs.conf
    In there you will see something like
    < LocationMatch ^/aps>
    SetHandler weblogic-handler
    WeblogicCluster <APS_SERVER>:13080
    < /LocationMatch>
    add
    WLIOTimeoutSecs 3600
    so it looks like
    < LocationMatch ^/aps>
    SetHandler weblogic-handler
    WeblogicCluster <APS_SERVER>:13080
    WLIOTimeoutSecs 3600
    < /LocationMatch>
    Save, start OHS and try again.
    Below is our planning0.log
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE =   CONTEXTID = 0000K2RgbvYCsl95nfp2iZ1I4pUX00000x TIMESTAMP = 1377001701090 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    ####<Aug 20, 2013 8:28:21 AM EDT> <Warning> <HTTP>  <Planning0> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000K2RgbvYCsl95nfp2iZ1I4pUX00000x> <1377001701106> <BEA-101138> <ServletContext@30584151[app:PLANNING module:HyperionPlanning path:/HyperionPlanning spec-version:2.5 version:11.1.2.0] One of the getParameter family of methods called after reading from the ServletInputStream. Not merging post parameters.>
    ####<Aug 20, 2013 8:28:21 AM EDT> <Info> <WorkManager> <AMIWSP01> <Planning0> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000K2RgbvYCsl95nfp2iZ1I4pUX00000x> <1377001701106> <BEA-002936> <maximum thread constraint WatchManagerEvents is reached>
    ####<Aug 20, 2013 8:28:22 AM EDT> <Alert> <Diagnostics>  <Planning0> <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl - Incident Dump Executor (created: Tue Aug 20 08:28:21 EDT 2013)> <<WLS Kernel>> <> <> <1377001702028> <BEA-320016> <Creating diagnostic image in C:\Oracle\Middleware\user_projects\domains\AMIHYPRD\servers\Planning0\adr\diag\ofm\amihyprd\planning0\incident\incdir_69426 with a lockout minute period of 1.>
    ####<Aug 20, 2013 8:39:11 AM EDT> <Error> <WebLogicServer> <Planning0> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1377002351544> <BEA-000337> <[STUCK] ExecuteThread: '28' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "635" seconds working on the request "Workmanager: default, Version: 0, Scheduled=true, Started=true, Started time: 635907 ms
    POST /HyperionPlanning/SmartView HTTP/1.1
    Accept: */*
    Accept-Language: en-US
    Accept-Encoding: gzip
    ORA_EPM_SVCLIENT_CLIENTIP: 10.101.6.194
    ORA_EPM_SVCLIENT_EXTENSIONS: b78f60ca-e18b-401d-a10f-626c0118daf2;AF52322C-D60B-41f1-A8C8-0C299FBB0AA4
    Content-Encoding: gzip
    User-Agent: HttpApp/1.0
    Content-Length: 212
    Cache-Control: no-cache
    Cookie: JSESSIONID=DtdJSTgFpg67nJ2wvxKncMtlvKFJvZn9Q5Ljj0y4t5nZGkDRbsvN!165491247; ORA_EPMWS_User=admin; ORA_EPMWS_AccessibilityMode=false; ORA_EPMWS_ThemeSelection=BpmTadpole
    Connection: Keep-Alive
    X-Forwarded-For: 10.101.6.194
    Proxy-Client-IP: 10.101.6.194
    X-WebLogic-KeepAliveSecs: 30
    X-WebLogic-Force-JVMID: 165491247
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    Thread-203 "[STUCK] ExecuteThread: '28' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
        com.hyperion.planning.olap.HspEssbaseMainAPI.EssGetCalcList(HspEssbaseMainAPI.java:???)
        com.hyperion.planning.olap.HspEssConnection.essGetCalcList(HspEssConnection.java:306)

    In order to diagnose your problem you will need to download and install the below
    Try clicking the tap problematic apps while the trace is running
    Install the WPT (windows Performance Toolkit) 
    http://www.microsoft.com/en-us/download/details.aspx?id=30652
    Help with installation (if needed) is here
    When you have, open an elevated command prompt and type the following 
    WPRUI.exe (which is the windows performance recorder) and check off the boxes for the following:
    First level triage, CPU usage, Disk IO.  
    If your problem is not CPU or HD then check off the relevant box/s as well (for example networking or registry)  Please configure yours as per the below snip
    Click Start
    Let it run for 60 secs or more and save the file (it will show you where it is being saved and what the file is called)
    Zip the file and upload to us on Onedrive (or any file sharing service) and give us a link to it in your next post.
    Wanikiya and Dyami--Team Zigzag

  • Error occurs when I open the tasks list in MS Project Professional 2013 from SharePoint 2013

    Hi,
    I have created a SharePoint 2010 workflow for a tasks list that updates a list item column if the Date Complete <= Today's date & Percentage Complete = 100%
    I used 'Set Field in Current Item' in the workflow & the values are updated in the list for the current item.
    However, when I open the tasks list in MS Project Professional 2013 from SharePoint 2013, then I get a error "We can't write task - taskname to the SharePoint site. This is either because tasks list is in read only mode or because this task has a column
    that requires unique value."
    If I remove the 'Set Field in Current Item' in the workflow, then the error does not occur. However, the 'Set Field in Current Item' in the workflow is required.
    Please provide solution to this issue ASAP. Your reply will be greatly appreciated.
    Thanks in advance

    Hi Jack,
    A shot in the dark here.  I'm not convinced the error is from the workflow.  What is the definition of the list item column in SharePoint?  Have you set the column to requiring a unique vale?  Look at the column definition.

  • Provisioning tasks not getting initiated when done in bulk

    Hello IDM Gurus,
    Needed your help with an issue we're currently facing; We're having an odd problem with provisioning/deprovisioning to our ABAP repositories. For each repository we are using the Add Member/ Remove Member tasks; for all repositoies, both the Add Member and Remove Member event tasks trigger a similar task that basically through the means of a script checks to see whether a user already has privileges within the target repository or not, then accordingly either adds the new privilege to the existing account or creates a new account and adds the new privilege; after the initial check is made, the decision on whether to add the privilege to the existing account or create a new one and add the privilege is done through a uProvision call from the script itself to the appropriate provisioning task for the specific repository in question; the check for whether the account exists or not is done within the Provisioning task itself.The same process is followed for deprovisioning as well. An example of how this would work is:
    JohnDoe has no account in Repository A;
    Privilege X (associated with repository A) is added to his account;
    The script is called and a check is made; the provisioning task for repository A is called;
    The provisioning task checks and sees that JohnDoe doesn't have an account in repository A, so an account is created and Privilege X is added to the new account.
    After this, we add two new privileges Y and Z(both associated with repository A) to JohnDoe
    The script is called and a check is made; the provisioning task for repository A is called;
    The provisioning task checks and sees that JohnDoe has an account in repository A, so the two new privileges are simply added to the existing account.
    This all works perfectly as long as we only work with one repository at a time; i.e. only add and remove privileges from one repository at a time; make all changes related to privileges for one repository; hit update; then try doing the same again for another repository. Whenever we make multiple changes related to multiple repositories, random things start happening, some changes go across in full, but some just don't; there's no logic in why certain changes happen and certain don't.
    Does this have something to do with working with just one dispatcher? is it not able to handle that many changes at once? I tried using privilege/assignment grouping for each repository, grouping it by repository name as it should inherently group add and remove task, but even that didn't have any effect.  Privilege changes were still going missing.
    Any suggestions / ideas to rectify this behavior?
    I would appreciate any help with the issue! Thanks in advance!
    Best regards,
    Sandeep

    Hey Matt,
    Thanks a lot for your quick response! I tried changing the number of runtime engines from the default of 1 to 4 but it had no effect; I added 3 roles for 3 systems but only one system got an account provisioned to it; is 4 not enough? should I try a higher value? is the uProvision script not supposed to be called or used in that fashion for multiple simultaneous calls?
    If looking at the backend to resolve this, would I need to only be looking at the MXP_PROVISION and MXP_AUDIT tables?
    Thanks a lot in advance!
    Best regards,
    Sandeep

Maybe you are looking for

  • Questions about asus eee 701 and trayer/ openbox

    Hello, This is a two part problem and I didn't know where to post them.  I have am asus eee laptop, using arch linux with openbox. First - how can I make trayer stay below all other windows, right now it above them?  Second - I'm using Idegh acpi pac

  • Why has my hp deskjet 2050 printer and scanner suddenly slowed down and printing one line at a time

    why has my hp deskjet 2050  printer and scanner suddenly slowed down and printing one line at a time

  • Personal File Sharing question

    Hi, I have a question about personal file sharing between my iMac Intel (my work computer) and an eMac (student work computer). I work at a college, and our regular back-up system on campus is just not worthwhile, so as a secondary back-up, I created

  • How to enlarge font in ios6 for mail

    How to enlarge font in ios6 for mail?  Email was easier to read on ios5.  I can't find the font setting on ios6.

  • Adobe connect or connectnow

    Our company is looking to host online workshops (virtual services). There appears to be two useful Adobe products for this; Connectnow which I see is as a cloud based service and hosted by adobe OR Adobe Connect which you install on your own hardware