New Resource Object Status

Hello all,
a. When you disable a user on OIM it disables all resources which are Provisioned or Enabled for that user
b. When you enable a user on OIM it enables all resources which are Disabled
My client would like to put in a new status for the Resource Object called Blocked.
If the Resource is Blocked it should not follow the status as described on a. and b.
I've done the following test:
I've created the new status Blocked for a given Resource Object
I've created a new Process Definition Task called Block User and i switch the status to Blocked when it completes
All good so far, but when the user is disabled on OIM it changes the status of my Blocked Resource to Disabled as well.
Is there any way i can tweak OIM to avoid this?
I (my client) would like the Blocked Resource to remain Blocked until a manual operation changes its status.
Thanks for any input.
Adriano.

Well,
My client gave up on the requirement, so i will not implement it anymore.
But, i think the solution proposed by user12840707 would work just fine.
In fact, It gave me another idea. I believe it can be done without touching java code. (almost)
General thoughts:
1 . Normally, the Enable User task on a Process Definition has the Task Effect property assigned to 'Enables Process or Access to Aplication'
2 . Change it to 'No Effect'
3 . Modify the current Enable User task to call an adapter that will check the status of the Resource.
4 . Based on the reponse of this task, you can call another task, lets say: Really Enable User, that will really perform the Enable User.
It is sort of cumbersome but, anyway, thanks for sharing your thoughts.
Adriano

