How to get rule reuse (creation of utility rules)?

This would seem like a common problem. I need rule reuse. I need to create some utility rules. For example:
I want a "utility rule" to verify that a US State is a valid US State.
I can create a simple rule table where the condition is the State's abbreviation or State's full name and the conclusion is the State's validity.
But, how do you reuse that rule across multiple entities that may contain a State abbreviation that need verification?
This is a simple example, there are many similar cases where this is needed. How does the community handle this? It is probably somethng simple I am missing.
Thank you

That is a common challenge. If the data is not normalized on the mainframe side it could still be normalized on it's way to OPA (e.g. when constructing XML if SOAP or in code if integrating through the API). I guess the real decision is whether the logic in OPA is going to represent the business side of the world (i.e. an address is an address regardless of where and how it is represented in the tech stack and all addresses must comply with a single set of validation rules). If that is a goal, then the normalized model in OPA is the way to go. However, if there is a decision against normalization then there really can't be "rule reuse" other than copy, paste, edit because the distinct data model fields each require there own validation rules. (i.e. there is nothing in the model to represent that the two text fields actually have the same logical meaning so they can't possibly share the exact same validation rule).
In some cases, the data can be normalized within the rules as well. Roughly the scenario might be ... all state entities are asserted with their associated names and abbreviations. Each entity has one rule to deduce the relationship to the state entity based on it's state code. The validation rule per entity then simplifies to any entity that does not have a relationship to exactly one state entity must have an invalid state code. Of course, this approach is only practical when there is a relatively small number of mappings from codes to entities that needs to take place (e.g. states would work, but doing the same for all zip codes would be impractical).
Generally speaking, the normalization needs to occur if the rules are going to model the business policies for each logical business entity 1:1. Otherwise, just like with a database design, replication will occur and will impact the number of rules and complexity of rule maintenance.

Similar Messages

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

  • IDM : How to get the Resource name in Exclude Rule during Reconciliation?

    Hi
    Problem Statement => How to get the Resource name in Exclude Rule during Reconciliation.
    Problem Description => Apparently, we use exclude rule for not consider some account during reconciliation.
    I need the resource name in exculde rule during reconciliation. I tried with getResources() method which is an inbuilt method.But it gives all the resources are aviablable in the repository (IDM). I need only the current reconcilied resource name instead of fetching all the resouce.
    Can any one please help how to get the resource name in exclude rule during reconciliation?
    Thanks in advance for you help.
    Thanks,
    Chellappan

    Hi,
    Thanks for your reply.
    I have 50 resouces and these resouces using the same kind of exclude rules. In the exclude rule, i am using resource name to do some work. If i get the resouce name in exclude rule, then i can use the same exculde rule for 50 resources. This will minimise the rule count from 50 to 1. For that, i need resouce name.
    Thanks,
    Chellappan Sampath.

  • How to get notified of creation of Alternate Layout on CS6 ?

    Hi,
    I'm working on a plugin for InDesign CS6. I need to get the notification whenever alternate layout is being created on a document.
    Can anyone give any pointers.

    Dear Angnam,
    PLD has no support for SQL. There is no direct field to get the cost. You may need add a UDF to get the value through FMS query.
    Thanks,
    Gordon

  • How to get the creation date of an event/meeting

    I need to implement some control rules on booking conference rooms depending on the creation date and start date.
    For example:
    - the booking cannot be accepted if the meeting start date is less than 2 hours ahead
    at 3:00 PM I can book the conference room for a meeting starting at 5:05PM
    but not for a meeting starting at 4:55PM
    - the booking cannot be accepted after 5:30PM for a meeting starting the next morning before 10:00AM
    at 5:45PM I can book the conference room for a meeting tomorrow at 11:00AM, but not for a meeting at 9:45AM

    Hi Michel,
    how to get the creation date of an event/meeting?When you use the calendar sdk to fetch a meeting there is an Icalendar(http://www.ietf.org/rfc/rfc2445.txt) property called CREATED with the creation time in UTC.
    For example:
    - the booking cannot be accepted if the meeting start
    date is less than 2 hours ahead
    at 3:00 PM I can book the conference room for a
    meeting starting at 5:05PM
    but not for a meeting starting at 4:55PM
    You would want to implement these rules with with the sdk? That would implie that users connecting to the calendar server with any other client than the calendar sdk could still book these resources whenever they want.
    Or you would want to go an validate all the meetings once they are already created?
    Cheers,
    Jean-Philippe

  • How to get Participant's info in a global creation ?

    I want to get current Participant's info in a global creation.
    And so, I use to call Fuego.Lib.Participant.
    But, this componet is described follows within online document.
    This component is commonly used as the variable participant , which is predefined in every process.
    In a global creation, participant is not predefined.
    How to get participant's information in current global creation ?
    Note.
    I found a message in a thread that using Participant instead of participant.
    <Re: User of an interactive global activity
    But, I can't undestand to use Participant in a global creation by online document.
    Edited by: yoshiy on 2010/02/24 14:31

    In Re: User of an interactive global activity I mentioned that you should use "Participant" instead of the predefined variable "participant". This is true only inside of a Screenflow's automatic task. This is valid for any Screenflow (both Globals and Interactive activities).
    To see what information you can get about the current participant, open the catalog's Fuego.Lib.Participant component. Here you'll see that you can retrieve the current participant's email, firstName, id, lastName, and their roles. Here's how to do this using logic inside an Automatic task in a Screenflow:
    currentParticipantName as String
    currentParticipantName  = Participant.firstName + " " + Participant.lastNameDan

  • TS2755 How do get my mail on my ipad 3 to set the same email rules as is on my imac ???

    How do get my mail on my ipad 3 to set the same email rules as is on my imac ???

    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
     Cheers, Tom

  • How-to get transformations from transfer/update rules

    Hi all,
    we did an upgrade to BI 7.0 frm BW 3.5, how shall we get the new things like transformations,DTP for tha already existing cubes/ODS. is there any procedure to convert transfer and update rules to transformation.
    Thanks all,
    Regards

    Migration - Yu may wish to read below steps
    Transformation Rules
    automatic mapping without the use of an Infosource.
    steps are listed below.
    On the InfoSource Tab (Note- Ensure DataSource and Infosource have not been migrated)
    1. Right Click > Additional Functions > Create Transfer Rules
    2. Activate Transfer Rules
    3. Right Click > Additional Functions > Transformation erzeugen
    On the DataSource Tab
    4. Create Transformation (Map to DSO, should map automatically)
    5. Migrate DataSource
    6. Create InfoPackage
    7. Create DTP
    Assessing Migration Scenario's
    Transformation Rules
    Strategy toward new and 3.x datasource / infosource
    Re: Few questions on BC activation..
    Replicate NEW/3.x datasource - Methodology
    Replicate NEW/3.x datasource - Change back to 3.x datasource Methodology
    Re: Datasource Identification
    Hope it Helps
    Chetan
    @CP..

  • How to get  time of entry and date  fields during creation of excise inv

    Dear all,
    During creation of Excise invoice i am getting only removal time field.
    Please guide how to get the entry time field and date.
    Regards,
    deepti

    Hi
    Deepti
    When you do J1II OR J1IIN u will find the posting date that is nothing but Date which is used when entering the document in Financial Accounting or Controlling. For time system is taking the SAP time to record the doc.
    Thx.

  • How to get creation date from Fuego.Papi.Instance

    I got all process instances from papi. The instances are Fuego.Papi.Instance.
    I also need the creation date of the process instance, but I cannot find it in Fuego.Papi.Instance.
    How to get the creation date from Fuego.Papi.Instance?
    Thanks,

    Yes, I knew Fuego.Lib.ProcessInstance is able to get creation date.
    But my code is not in the that process. I am using papi to get the process instance which returns me Fuego.Papi.Instance. Is there a way to get Fuego.Lib.ProcessInstance from Fuego.Papi.Instance?
    My code is like this
    businessProcess = ProcessService.getProcess(process : "processName");
    instances = businessProcess.getInstancesByFilter(filter : instFilter);
    //then loop each instance and I need the creation date

  • How to get the Benefits Rate multiplier value in HCM extract ? used Extract rule type Fastfomula, but returns null.

    how to get the Benefits Rate multiplier value in HCM extract ? used Extract rule type Fastfomula, but returns null.
    Formula:
    DEFAULT FOR BEN_ABR_NAME IS 'NA'
    DEFAULT FOR l_rate_multiplier IS 'X'
    L_BG_ID = GET_CONTEXT(BUSINESS_GROUP_ID, 1)
    L_EFF_DATE = GET_CONTEXT(EFFECTIVE_DATE, to_date('1951/01/01 00:00:00'))
    L_ABRT_ID = GET_CONTEXT(ACTY_BASE_RT_ID, 9999)
    CHANGE_CONTEXTS(EFFECTIVE_DATE = L_EFF_DATE, BUSINESS_GROUP_ID = L_BG_ID, ACTY_BASE_RT_ID = L_ABRT_ID )
    l_rate_multiplier = BEN_ABR_NAME
    RETURN l_rate_multiplier

    I used DBI - BEN_ABR_NAME.
    What is back end query ? can we use query to extract the value in Extracts ?

  • Just started getting about 300-400 emails per day from several fraudulent Addresses to my icloud email and am not sure how to stop receiving them, or create a rule to have them all go to Junk.When unsub, I get more. Emails from my contacts are now Junk?!

    Just started getting about 300-400 emails per day from several fraudulent Addresses to my icloud email and am not sure how to stop receiving them, or create a rule to have them all go to Junk.When unsub, I get more. Emails from my contacts are now Junk?! How do I fix this? I have over 800 emails since 5Am YESTERDAY!

    First, don't unsubscribe.  This only tells the spammer that your email address is valid and they will send even more.
    If this is only being sent from a few specific email addresses, you can set up a rules on icloud.com similar to the image below to send them to the trash.  This describes how to set up a rule: http://help.apple.com/icloud/#mm6b1a3f8a.

  • How to get Disk Utility for Yosemite

    My version of Disk Utility cannot be used with Yosemite. How can I get the update?

    Disk Utility is inside the Utilities folder not the Application folder.  It's also on the Dock.

  • How to get mapping rules into XI

    Hi Friends,
    In my requirement, i have a webdynpro application which will provide options to do mapping between source and destination structure and it'll generate a file with set of rules for mapping.
    Once that is done, I wanted to use those rules in XI at runtime during mapping transformation. Is it possible to do?
    May sound abstract, let me know if u require any more details.
    Thanks & regards,
    Senthil.

    Thanks Michal.
    I agree that it requires lot of development. My webdnpro team is saying that they can handle. What they wanted to know is, in which format does xi require? and how xi will catch the file that has rules at runtime?
    Is it possible for XI to use that data for mapping at runtime?
    With Regards,
    Senthil.

  • How to get all users under an organizations?

    Hello everyone.
    Just want to know if anyone knows how to get all users under a particular organization.
    From the Search User form, I found they may kind of user such attribute conditions:
    MemberObjectGroup
    is in
    XXXX(organization)
    But unfortunately, the "is in" is not a valid AttributeConditionOperator, so besides using "recursive" self-written function, anyone knows any possible buit-in trick?

    Here is my solution:
    <Rule'>
        <RuleArgument name='organization'/>
        <RuleArgument name='context'/>
        <block>
            <defvar name='orgs'>
                <new class='java.util.ArrayList'/>
            </defvar>
            <invoke name='getChildObjectGroupNames'>
                <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                    <ref>context</ref>
                    <s>ObjectGroup</s>
                    <ref>organization</ref>
                </invoke>
                <ref>orgs</ref>
            </invoke>
            <append name='orgs'>
                <ref>organization</ref>
            </append>
            <invoke name='getUsers' class='com.waveset.ui.FormUtil'>
                <ref>context</ref>
                <map>
                    <s>conditions</s>
                    <list>
                        <new class='com.waveset.object.AttributeCondition'>
                            <s>MemberObjectGroups</s>
                            <s>in</s>
                            <ref>orgs</ref>
                        </new>
                    </list>
                </map>
            </invoke>
        </block>
        <MemberObjectGroups>
            <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
        </MemberObjectGroups>
    </Rule>

Maybe you are looking for

  • Compressor H.264 and Android devices

    I'm looking to make videos on our web site as mobile compatible as is practical and have run into a specific issue with compressor. When I tried to play one of our H.264 videos on an Android device I got the picture but no sound. I did some experimen

  • Finding Application Module name in read-only view object classes

    Hi all, I have a fairly basic question about finding application module name when we are coding in ViewObject java classes. I want to know how can I obtain <<application module>> NAME that our current view object is contained in it at run-time. I thi

  • SAP Interactive Forms by Adobe on a Table device?

    Hi All, I am wondering if anyone has IFbA running on any form of portable table device?  I understand (correct me if I am wrong) that it won't work on an iPad. If so, what device and operating system / browser combination are you using? For those of

  • If I want to fill out estimates and have created a fill and sign form;

    If I want to fill out estimates and have created a fill and sign form; do I have to access formscentral everytime or is there a way to save the fill and sign form that is readable on my tablet?

  • Bonjour drive not in 10.6 but show in 10.4

    I have a Western Digital Live Media Hub. The drive shows up in  my network connected computer with 10.4.11 and my iPods. But I can not connect to the drive with a MacBook Pro on 10.6.7. I have a Cisco EPC3925 wireless modem/router that is connected v