OIM 11 g: create rules programmatically

We need to create rules that are similar to the following:

ORG1 Head Office User
ORG1 user
The retail user and Org2

Currently, we can do it with rules and roles if we create the following rules:

Rule 1: Head Office user: items: ((UDF_LOCATION == 123) OR (UDF_LOCATION))
Rule 2: Org1 Head Office User: items ((organisation == Org1) AND (Head Office User rule))

I can add it 'Org1 Head Office User' in General, a role, and all my Org1 head office users are assigned to the role. Everything works as expected.

However, I can't find a way to create rules programmatically. Specifically, the need to create a rule for each Org (which there are 3000) won't be easy to manage.

Is there an API that I have not seen that will allow me to create rules?

Thank you.

No APIs are available for rules. You can find the SQL query, but that is not recommended.

Tags: Fusion Middleware

Similar Questions

  • How to create rules to move mail junk folder junk mail automatically using window 8 mail app?

    Original title: spam

    How to create rules to move mail junk folder junk mail automatically using window 8 mail app?

    I don't think that the Mail App in its current form has this feature.

  • How to create VOS programmatically using SelectOneRadioButton

    Hello world

    I use Jdeveloper 11.1.1.4 and I need to create a programmatic option using VO box.

    I created on VO... i.e. the EmployeeVO which is 'Lines Popolated programmatically, not based on query' and I created a transitional attribute 'name '.

    "So I have to assign static to this attribute values so that when I will drag to jspx it will shows me the radio buttons."

    Can anyone suggest me how acchieve this by aasigning the static value in the temporary variable may how displayed us as radio buttons?

    Thanks in advance

    A sample of 1. Can be found at http://tompeez.wordpress.com/2012/09/02/jdeveloper-using-static-viewobjects-for-lookup-data/

    Timo

  • 5.8.1 infrastructure cartridge - create rule for 'availablePagingSpace '?

    I have a number of AIX systems monitored by using the cartridge of the Infrastructure.  I copied and modified the rules for the CPU, the ability to file systems and memory.

    I need to create a rule to alert on 'availablePagingSpace' that appears on the chart "Memory usage" when I click on the "Paging Space" graph via the Host Monitor dashboard.

    I'm assuming that I could copy the rule "Utilziation memory" and likely the condition to test insteead 'availablePagingSpace' of the 'use '.   This seems to be a false assumption.  When you use the rule condition query interface, these are the errors I get.

    com.quest.nitro.service.sl.interfaces.scripting.ScriptingException: com.quest.nitro.service.sl.interfaces.scripting.ScriptMalformedQueryException: bad request: java.lang.IllegalArgumentException: Type ' foglight - 5:Memory:8' doesn't have a property with the name "availablePagingSpace" - start of the script - #availablePagingSpace #.< 100="" ----="" script="" end="">

    I tried to change the rule definition to use different topologies, such as "ICAGENT", but I can't seem to find this property available anywhere.

    I'm still a bit of a newbie to the rule editing Foglight, so bear with me.  If someone has a pointer in the right direction for me on how to access the "availablePagingSpace" metric, so I can use in my terms of rule, I would be very grateful.

    Thank you!

    GWL-

    Hello

    Please try this on a local Foglight Server first.

    When you look at the gauge for swap space available in the dashboard you can see that it is actually taken from the host itself

    If the scope of the rule should be the host itself, not memory.

    The easiest way is to seek a similar rule with the host as the scope.

    If you copy the rule run the length of queue for example, you can see that the scope of the rule is host.
    You can then change the rule condition to and when you use the condition Editor, you can see the metric of availablepagingspace as part of the host

    I hope this helps...

    Golan

  • FxCop Custom rule. Creating rules files

    Hello

    In Visual Studio 2013, I try to add a custom rule to enfore Logging to all methods of code. I created DLLs as mentioned in the msdn article below

    http://blogs.msdn.com/b/CodeAnalysis/archive/2010/03/26/how-to-write-custom-static-code-analysis-rules-and-integrate-them-into-Visual-Studio-2010.aspx

    But after you create and test the dll I'm not able to create the. RuleSet file. And looks like without creating a. RuleSet file is not possible to add the rule to the project in 2013 VS.

    Pls share if there is no work around for this.

    Thank you

    Parag Dave

    Parag,

    This forum is for the generic of troubleshooting and solving problems like yours, you can ask here

  • Create rules of areas for the saved in H.323 settings

    Hello

    Can someone help me, I need to create a subzone control VCS who will receive the record in my devices H.323.

    The H.323 endpoint field, has only the configured (E.164) alias and the Don t have @xxxxxxxx

    I noticed that when I do not set the @xxxxxxx, my end points will not register to the subarea again created.

    I should create in subarea membership rules, a rule of research SPECIFIC to [email protected]/ * /.

    For example. [email protected] / * /?

    TKS

    Caesar

    The area of the image was just a test?  I'm confused, as you mentioned you do not have a SIP domain configured, and yet you say that this works if you activate a SIP domain?  In both cases, if you use a domain (for h.323 or SIP), be sure to escape periods with a backslash in front of them.

    The only way I can get a regex pattern to work is:

    105510\d {2} - that will allow any 8 digit number that starts with 105510

    Can't get expressly limit the range 10551000-10551030.

  • HOW TO GET THE LOGIC OF A LINUX HOST DISKS, TO CREATE RULE

    I need to create a rule to monitor some logic to a linux host, not all discs.

    Thank you!!!

    You can use a scope query something like this:

    LogicalDisk where name = '/ etc '.

    or

    LogicalDisk name in {' / ', '/ etc', "foglight"}

    or

    LogicalDisk where name match '. * tc.*'

    or

    LogicalDisk where name like '% tc % '.

    You can extend this to only certain hosts with something like this:

    LogicalDisk where name = '/ etc' and monitoredHost.name = 'abcdef1234.domain.com. '

  • Essbase Administration Service - create rules SQL file - connection error

    Hello

    I am creating the rules SQL files in Essbase Administration Console.

    When I press the OK/recover button in open SQL data source window I get this error:

    cannot connect to establish a connection with the SQL Server database see log for more information

    I tried the ODBC connections and BEAK .

    When I test the ODBC connection in Windows administrative tools > Data Sources (ODBC) > system DSN, it works correctly. but in open SQL error there.

    I tried two separate databases for my test.

    an Essbase server machine.

    a separate server.

    both give me the same error.

    SRD: 11g R2

    Essbase: 11.1.2

    ODBC1.jpgODBC2.jpgodbc3.jpg

    Do you have any suggestions?

    Create the DSN using DataDirect Oracle Wire Protocol 7.0 in (System DSN) ODBC administrators and test the connection of the Rules file. It will work.

    I think that u used Oracle in oracle11glcinet_home

  • exist or create rule

    Hello


    I need to check if the 'rule' exists in the database, if it is not create it. Please let me know how I can achieve this in SQL Developer.
    I'll give subsidies to an existing or new rule.



    Thank you
    Sandy

    Query DBA_ROLES

    Concerning
    Sarah

  • create images programmatically

    Hello

    I use JDeveloper Studio 11.1.1.6.0

    How I need to create the image programmatically in managed bean and I need to attach it to the pop-up window.

    and he had to add dynamically images.

    pls suggest that you have an idea.

    Your ID, it's just a number, causing the error as an ID must start with a character.

    Then add for example "img" in front of the ID greet you from the database.

    Timo

  • How can I create rule even guides on every page of my document

    I searched the internet for a few hours now and I still don't understand how to do this. I created the ruler guides on my template, I want the same mark in the same position on the other 12 pages. Does anyone know how to do this? I tried to apply the master page to other pages, but nothing happens. Thank you.

    Right-click on the NAME of master no icon, then click options of masters for...

    G

  • Creating RULES file to load members shared in usual hierarchical aggregation

    Hello
    I posted this yesterday (description about sorry, somewhat different). I am creating a hierarchy of alternative containing shared by using a load rule members and the flat file into a hierarchy of global storage. One response has been to remove the option 'allow the movement' and use parent child construction in the State of charge. I tried and it doesn't work. I showed me a section of the essbase guide (which is about as clear as mud) and still cannot get this to work. First of all – can you do this with a contour of ASO? If so, how? I tried a simple flat file 6 line and recreated the rule of load based on the above recommendations and it will not be shared members. There, can anyone help?
    Thank you

    user3055639 wrote:
    It will not allow dynamic, he comes back with the error message
    "000dd: the primary hierarchy must be marked as Stored.

    Which is basically saying the first hierarchy should be stored for example

    Multiple hierarchies enabled departments
    Stored FirstHier
    dynamic 000dd

    or try

    Dynamics of the departments
    Data store of 000dd

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Create cursors programmatically with custom properties

    Hello!

    I have problems creating cursors by programming in Labview 2009. Basically, I have an image that is rendered as a table. When you press a button, I want about 7 sliders to appear on the graph of the intensity of my image. I then want to read values from the sliders (z-values) and do some calculations base with them.

    The Labview help says to use the CursorList property to create sliders so I understand. I am trying this now, as follows:

    Create the property node and the link to the image. Choose the property of CursorList. Right click and create constant. Then I'm trying out the different sliders with the index of table vi, change their names to 1-7. Then I thought to put their back with the cluster vi version, but it does not work.

    In the future, I would like to set several properties of each slider (and not just the name). What is the right approach for my problem? I did a search on the topic, but nothing useful came. Please point me to a thread that I might have missed.

    Is attached a screenshot of my problem... How to create several cursors at a time by programming with some properties tuned to my taste?

    Thanks for your help!

    Chris

    Kokomoking wrote:

    Hello!

    I have problems creating cursors by programming in Labview 2009. Basically, I have an image that is rendered as a table. When you press a button, I want about 7 sliders to appear on the graph of the intensity of my image. I then want to read values from the sliders (z-values) and do some calculations base with them.

    The Labview help says to use the CursorList property to create sliders so I understand. I am trying this now, as follows:

    Create the property node and the link to the image. Choose the property of CursorList. Right click and create constant. Then I'm trying out the different sliders with the index of table vi, change their names to 1-7. Then I thought to put their back with the cluster vi version, but it does not work.

    In the future, I would like to set several properties of each slider (and not just the name). What is the right approach for my problem? I did a search on the topic, but nothing useful came. Please point me to a thread that I might have missed.

    Is attached a screenshot of my problem... How to create several cursors at a time by programming with some properties tuned to my taste?

    Thanks for your help!

    Chris

    Do not build Bay cluster. Just use build array (programming-> table-> table of generation). Who should take care of your cut wire. When you use the cluster table version, it builds your cluster in ANOTHER group that is not what you want.

    The table of index VI is also extensible (click on the lower part of it and drag). In this way, that you don't need 8 of them on your drawing.

  • Why can't I create rules more?

    Rules used to work and now it doesn't work.  Running Windows XP, use MSN Premium as homepage and e-mail but have to go to Hotmail to the new functionto control spam and they crossed to MSN Mail as well.  Had 27 rules and it helped a little, but now I can't even begin a new rule and my block senders list is becoming a mile long.

    View all Windows Live and Hotmail questions in the appropriate forum found here:
    http://windowslivehelp.com/

    Support MSN:
    http://support.Microsoft.com/kb/940784

  • Creating fields programmatically?

    Envisages the creation of a few areas through the connector initial configuration - and think using the API.  It is possible to create new fields in Eloqua uses the API? Or y at - it another way to do it in "time configuration"? Thank you

    Hi Dimitri.

    You can use the REST API to create, update, retrieve, and remove fields from your installation Eloqua. Please see the following for more information: REST API - Contact fields

    Hope this helps and please let me know if you need more information.

    Thank you

    Fred

Maybe you are looking for