Similar Messages

  • Error while changing the Resource Object Status

    Hi,
    I am trying to change the resource object status from Waiting to Provisioned for a self service task. Before approval I see the Resource Object Status as " Ticket Sent To REMEDY" on the administrator's web console and at the Requestor's web console I get the following error message-
    ???en_US.global.viewProfileForm.Lookup.Ticket-Sent-to-REMEDY???
    But after approval, based on the completion the task, the process on both the consoles is set to provisioned. That is what I want to display but the problem comes when the requestors sees the error status message on its console before approval.
    Can any body tell me the reason of the above error and how to resolve it?
    Thanks in advance

    do you have any custom written event handlers getting triggered off after request submission or during approval?
    It might also be due to either a browser issue or you might have missed any entry in the xladmin properties file for a custom label/error message etc.

  • Resource Object Status

    Hi,
    OIM is not properly updating the Resource object status. I need to find out the actual status value in dev_oim schema. Can you please let me in which table we can find the Resource object status?
    Thanks

    Hi,
    According to my understanding RO will be associated with some Task. So open --> Process Definition find out that Task --> Open Task and navigate to Task to object status tab --> and there u can map the status.
    Regards,
    Newbie

  • Instead of creating new resource, recon is updating the same resource object for a user

    Hi,
    I created a DB target recon in OIM 11g. I ran recon and it created resource object. Resource is visible in Accounts tab.Now, I added one more entry with different description in DB. I ran the recon again. This time, instead of creating new resource object, recon linked it the same user with same resource object.
    My requirement is to create as many resource object as there are entries in DB table. The recon should not link all DB entries with same resource object in IDM. For every entry in DB, recon should create that many resource objects in accounts tab of user.
    Please let me know how to achieve the same.
    Regards,
    Kalpana.

    Hint is : Verify Reconciliation Key field mapping in Process definition
    Thanks,
    Pallavi

  • Not able to see newly created dummy resource object in OIM admin console.

    Hi,
    Created a new IT resource type and IT resource.Next created a new resource object "ResourceABC" and provided Allow all and Self Request Allowed option. However, still am able to see the resource object "ResourceABC" in the list of resources(when user selects Provision resource template) during self service or request for others.
    Please let me anything I have missed during resource object creation. I guess issue is at the resource object level.
    Note: It is a dummy resource object.
    Thanks.

    I have selected the check box for Allow All and Self Request. With regard to assign the resource by going to each organization, I believe is to provision the resource to all users in under that organization. But I want end user to request for this resource with self service console for self/others. But resource is not showing up in the list of resources.
    Kindly help.
    Thanks.

  • Resource Object - Add Custom Status

    Hi All,
    When I add a custom status in a resource object and map it in my process task the UI does not display it when the resource has been provisioned successfully. The resource is displayed in the User in status null. Has anyone add custom status in a resource object and use it?
    Thank you in advance,
    Kostas

    I suppose we should add the description of the new resource status in some Resource Bundle or some properties file....
    Anyone that can suggest any action...?

  • Issue in Adding Custom Status Defnition for a resource object

    Hi,
    We have installed OIM and patch it to 9.102. We have created one custom resource object (flat file connector) for reconciliation. As part of requirement we need to define three status for this resource object - Enabled, Suspended and Disabled. As Enabled and Disabled status are available OOTB, i have added 'Suspended' status under the Status Definition in resource object. Now the issue is that if we are passing reconcile user status to either Enabled or Disabled, the status is changing fine on Linked user resource object. But if the status passed as 'Suspended' the resource account status of linked user (OIM) is not changed.
    We have mapped the resource side Status attribute to OIM_OBJECT_STATUS under process definition. I also made the entry 'Suspended' in 'Lookup.Object Object Status' lookup to see if any help, but no luck.
    The 'Suspended' status is successfully added in OST table against the object key and on manually updating the status key against the resource object it is reflecting 'Suspended' status through admin console. User-->Resource Profile
    Does anyone have any clue if the requirement is correct (adding a custom object status) and so, where i am going wrong. Thanks in advance.

    A quick doubt..If i have written down a process task and calling this on completion of 'Reconciliation Update Received' and in this process task , a adapter is attached which is updating the resource account status (ost_status) on the basis of some custom attributes. This task is working fine and updating the status. But the issue is that once this task is complete, the mapping in Process definition (loginDisabled <MetaDirectory> --> OIM_OBJECT_STATUS) overrides the status.
    Per my understanding the flow is going like this-->
    1. Reconciliation run
    2. Event Linked
    3. Reconciliation Update Received
    4. Call The custom Task --> Update the OST Status
    5. Update the OST Status per the mapping OIM_OBJECT_STATUS.
    Is there any way we can implement that the status update in (5) occurs before (4) so that my custom task status can override the (5) as per my business requirement.

  • How can I get the value of a custom property from a resource object?

    I am trying to get the value(s) of a custom property, called "status" within a method. The method has an object of type IResource available to it.
    I have tried the following:
    PropertyName propName = new PropertyName("","status");
    value = res.getProperty(propName).toString();
    However, I am getting a NullPointerException when I try to create the PropertyName instance.
    Is there a better way to get the value of a specific property from a resource object?
    Thanks,
      Tom

    Thanks Praveen.
    I was missing the default namespace of "http://sapportals.com/xmlns/cm" - I thought I could just pass an empty string for the namespace, but it looks like I must always specifiy, even if it is default.
    Tom

  • OIM11g Code for getting resource object name

    Hi Experts,
    I want to fetch all the resource objects names assigned to a particular user. I am using following 10g code:
    tcUserOperationsIntf moUserUtility1 = (tcUserOperationsIntf) getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("Users.User ID", "*");
    mhSearchCriteria.put("Users.Status", "Active"); // Searching for all
    tcResultSet moResultSet = moUserUtility1.findUsers(mhSearchCriteria);
    Long usr_key = moResultSet.getLongValue("Users.Key");
    tcResultSet rs = moUserUtility1.getObjects(usr_key);
    String objName= rs.getStringValue("Objects.Name")Could you please help me getting the OIM11g API's and code for the above 10 code?? Any ref will be helpful..
    thanks.

    Check this link
    OIM 11g - retrieving all the provisioned accounts of an user

  • Duplicate Resource Objects  are displayed while provisioning the resource

    Duplicate Resource Objects are displayed while provisioning the resource to organization after creating a new workflow through export and import process.
    A workfolw already exists in the environment and I am trying to replicate the work flow with a different name . So i import all the components related to provisioning workflow rename the names of the components and make the necessary changes and import it back. after this I am getting Duplicate Resource Objects being displayed while provisioning the resource to organization .plz help.its urgent

    I have tried this process thrice not able to solve this problem ......unchecking allow multiple ..i don t think matters as this is provisioning to org ...n what i am telling is the list from which u select the resources to be provisioned --that list shows duplicate resource object names at a time..Each time I import an xml the number of same resource object names being displayed in the list increases ...So If I have imported three workflows then (say Resorce Object AD) appears thrice in the list. I have not given the resource objects same name in all the workflows for this to happen
    Sahana

  • Resource object not showing while provisioning a User

    Simple task but I am not able to fix this.
    I have a dummy resource whcih I created for some testing.However I am not able to see this resource when I try to provision a user to this resource.
    Any Ideas?
    FYI:.I have checked Allow SelfService,Allow All,Alow Multiple and Autolaunch check boxes
    Thanks
    -Mahi

    I have created a simple provisioning process for this..the process defination is of type approval .In there created a new task called "Manager Approval and in assigment assigned it to user's manager.
    I have already selected the resource object in the Object Name field.
    OIMUSER007...Do I really need to create a seperate IT Resource in this case?
    Its just a simple application like eg "WATCH"..
    Actually,
    I had earlier implemented this resource with Process Deffination as *provisioning*..
    Now I wanted to implement the workflow for this..For this Since I cant delete the process deffination..what I did I assigned the earlier process deff(provisioning to some other resource object(test) and created a new process deff(Approval) for this...

  • API of Resource object managment - OIM 11g R2

    Hi All,
    I want to provision a resource (say 'AD User') from a post event handler (OIM 11g R2) during user creation.
    Please tell me the API to be used.
    In OIM 10g, we can use 'tcObjectOperationsIntf' interface to operate on resource objects. what API is its replace in OIM 11g R2?
    Thanks in Advance.

    Create a role and add a rule membership to that role using your custom attribute.
    Create an access policy to provision AD resource and use the role created above while creating access policy. There will be a schedule task with the name "Evaluate user access policies". Change its schedule to run for every 1 minute.
    Now, create a user who satisfies the above role membership and make sure this user got the role membership. Immediately after a minute, this new user should be provisioned to AD resource automatically.

  • Step By Step Creation Of A new Business Object

    hi,
      Please Give Me Details Of A Business Object,like step by step creation of a new business object and it's utilization.

    Create a business object (SWO1).
    Give the business object name prefixed with Z_.
    Enter the following fields with values:
    Object type:      Z_TESTXX
    This is the internal technical key. Page: 1
    Object type can have maximum 10 characters. This must be unique across all object type. Objects are specific instances of object types at runtime.
    Object name: Object_Name_for_XX  
    The object type is addressed with this name by external applications. This is a descriptive English name and can be up to 32 characters. This also must be unique across all object type.
    Name:      Object Name: XX       
    This is a meaningful name of the business object.
    Description:     Object Description: XX     
    Page: 1
    Object description, can be up to 40 characters.
    Program:      Z_TESTXX       
    Each object type has an ABAP/4 program in which methods of the object are implemented. This program is generated automatically when you create or revise an object type.
    Application: indicates cross application.
    3: Create an event.
    Open the Object type in change mode. When you change your subtype the first step is to create a new event, this is done by selecting the Event node and clicking the create button. Give the event a name and a description.  Next set the status of this object type component to implemented.
    Event:          Z_EVENT_XX                              
    Name:          Event name: XX                          
    Description:     Event Description: XX                   
    Click on the new event andu2026
    Edit - Change Release Status- Object Type Component - Implemented
    (A small box sign vanishes from the right side of the event, indicating that it is implemented)
    There can be multiple triggering events for a standard/customer task.
    In R/3 4.0 the release strategy for new Object Types and Object Type Components (methods, attributes, events, etc.) was enhanced.  Now when an object type and/or components are created, there are different statuses to select, based on its required purpose.  The statuses are:
    u2022     Modeled - objects cannot be accessed at runtime.  This is the status that is automatically set when an object type or component is created.  Items with a modeled status cannot be referenced in any type of workflow task.
    u2022     Implemented - objects can be used internally in a test environment.  They are accessible, but may not be stable (especially if no delegation has been defined).
    u2022     Released - objects are ready for production. Note:  Local objects cannot be released.
    u2022     Obsolete - objects are typically replaced by new functionality or incompatible with previous versions.   This status is optional.
    4: Create a method.
    Next a method must be created without using any function module template. When creating the method ensure that the method call is synchronous - this means that the method doesn't require a terminating event.
    A method can be synchronous or asynchronous. Synchronous Method
    Method that, for the duration of its execution, assumes the process control and, after its execution, reports to the calling component (work item manager, in this case).
    Synchronous methods can return the following data, if defined: Return parameters, one result and Exceptions.
    Terminating events can also be defined for a single-step task described with a synchronous method. At runtime, the relevant work item is then terminated either when the synchronous method is successfully executed or when one of the defined terminating events occurs.
    Asynchronous Method
    Method that, after its execution, does not report directly to the calling component (work item manager, in this case).
    Asynchronous object methods do not return results, parameters or exceptions.
    At least one terminating event must be defined for a single-step task described with an asynchronous object method.
    At runtime, the relevant work item is only terminated if one of the defined terminating events occurs.
    Next set the status of this object type component to implemented. The methods are not implemented unless you once open their program.  Select the method and open its program. It gives a message u201CDo you want to generate a template automatically for the missing sectionu201D. Click u201CYesu201D. Inside the program insert the code u201CCALL TRANSACTION u2018FB03u2019. Display Financial Document.
    Method:     Z_METHODXX                              
    Name:      Method name: XX                        
    Description:     Method Description: XX                                                                               
    Edit - Change Release Status - Object Type Component - Implemented
    5. Create Key fields.
    Create key fields with ABAP dictionary field proposal.
    It is the identifying key, via which the system can access a specific object, that is, an instance of the object type. The key fields of an object type are usually also the key fields in the table containing the header data for the object type. Only character-based data types are allowed as key fields. The total length allowed for all key fields is 70 characters. Each key field refers to a field in the ABAP Dictionary.
    Enter u2018BKPFu2019 in table name field and select all the key fields. Press Continue button. Next set the status of these key fields to implemented.
    Edit - Change Release Status -Object Type Component - Implemented
    6:Implement business object.
    The whole business object needs to be implemented so click on the business object title andu2026
    Edit - Change Release Status - Object Type - Implemented
    Now you can check the syntax, generate the Business Object and then test it. Execute the custom method you created and give the Company code, Document number and Year.

  • Docs with  object status

    list of document with object status, can somebody explain how does it work and how to activate a status
    how can we activate new user status for documents, pl help
    Edited by: varada rajan on Apr 3, 2008 7:31 AM
    Edited by: varada rajan on Apr 3, 2008 7:46 AM

    Hi,
    If you are talking about sales order status, this can be configured through status profile.
    SPRO-SD-SALES-SALES DOCUMENTS - DEFINE & ASSIGN STATUS PROFILE.
    Based on the user status you have maintained for your sales document, the status can be viewed in table JEST.
    For this first go to VBAK - get document condition header, and take this document condition header and go to table JEST.
    Here your current status will start with E**** and status inactive flag would be blank.
    Hope this helps you.
    Reward points for contribution if it does.
    Regards
    Ravi

  • Problem with task to object status mapping

    Hi,
    There is a task 'Create User' on which on completion changes the object status to provisioned.
    There is a subsequent task named 'Update form' which on rejection should change the object status back to provisioning.
    I have implemented this logic in the 'Task to Object Status Mapping' Tab in Design console.
    However, this change is not reflecting. What is the best solution in this case?
    Regards,
    SK

    once the resource get provisioned you can have only three status
    Enabled, Disabled and Revoked
    You can't do it provisioning or any other
    These status shows resource status. Now, once user get provisioned how it can be provisioning(failed). May some update fails that doesn't mean user is not provisioned.
    Yes, you can't do workaround what Gyan suggested you
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Number Return is not in correct format

    Hi, I have oracle 10 R2 On windows. I am retriving sum of amount from one of my table and and due to huge amount it showing + sign in that like :- select sum(amount) from t; Output : 2.7201E+10 I dont need these . and E+ in the number. Please suggest

  • IMac horizontal lines through screen?

    My Late 2009 21.5" iMac seems to be having some sort of graphics problem... when using iMovie/ iDVD for long periods of time, the whole system will freeze and have multi-colored horizontal and diagonal lines through the screen... any one else having

  • Cant see synchronous http-calls in message monitoring

    Hi all, I 've got a synchronous http call. When the request was bad I saw the failed request and response messages in XI message monitoring with red lights. But now the call seems to work fine, because the sequenced step is showing. But I can not see

  • MacBook Pro 3,1 and OS X 10.10 Yosemite problems

    I recently fresh installed OS X 10.10 Yosemite on my late-2007 MacBook Pro. Everything seems to run pretty good so far, but I found a weird issue. When I Turn Wi-Fi Off, sometimes, my machine freezes and after 10 seconds approximately it reboots itse

  • Rotate position of JProgressBar component

    Dear All, I am new in javafx for animation. I am using JProgressBar component for describe the progress, but I want to rotate the bar to the vertical position thus the progress flow from bottom to up ( not left to right or it reverse). Any suggestion