Functioning of IOM group trigger

Hi all

We have a requriment to trigger a task whenever a group is added or deleted from the user.
What is the best way to implement this scenario.

Thank you

I use OIM 10 g and to achieve this will combine Group DOM and DOM user and attach the adapter to the entity that will be the logic.

Tags: Fusion Middleware

Similar Questions

  • What happened to the function "bookmark this group of tabs?

    Firefox 6.0 is not a function "bookmark this group of tabs" in the bookmarks menu. What happened to him? Still, can it be done? How? This is progress?

    Has been moved from the context menu of the tab. Right-click on a tab and you will see bookmark all tabs...

  • 2 display stored function, procedure or a Trigger?

    Hello

    Pls. 2 display stored function, procedure or a Trigger?

    in SQL * more

    Kind regards

    Abdetu...
    SQL> create or replace
      2  procedure p is
      3  begin
      4     dbms_output.put_line('hello world');
      5  end;
      6  /
    
    Procedure created.
    
    SQL> select dbms_metadata.get_ddl('PROCEDURE','P',user) from dual;
    
    DBMS_METADATA.GET_DDL('PROCEDURE','P',USER)
    ---------------------------------------------------------------------
    
      CREATE OR REPLACE PROCEDURE "SELSE"."P" is
    begin
       dbms_output.put_line('hello world');
    end;
    

    It is documented here:
    http://download.Oracle.com/docs/CD/E11882_01/AppDev.112/e16760/d_metada.htm

  • IOM Group approval

    Approvals of IOM group.
    When users request a resource he goes to the Administrators group and the approval or disapproval of one of the Administrators group members is sufficient the procurement process (or its rejection, if not request is approved nt).
    Is it possible to achieve a condition where - in permissions of all members of the admin group is required to approve or reject a request. How this can be achieved.

    Kind regards
    Corentine

    You should be able to do using this code for dynamic approval.

    I have not done it myself, so I can't guarantee that it works, but it seems feasible.

    Best regards
    / Martin

  • HELP to ' SQL error: ORA-00937: not a function of simple-group.

    < p >
    Hello world:

    I have a forum based on oracle 11g database. There two tables: article of thread and the relationship between the two is "one-to-many.

    I want to list the total number of seen of all the discussions in each section, and I write the sql code:

    Select s.secname, sum (sum1) of join of s section

    (select secid, sum1 sum (thrviewednum) of the Group of threads by secid) tt WE s.secid = tt.secid;



    The 'secid' column is the pharmacokinetics of the section table and FK of the table of thread, the "thrviewednum" the number of views of a thread.

    But I get the error:

    Error in the command line: 1 column: 7

    Error report:

    SQL error: ORA-00937: not a function of simple-group

    I can't understand the problem, could someone help me? Thank you.
    < /p >

    Hello

    Use this

    Select s.secname, sum (sum1) of join of s section

    (select secid, sum1 sum (thrviewednum) of the thread by secid group) THE group s.secid tt = tt.secid by s.secname;

    This is because the select statement contains a column that is not part of any group function, so this column must be there in the group by clause

    Concerning

  • Function to start Group BOX

    Hello

    I am creating a form with a group that contains a section with a trigger which repeat as many times he finds the lines in the XML file. I want to surround this group with a margin box. How can I do?

    I tried to use the GroupBegin function, but I got and error that it can not locate the box.

    Thank you.

    Hello

    If you are using the group option Add to the Documaker studio, you can get this kind of error. Please try to place a box in an article and code GroupBegin and rules of box in this article and the code of all the Sections that are under him, and finally a section with GroupEnd.

    Thank you.

  • Function Sum() in GROUP BY for return null if all lines aggregate is NULL

    Consider the following FOO table:

    COL_A VAL_A VAL_B
    A12
    ANULL VALUE2

    and the sql code:

    SELECT COL_A, SUM (VAL_A) VAL_A

    FOO

    COL_A GROUP;

    Returns

    COL_A VAL_A
    A1

    Is there a way to make the SUM() values if and only if all of the aggregated lines are not NULL?

    I want to return is:

    COL_A VAL_A
    A

    NULL VALUE

    If all of the aggregated rows are not null, the normal SUM() function is made.

    SELECT COL_A, SUM (VAL_B) VAL_B

    FOO

    COL_A GROUP;

    Returns

    COL_A VAL_B
    A4

    WITH (FOO AS

    SELECT COL_A, VAL_A 1, 2 VAL_B OF THE DOUBLE ' A'

    UNION ALL SELECT 'A' COL_A, VAL_A, 2 VAL_B OF THE DOUBLE NULL

    )

    SELECT NULLIF (0, MAX (DECODE(VAL_A,,0))) + SUM (VAL_A) IN FOO GROUP OF COL_A;

  • How to reconcile the description field of the ad to rights in IOM groups

    Hi all

    I reconciled the ad groups that the rights to the IOM and it works perfectly. I have hundreds of rights, but these rights have a blank description field. I would like to synchronize the description of the ad groups rights, but I do not now how to do it.

    My idea is, create a customized search with the CNs and the Descriptions of the groups and write a custom task that will read this list of choices and will update the description field of my rights.

    But I can't change the rights on the API of the IOM.

    Please, can you send me an example of the use of rights on IOM API? Or do you have any hint how can I fill the description of rights?

    Thank you

    Milan

    Fact

    Here is part of my task...

    ...

    Card lookupValues = getLookupValue (lookup);

    EntitlementService entServ = (EntitlementService.class) Platform.getService;

    HashMap retAttrs = new HashMap ();

    Criteria of SearchCriteria = null;

    {for (Map.Entry entry: {lookupValues.entrySet ())}

    String entitlementName = entry.getKey ();

    Dim description As String = entry.getValue ();

    entitlementName = entitlementName.split("~") [1];

    description = description.split("~") [1];

    criteria = new SearchCriteria (Entitlement.ENTITLEMENT_DISPLAYNAME, entitlementName, SearchCriteria.Operator.EQUAL);

    List entList = entServ.findEntitlements (criteria, retAttrs);

    If (entList.size ()! = 0) {}

    Right = entList.get (0);

    entitlement.setDescription (description);

    entServ.updateEntitlement (entitlement);

    }

    }

  • How to use the Pivot function for range group in oracle SQL

    Hello

    Hello!!!

    I need to display the data in the format below. There are 2 columns 1 is State and another is rate.

    State < 100 100-199, 200-299 300-399 400-499, 500-599 600-699 700-799 800-899 900-999 > = 1000 Total
    AK 1 2 0 4 1 4 4 35 35 4 1 25
    AL 0 0 2 27 10 17 35 2 2 35 0 103
    AR 0 0 1 0 0 2 2 13 13 2 0 6
    AZ 0 1 2 14 2 14 13 3 3 13 0 57
    CA     0     0     1     6     2     7     3     4     4     3     0     34

    Developed the sub query but unable to use the beach on the pivot function. Please help on this.

    (select (SELECT short_description
    OF CODE_VALUES
    WHERE CODE_TYPE_CODE = ad. STATE_TYPE_IND_CODE
    AND VALUE = ad. STATE_CODE
    ) STATE,
    Nr.rate
    N-NEUTRAL
    c contacts,
    announcement of addresses,
    xref_contacts_addresses xca,
    neutral_rates nr
    where n.contact_id = c.contact_id
    and n.address_id = ad.address_id
    and xca.address_id = ad.address_id
    and xca.contact_id = c.contact_id
    and nr.contact_id = n.contact_id
    and nr.rate_frequency = 'HOUR')

    Like this

    with t
    as
    (
    select 'AL' state, 12 value from dual union all
    select 'AL' state, 67 value from dual union all
    select 'AL' state, 23 value from dual union all
    select 'AL' state, 12 value from dual union all
    select 'AL' state, 12 value from dual union all
    select 'AL' state, 78 value from dual union all
    select 'AL' state, 34 value from dual union all
    select 'AL' state, 4 value from dual union all
    select 'AL' state, 12 value from dual union all
    select 'AL' state, 15 value from dual union all
    select 'AZ' state, 6 value from dual union all
    select 'AZ' state, 123 value from dual union all
    select 'AZ' state, 123 value from dual union all
    select 'MA' state, 23 value from dual union all
    select 'MA' state, 120 value from dual union all
    select 'MA' state, 456 value from dual union all
    select 'MA' state, 11 value from dual union all
    select 'MA' state, 24 value from dual union all
    select 'MA' state, 34 value from dual union all
    select 'MA' state, 87 value from dual union all
    select 'MA' state, 23 value from dual union all
    select 'MA' state, 234 value from dual union all
    select 'MA' state, 789 value from dual union all
    select 'MH' state, 54321 value from dual
    )
    -- End of test data
    select state,
           nvl(count(decode(value, 0, 0)), 0) "<100",
           nvl(count(decode(value, 1, 1)), 0) "100-199",
           nvl(count(decode(value, 2, 2)), 0) "200-299",
           nvl(count(decode(value, 3, 3)), 0) "300-399",
           nvl(count(decode(value, 4, 4)), 0) "400-499",
           nvl(count(decode(value, 5, 5)), 0) "500-599",
           nvl(count(decode(value, 6, 6)), 0) "600-699",
           nvl(count(decode(value, 7, 7)), 0) "700-799",
           nvl(count(decode(value, 8, 8)), 0) "800-899",
           nvl(count(decode(value, 9, 9)), 0) "900-999",
           nvl(count(decode(value, 10, 10)), 0) ">=1000"
      from (
              select state, case when value < 100 then 0
                                 when value between 100 and 199 then 1
                                 when value between 200 and 299 then 2
                                 when value between 300 and 399 then 3
                                 when value between 400 and 499 then 4
                                 when value between 500 and 599 then 5
                                 when value between 600 and 699 then 6
                                 when value between 700 and 799 then 7
                                 when value between 800 and 899 then 8
                                 when value between 900 and 999 then 9
                                 when value >= 1000 then 10
                            end value
                from t
           )
     group
        by state
    
  • How to display the column single line with function of nested groups

    SQL > select deptno, Max (sum (sal)) SalSum
    2 of PEM
    3 Group of deptno;
    Select deptno, Max (sum (sal)) SalSum
    *
    ERROR on line 1:
    ORA-00937: not a single group group function

    Can you please help me to get the Max (sum (sal)) with Deptno...

    Or:

    select max(deptno) KEEP (DENSE_RANK LAST ORDER BY SalSum) deptno,
    max(SalSum) from  (
      select deptno,sum(sal) SalSum
      from emp
      group by deptno
    );
    
  • issue in the creation of the IOM group reactivate via sql query.

    Hi guys,.

    I am trying to create a group to IOM database through sql query:

    insert into ugp(ugp_key,ugp_name,ugp_create,ugp_update,ugp_createby,ugp_updateby,) values(786,'dbrole','09-jul-12','09-jul-12',1,1);

    It is the inclusion of the group in the table of the PMU, but he does not appear in the administration console.

    After that, I also tried with this query:

    insert into gpp(ugp_key,gpp_ugp_key,gpp_write,gpp_delete,gpp_create,gpp_createby,gpp_update,gpp_updateby) values (786,1,1,1,'09-jul-12',1,'09-jul-12',1);

    After I haven't tried with this query.but still no use.

    and I also tried to assign a user to the group through query:

    insert into usg(ugp_key,usr_key,usg_priority,usg_create,usg_update,usg_createby,usg_updateby) values (4,81,1,'09-jul-12','09-jul-12',1,1);

    But always the same problem.it is the insertion in db.but do not enter in the administration console.

    Thank you
    Hanuman.

    Muriel Hanuman says:
    Thanks guys.the above queries are successfully.just to work I rebooted the server.

    I certify here if we want to add the group to 10g through sql query, then insert the records in the tables 'PMU' and 'MPP '.

    11 g, need to add records from the ugp only table. Because the administrator has also not found in this table only.so no need to table gpp.

    Thank you
    Hanuman.T

    1 groups are stored in the table of the PMU to IOM 11.1.1.5. The table of the GPP is present, but not used in 11.1.1.3 and is totally deleted schema repo in 11.1.1.5
    2. as far as I know, there is no other vital records except that in UGP table objects are created for a group, you are, in theory, able to create groups with direct SQL. Using the API of the IOM is the preferred method.
    3. you must use the sequence UGP_SEQ to get a new key for a group that you create.

    Vladimir

  • Bug with the aggregate function and no group

    When I run the following query:
    with the_table as
    (
      select 1 as id, 100 as cost from dual
      union all select 2 as id, 200 as cost from dual
      union all select 3 as id, 300 as cost from dual
      union all select 4 as id, 400 as cost from dual
      union all select 5 as id, 500 as cost from dual
    )
    select id, cost
    from
    (
      select id, cost
      from the_table
      --
      union all
      --
      select 0 as id, sum(cost) as cost
      from the_table
      where 0 = 1
      -- group by 1
    )
    order by id;
    I get this result:
    ID    COST
    --  ------
     0  <null>     
     1     100
     2     200
     3     300
     4     400
     5     500
    However, when I "uncomment" the line "Group 1", the query works as expected (without the id = rank 0).

    This occurs even when "the_table" is an array.

    Someone else comes through this (and if so, how long is a problem)?

    The database is 11.2.0.2.0 64-bit.

    EDIT: It also happens without a Union - the following returns a single line (with null 0 and cost of id) without the Group By and no line with her:
    select id, cost
    from
    (
      select 0 as id, sum(cost) as cost
      from 
      (
        select 1 as id, 100 as cost from dual
        union all select 2 as id, 200 as cost from dual
        union all select 3 as id, 300 as cost from dual
        union all select 4 as id, 400 as cost from dual
        union all select 5 as id, 500 as cost from dual
      )
      where 0 = 1
      -- group by 1
    )
    order by id
    Edited by: Donbot February 15, 2012 10:29

    Donbot wrote:
    Someone else comes through this (and if so, how long is a problem)?

    The database is 11.2.0.2.0 64-bit.

    This is a documented behavior.

    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/functions003.htm#SQLRF20035

    "
    All except COUNT (*) GROUPING and GROUPING_ID aggregate functions ignore NULL values. You can use the NVL function in the argument of an aggregation function to substitute a value for a null value. COUNTY and REGR_COUNT never return null, but return a number or zero. For all remaining functions of aggregation, * if the DataSet contains no line, * or if it contains only the rows with NULL values as arguments to the aggregate function, * then the function returns null.*
    "

  • Functions of nested groups

    I thought that max (count ()) must be performed on separate groups of rows returned from GROUP BY deptno.
    However, it seems that count() is performed according to GROUP BY while max() is performed on the result of count()... GROUP BY.
    select max(count(deptno)) from emp group by deptno;
    Why is this? How does the nested group functions operate against the GROUP BY?

    PhoenixBai wrote:
    I thought that max (count ()) must be performed on separate groups of rows returned from GROUP BY deptno.
    However, it seems that count() is performed according to GROUP BY while max() is performed on the result of count()... GROUP BY.

    select max(count(deptno)) from emp group by deptno;
    

    Why is this? How does the nested group functions operate against the GROUP BY?

    Well, look at the statement. There is nothing more than a "condensed" to form:

    select max(cnt) from (select count(deptno) cnt from emp group by deptno)
    

    Everything said is calculate number in each group deptno and then calculate max of counties. Another word, what you call "nested" grouping always returns a single line. GROUP BY clause, if any, still applies to the internal group. External pool always implicitly uses GROUP BY and therefore query always returns a line even when the internal grouping produces no line. Grouping in same way THAT HAVING applies inside. In fact, you cannot specify HAVING for the external group:

    SQL> select max(sal) from emp group by deptno;
    
      MAX(SAL)
    ----------
          2850
          3000
          5000
    
    SQL> select max(max(sal)) from emp group by deptno having max(sal) = 3000;
    
    MAX(MAX(SAL))
    -------------
             3000
    
    SQL> select max(max(sal)) from emp group by deptno having (max(max(sal)) = 3000;
    select max(max(sal)) from emp group by deptno having (max(max(sal)) = 3000
                                                              *
    ERROR at line 1:
    ORA-00935: group function is nested too deeply
    
    SQL> -- You need to expand it
    
    SQL> select max(max_sal) from (select max(sal) max_sal from emp group by deptno) having max(max_sal) = 3000;
    
    no rows selected
    
    SQL> 
    

    SY.

  • Not a function of simple-group

    I have the following case statement:
    select 
            (case max (country_desc)
             when 'England' then  'British'
             when 'Italy'   then  'Italian'
             when 'Germany' then  'German'
             when 'France'  then  'French'
             when 'Spain'   then  'Spanish'
             else country_desc
             end) country_desc
      from   xtable
      where  id = 200839; 
    How can I go about inserting another in the instruction box above, b/c the way I coded it currently throws a "not a single group group function."
  • What is Premiere Elements (function Flash movie) grouped in first CC? If Yes, where?

    I am a member of the CC and I try to use the "Instantmovie" functionality in Premiere Elements. Premiere Elements is not available on the subscription of the CC and I was told that the feature is integrated into the first CC. I don't find it not good. Does anyone know how to use the functionality of first CC? Thank you.

    There is no such feature in first Pro CC.

    If you want the instantmovie feature, you will need to purchase items.

Maybe you are looking for

  • 'New function tab' has stopped working

    The 'new tab' function has stopped working. When I click on the sign '+', nothing opens. When I right click on the Firefox tab in the bottom task bar, I used to get one of the menu options that says 'new tab or new window?', but now I have only 3 opt

  • Satellite Pro L300: Your power adapter also do this?

    When I move my laptop to an outlet AC (alternating current) I do this, by Manuel Toshiba: 1. connect the adapter to the laptop 2. plug the adapter cable ca outlet The plug is in my hand and when I insert it in making that a spark is generated and a s

  • Restore or recover the software not installed

    I can only go back about 3 weeks on my restore point, so i uninstalled a program about 2 months ago is anyway back to a point of restoration at the time? I had some problems with my roxio creator 9 saying certificate files have either been missing or

  • updates for iTunes/Quicktime/Safari blocked installation

    I am currently using and old verson of iTunes and Safari. I tried to update both, but have not been able to. I can download the updates on the Apple site and run the process installation, but when it is finished I get a message saying "the system adm

  • Location in wifi feature

    Hello! I'm just a big * beep * or is it explain how to use location based wifi? You are supposed to have the Wi - Fi button ON or OFF when you use the wifi feature location or is it intended to turn on automatically when you are in the range of a cer