Dynamic Rule Driven Organization

Has anyone successfully created a user member rule for a rule driven organization, and have users actually show up in the dynamic organization, as well as the static organization that every user must belong to?
The problem is such: we group users into different job fuctions, ie organizations, with administrators controlling the organizations for delegated administration purposes. However, each user can have different job functions, hence belonging to different organizations. The rule driven organizations seem to be the solution to this problem. However, I can't seem to get any member rules to populate any users for the organization in the Accounts List. Am I mis-interpreting the usage of dynamic organizations?

I followed the example that was provided in the documentation and was able to get users show up in different organizations in the List Accounts tab. What kind of errors are you seeing? Have you tried just a simple user member rule? Try the the following with some hard coded dn's of valid users in your idm [notice i'm making the assumption that you have LDAP as your resource, replace that with whatever recource that's in your system and correspoding user identity template]. Create an organization and select "TestMemberRule" as the user member rule. This was the first thing I did, and then I went ahead to modify the rule to query LDAP..and so forth. Hope this helps! Good luck!
<!DOCTYPE Rule PUBLIC 'waveset.dtd' 'waveset.dtd'>
<Rule authType="UserMembersRule" name="TestMemberRule">
<list>
<s>dn of a valid user in IDM:LDAP</s>
<s>another dn of a valid user in IDM:LDAP</s>
</list>
<MemberObjectGroups>
<ObjectRef id="#ID#All" name="All" type="ObjectGroup"/>
</MemberObjectGroups>
</Rule>

Similar Messages

  • What are the two different rules for organizational data determination

    What are the two different rules for organizational data determination???

    Hi
    1) Rule type Responsibilities
    want to determine organizational data for individual responsibilities
    have not created an organizational model but want to create one
    have a lot of organizational units and must only assign a few attributes
    2) Rule type Organizational Model
    You would use rule resolution using organizational model if you
    have created an organizational model or have distributed a plan to SAP CRM and also want to use this for determining organizational data
    assign a lot of attributes to the organizational units and these are to be evaluated
    Regards
    Manohar

  • Dynamic Rule based implementation in PL/SQL

    Hi,
    We are trying to implement a dynamic rule based application in Oracle 9i. Its simple logic where we store expressions as case statments and actions seperated by commas as follows.
    Rule: 'Age > 18 and Age <65'
    True Action: 'Status = ''Valid'' , description = ''age in range'''
    False Action: 'Status =''Invalid'', Description=''Age not in range'''
    Where Age,Status, description are all part of one table.
    One way of implementing this is fire rule for each record in the table and then based on true or false call action as update.
    i.e
    select (case when 'Age > 18 and Age <65' then 1 else 0 end) age_rule from tableX
    (above query will in in a cursor xcur)
    Then we search for
    if age_rule = 1 then
    update tablex set Status = ''Valid'' , description = ''age in range'' where id=xcur.id;
    else
    update tablex set Status =''Invalid'', Description=''Age not in range'' where id=xcur.id;
    end if;
    This method will result in very slow performance due to high i/o. We want to implement this in collection based method.
    Any ideas on how to dynamically check rules and apply actions to collection without impact on performance. (we have nearly 3million rows and 80 rules to be applied)
    Thanks in advance

    Returning to your original question, first of all, there is a small flaw in the requirements, because if you apply all the rules to the same table/cols, than the table will have results of only last rule that was processed.
    Suppose rule#1:
    Rule: 'Age > 18 and Age <65'
    True Action: 'Status = ''Valid'' , description = ''age in range'''
    False Action: 'Status =''Invalid'', Description=''Age not in range'''
    and Rule#2:
    Rule: 'Name like ''A%'''
    True Action: 'Status = 'Invalid'' , description = ''name begins with A'''
    False Action: 'Status =''Invalid'', Description=''name not begins with A'''
    Then after applying of rule#1 and rule#2, results of the rule#1 will be lost, because second rule will modify the results of the first rule.
    Regarding to using collections instead of row by row processing, I think that a better approach would be to move that evaluating cursor inside an update statement, in my tests this considerably reduced processed block count and response time.
    Regarding to the expression filter, even so, that you are not going to move to 10g, you still can test this feature and see how it is implemented, to get some ideas of how to better implement your solution. There is a nice paper http://www-db.cs.wisc.edu/cidr2003/program/p27.pdf that describes expression filter implementation.
    Here is my example of two different methods for expression evaluation that I've benchmarked, first is similar to your original example and second is with expression evaluation moved inside an update clause.
    -- fist create two tables rules and data.
    drop table rules;
    drop table data;
    create table rules( id number not null primary key, rule varchar(255), true_action varchar(255), false_action varchar(255) );
    create table data( id integer not null primary key, name varchar(255), age number, status varchar(255), description varchar(255) );
    -- populate this tables with information.
    insert into rules
    select rownum id
    , 'Age > '||least(a,b)||' and Age < '||greatest(a,b) rule
    , 'Status = ''Valid'', description = ''Age in Range''' true_action
    , 'Status = ''Invalid'', description = ''Age not in Range''' false_action
    from (
    select mod(abs(dbms_random.random),60)+10 a, mod(abs(dbms_random.random),60)+10 b
    from all_objects
    where rownum <= 2
    insert into data
    select rownum, object_name, mod(abs(dbms_random.random),60)+10 age, null, null
    from all_objects
    commit;
    -- this is method #1, evaluate rule against every record in the data and do the action
    declare
    eval number;
    id number;
    data_cursor sys_refcursor;
    begin
    execute immediate 'alter session set cursor_sharing=force';
    for rules in ( select * from rules ) loop
    open data_cursor for 'select case when '||rules.rule||' then 1 else 0 end eval, id from data';
    loop
    fetch data_cursor into eval, id;
    exit when data_cursor%notfound;
    if eval = 1 then
    execute immediate 'update data set '||rules.true_action|| ' where id = :id' using id;
    else
    execute immediate 'update data set '||rules.false_action|| ' where id = :id' using id;
    end if;
    end loop;
    end loop;
    end;
    -- this is method #2, evaluate rule against every record in the data and do the action in update, not in select
    begin
    execute immediate 'alter session set cursor_sharing=force';
    for rules in ( select * from rules ) loop
    execute immediate 'update data set '||rules.true_action|| ' where id in (
    select id
    from (
    select case when '||rules.rule||' then 1 else 0 end eval, id
    from data
    where eval = 1 )';
    execute immediate 'update data set '||rules.false_action|| ' where id in (
    select id
    from (
    select case when '||rules.rule||' then 1 else 0 end eval, id
    from data
    where eval = 0 )';
    end loop;
    end;
    Here are SQL_TRACE results for method#1:
    call count cpu elapsed disk query current rows
    Parse 37 0.01 0.04 0 0 0 0
    Execute 78862 16.60 17.50 0 187512 230896 78810
    Fetch 78884 3.84 3.94 2 82887 1 78913
    total 157783 20.46 21.49 2 270399 230897 157723
    and this is results for method#2:
    call count cpu elapsed disk query current rows
    Parse 6 0.00 0.00 0 0 0 0
    Execute 6 1.93 12.77 0 3488 170204 78806
    Fetch 1 0.00 0.00 0 7 0 2
    total 13 1.93 12.77 0 3495 170204 78808
    You can compare this two methods using SQL_TRACE.

  • Dynamic rules

    (1) Dynamic rule accepts only Accountand view in the left hand side. What is the intersection that it writes to?
    (2) Given the syntax and other limitations ( e.g it can refer only to the same subcube) are there any benefits of using dynamic over HS.Exp exp for financial ratio computation?

    Hi,
    I am trying to do something similar as was stated in this post such as
    -Set the background color of a cell to green if the value of another cell is >= 75.
    -Set the background color of the cell to red if the value of the other cell is <= 45.
    -Set the background color of the cell to yellow if the value of the other cell is > 45 or < 75.
    Does anyone have any helpful suggestions?
    Thanks,
    Barbara

  • Dynamic form driven Join Querys

    For my Master Thesis i was developing a form driven dynamic PHP Tool for executing Join Querys. Its based on PHP4, Apache and the Oracle 9.2i Database. I know that the Oracle Discoverer allows also dynamic Join Querys but just prepared by and Administrator. It works like you know it from the OracleEditor or some other Ad-hoc Query Tools, but the new main feature are the Joins. The Selection of the Tables and Columns is realized by Forms.
    My Questions are, whats your Opinion about my Tool could it be usefull? Is there a Interest for a Tutorial how you can realize dynamic form driven Join Querys with PHP and Oracle.
    I would like to post a screenshot here is that possible?
    Message was edited by:
    LOD
    Message was edited by:
    LOD

    So at first i mean dynamic Joins my tool makes it possible to create the Joins by chooseing Tables and Columns. This is just a Part of my Tool i called it AdOra. It contains 2 Scripts one for the SFW Querys and the other for the Joins. The interesting Part is the Join Script.
    This Script contains 4 HTML Forms at the first you choose the Table1 wich are loaded from the user_tables. In the second Form you can choose the Table2 to make sure that the user just builds Join Querys with Sense i check the Keys in the Script before depended on the Table1. After this in the third Form you are able to choose muliple columns for Table1 and Table2. The Last Form allows to choose the Kind of Join you want to create.
    The Script works without any manually SQL Code entrys. Its complete Form based. The user doesnt know about the Primary and Foreign Keys of the Tables. After the kind of Join is set i send the builded Query to the Database and give the Resultset out in a Table.
    About i wrote my MA Thesis in German i need some Time to translate the Manual but i will post some screenshots soon.
    Thank you for your Interest cj
    screenshots:
    http://pixpack.net/20070628180119092_elonnvgzdo.png
    http://pixpack.net/20070628175405792_xyhjwegdfs.png
    The Screenshots showing the Adora Join Script Resultset after a Join and a Self Join the SQL Statements are shown over the Resultset Table its created dynamic by the script

  • VirsaCC5.1 (Rule Architect- Organization Rules)?

    Hi All,
    We are working on Virsa CC5.1 for quite some time now. It is successfully working.
    There is one option in Rule Architect Tab:
    Rule Artichect->Organization Rules
    Anybody any idea what this option is used for? Since, all the rules provided by SAP are already uploaded. Also, There are 3 columns i have doubt for:
    1) Org. Level
    2) From
    3) To
    Any functional Infomation would be a great help
    Thanks in advance
    Regards,
    Faisal
    Edited by: Faisal Khan on Mar 31, 2008 12:33 PM

    There is a guide available in the GRC How to section for Organisational rules
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/805a8744-42ab-2a10-5194-b45be2704722
    That would be my starting point

  • Dynamic, rules based security

    My organization has an application that needs a very fine grained scurity model, that changes very often and is based upon a rules machnisem (written in PL/SQL). Is there a way to combine a rule based mechanism with the internal ACL mechanism of the iFS ?
    null

    Hi Harvey_SO,
    According to your description, you get the security ignored when using custom dynamic role-based security. Right?
    In Analysis Services, it has some role overlapping scenarios, if two roles used to secure attributes in two different dimensions, which might both apply to some users simultaneously, it can cause the user has no security applied from either role. Please
    refer to workarounds in the link below:
    The Additive Design of SSAS Role Security
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Provision users Dynamically to different Organizations(group) uisng  AP?

    Hi All,
    We have a reuirement like we need to Autoprovision users to differrent containers dynamically The scenario is as below
    1. we create a organization "ABC" in OIM which will get created as a container in OID.
    2.Say we create a user "test1"
    3.Autoprovision user test1 to container ABC using rule trigger-->group--->AP
    Here note that
    In AP by default it will provision to cn=users, how will i dynamically change the container DN to ABC in AP whenver a container is created suing the same rule?
    how can this be achieved?
    Regards,
    Naveen

    You can't achieve this dynamic function using access policy. If anyhow you want to achieve it using AP only, though a very bad design but you can try this:
    - If you have very less number of containers you can try it. Have a UDF lookup which has value of this container. And base your access policy on this UDF value.
    It would be better to use custom pre-populate adapters which will prepopulate your container data in process form.
    regards,
    GP

  • How can I create a dynamic XML driven PDF Portfolio?

    I have built an XML application for which I maintain a library of individual PDF page "templates" used to assemble large (1000+ pages) PDF documents. The page templates are saved as PDFs without page numbers as they can be reused anywhere in any manual, the page numbers are applied during the document assembly process. I am now attempting to implement an update process, in which one template change can impact dozens of large documents. I am therefore looking at moving away from creating these large PDF documents and creating something more along the lines of a Package, Portfolio or other solution in which document pages/templates in the library are linked to rather than combined, so that changes across multiple large documents can be done quickly and transparently to the user. I am sure there is a solution using an Adobe spec like Portfolio or XDP, I just need a nudge down the right path, as nothing in what I've read explicitly states that these technologies can be used for this purpose. I would prefer to stay within technologies I am comfortable with to create/modify the necessary files, whcih are XML/XSLT and ANT. I would also like to know if it's possible to add page numbers on the footer of each page in the Portfolio without modifying the template, and if the resulting Portfolio can be saved as a normal PDF or printed with the dynamic page numbers included.
    I know this might be a tall order but if anyone can help clarify what's possible with existing Adobe technologies it would be greatly appreciated.
    Thanks,
    Keith

    Indeed - PDF Portfolios are a collection of static files attached to a one-page cover sheet, you cannot have references to externally-stored documents.
    You can replace individual files in a Portfolio (by adding a file of the same name) but nothing happens automatically, and the file when added to the Portfolio will have no idea about where it originally came from. There's no concept of "check for updates".

  • Dynamic Data Driven Color in Chart

    Post Author: csmith
    CA Forum: Charts and Graphs
    I am working on a report which needs to produce approx. 100 charts.  One of the requirements is to dynamically color the bars of the chart (alerts) dynamically based upon a field in the database.  The levels are different for every chart and the value to be compared is stored in the database.  There are 4 levels for each chart.  Does anyone have a possible solution.  I am exploring the CR Chart package, but from what I have read, the product only supports 2 conditional color parameters which does not meet our needs.  I am also looking for information related to doing this through VB code.  Am wondering if anyone has faces this previously and/or found a solution?

    Post Author: V361
    CA Forum: Charts and Graphs
    What version of CR are you using ?

  • Dynamic Table driven menu

    I am trying to to create a menu whose menu item has to be dynamically pulled out from a database table. Right now I am saving all the menu item in a xml file. My code looks like this
    <tr><td class="head" colspan="2" align="center"><br/>Country of Origin</td></tr>
       <tr class="input">
          <td colspan="2"  align="center" class="input">
               <SELECT id="country" name="country">
                 <xsl:for-each select="//country/CodeList/Entry">
    <OPTION class="input">  
    <xsl:attribute name="value">
    <xsl:value-of select="code" />
    </xsl:attribute>
    <xsl:value-of select="name"/>
    </OPTION></xsl:for-each>
                </SELECT>
         </td>
      </tr>Thanks in advance

    Hi,
    an example is shown here:
    http://www.javaworld.com/jw-03-2000/jw-03-xmlsax-p4.html
    Menu is in AWT in this article, not in swing but it can't be so different.
    L.P.

  • Dynamic table driven menus

    Using jsf/adf bc I've been studying the 'dynamic' menu setup in the srdemo and have a decent understanding of how that works in a declarative way. However, that example assumes the menu items and their properties will be 'hard coded' into the faces-config. I have menu items and their properties (label, outcome, etc) stored in a table and I want to get rows from this table and essentially create an object of the MenuItem class for each row in the Menu table. I understand how to do this step programmatically. I'm left wondering then how to create the instance of MenuTreeModelAdapter and add each of these MenuItem instances to it and further how to create the instance of MenuModelAdapter and add the instance of MenuTreeModelAdapter to it?? Will this need to be a totally programmatic thing, or am i going to still be using some of the entries in the faces-config.xml? Thanks for any help on this.

    John, thanks for the reply. I did search first and didn't come up with anything. I took a look at the example from the link you gave me. It didn't provide a lot of help, but I think I've got something I can use for my purposes. My application menu will have two levels, a menu and submenu. Therefore, there exists two db tables to hold info for each menu level. The submenu table rows are children of the menu rows and so are related by fk. In my application, I just created master/detail view objects and link to retrieve all menu items along with their submenu items. I then iterate thru the rows programmatically and populate the menu model that way. Initially, it seems to be working. I'll post that code in case it might help someone else:
    public void buildMenuItems(){
    ViewObjectImpl menuVO = getTopLevelMenu();
    //iterate thru menu records
    menuVO.executeQuery();
    Row menuItemRow = null;
    List menuItemsList = new ArrayList();
    List submenuItemsList = new ArrayList();;
    while(menuVO.hasNext()){
    menuItemRow = menuVO.next();
    //convert the menu row into an instance of a MenuItem object.
    MenuItem menuItem = new MenuItem();
    menuItem.setLabel((String)menuItemRow.getAttribute("MenuLabel"));
    menuItem.setOutcome((String)menuItemRow.getAttribute("NavigationOutcome"));
    menuItem.setViewId((String)menuItemRow.getAttribute("ViewId"));
    RowSet sublevelMenuRows = (RowSet)menuItemRow.getAttribute("SublevelMenus");
    while(sublevelMenuRows.hasNext()){
    Row sublevelMenurow = sublevelMenuRows.next();
    MenuItem sublevelMenuItem = new MenuItem();
    sublevelMenuItem.setLabel((String)sublevelMenurow.getAttribute("SubmenuLabel"));
    sublevelMenuItem.setOutcome((String)sublevelMenurow.getAttribute("NavigationOutcome"));
    sublevelMenuItem.setViewId((String)sublevelMenurow.getAttribute("ViewId"));
    submenuItemsList.add(sublevelMenuItem);
    //if there were any sublevel menu items (children), add them to that menu item instance.
    if(submenuItemsList.size() > 0){
    //i'm basically making a copy of the submenu item list here so i can pass that to the setChildren method
    //of the MenuItem object. Then i'm safe to clear() the original list so it can be used again. Without using
    //a copy of the list to pass in, a subsequent call to clear() on that same list actually removes the children
    //that were just placed into MenuItem from that object.
    List submenuItemsListCopy = new ArrayList(submenuItemsList);
    menuItem.setChildren(submenuItemsListCopy);
    submenuItemsList.clear();
    //add the MenuItem instance to a list.
    menuItemsList.add(menuItem);
    MenuTreeModelAdapter treeModelAdapter = new MenuTreeModelAdapter();
    treeModelAdapter.setListInstance(menuItemsList);
    treeModelAdapter.setChildProperty("children");
    MenuModelAdapter modelAdapter = new MenuModelAdapter();
    modelAdapter.setViewIdProperty("viewId");
    try{
    modelAdapter.setInstance(treeModelAdapter.getModel());
    }catch(IntrospectionException ex){
    //do nothing here...
    FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("menuModel", modelAdapter);
    }

  • How to make a graph dynamic data driven? Plus some XML basics for Illustrator?

    I need to make some graphs that are linked to a series of data through XML files (originally Excel) and create an indvidual document for each data set. They will be used for the web and print. Please advise.

    Tis is what you can do you create say your chart or your data say in Excel and you export ast Tab Delineated Text.You can then import that data for a chart with the import chart feature it is the first icon on top of the chart data window then you can make the chart dynamic asa variable and capture the data set then import another chart's data as txt as you did before then capture that as a data set abnd so on if you have then ten data sets each one will correspond to the one you need you can name the data sets so you can easily call up the one you need.
    I never made a chart in excel or imported such data before a few minutes ago nor have I a=ever made a variable of a chart but this all works pretty reasonably.
    More advance than this I would have to experiement but you can export the variable libraries and open them in Illustrator and figure it out for a way to load or export the excel info so it opens as a chart in Illustratorbut Illustrators charts are kind of primitive so donot expect much without a script to help you.
    Perhaps you can figure out an actiopn toautomate the process?

  • Customizing dynamic rules.

    Hello partners,
    I am new to BI Beans, and I have followed some samples in BI Beans documentation regarding to how create and define rules fto format crosstab cells.
    Now, I think that I need to use code to create a customized format criteria as follow:
    We have a goal column with a value, now we want to change the colors of other cells following the next criteria:
    -Put green color if the value for the other three columns is above to "goal" column.
    -Put red color if the value for the other three columns is less than the 20% of "goal" column.
    -Put yellow color if the value for the other three columns is until 20% less than "goal" column.
    Any advice or example of how to accomplish with that, will be really appreciated.
    Thanks in advance.
    Best regards!!!!
    Frank Mtz.

    Hi,
    I am trying to do something similar as was stated in this post such as
    -Set the background color of a cell to green if the value of another cell is >= 75.
    -Set the background color of the cell to red if the value of the other cell is <= 45.
    -Set the background color of the cell to yellow if the value of the other cell is > 45 or < 75.
    Does anyone have any helpful suggestions?
    Thanks,
    Barbara

  • OIM - Email notification to a specific user based on a dynamic rule

    Hello, After creation of account in a particular target resource I need to send an email to a specific user based on the location of the user (e.g area admin).
    In the notification tab of process tasks, I see only "Assignee", "Requestor", "User", "User Manager"? How can I achive the above specified requirement?
    Before posting this question, I tried to search the forum for any previous posts related to this. But I couldn't find any. May be I was not searching with right key words.
    Any help is appreciated. Thanks in advance.

    You'll need to custom code an adapter to send the email, then you can send to any user you want. Create a new task and trigger it off the completion response code. You can use the following apis:
    tcEmailNotificationUtil sendMail = new tcEmailNotificationUtil(ioDatabase);
    sendMail.setBody("Type your body here or use a string variable");
    sendMail.setSubject("Type your subject here or use a string variable");
    sendMail.setFromAddress("[email protected]");
    sendMail.sendEmail("[email protected]");
    Just populate the above pieces with the information needed.
    -Kevin

Maybe you are looking for

  • Powerbook G4 Screen Distortion...please help me fix

    Hey all. This is my first post on this forum, because I haven't owned a Mac since 2009. But I come to this board often to troubleshoot when I am helping my friends/family with their Macs (yeah, i'm the 'computer guy'). Anyway, I now have a Mac that w

  • Is it possible to upload non-numeric data into Planning from ODI?

    Dear All, I have problem to upload non-numeric data into planning? Regards, Thomas

  • Best way to mix multiple camera angles from multiple performances?

    There has to be a slick way to do this, but I can't seem to figure it out.  I'm hoping someone can offer their advice on the best way to approach this project. (I'm using Premiere Pro CS4) I have footage from 2 performances of a high school play that

  • JDBC connection Oracle for UNIX

    I use Servlet to connect Oracle installed in UNIX. When I ran the java program, it happened some exceptions. I have spent much time to research this problem, but I still don't know what's the problem. Is the syntax wrong (unix syntax is different wit

  • Start Date/Birth Date in IT0002

    Hi, when we create info type 0002(Personal data) in pa40. and then when we go back and look at that info type the START DATE IS AUTOMATICALLY GETTING CHANGED TO BIRTH DATE,(even if we give different start date and birth date,while creating) Please te