Can a rule return a subset of bucketset

Hello,
I am trying to implement a rule, which schould return a list of values. The example is thourght up, so you do not need to question the relevans. The real case is for a financial institute, so I cannot reveal the true details.
Imagine that a student signs up for 2 courses on a university. The courses does not use the same materials on the different universities, and in some cases the student might aquire books which will be able to cover both courses, which will make it cheaper for the student. (eg. if a student chooses math and chemestry on one university, the student might just buy the book "math and chemestry", antother university might not allow this, because they cover a subject which is not in "math and chemestry" and the student then has to aquire the two books "math" and "advanced chemestry")
The rule schould use a decision table, and return a list of strings with the ISBN numbers of the books the student schould aquire.
There are 3 bucketsets, universities, courses and approvedBooks
There is an xsd which defines rule request and response, which has been used in the rule designer to create the corresponding Facts.
When I make this setup, I can use the bucketset to control the values of my request fact, but i cannot assign a bucketset to the response fact, because it is reconized as a list.
<xs:complexType name="booksToAquireResponseType">
<xs:sequence>
<xs:element name="bookName" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
If i implement it so that only one book i returned:
<xs:complexType name="booksToAquireResponseType">
<xs:sequence>
<xs:element name="bookName" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
Then I can assign a bucketset to the response fact, and then the book to aquire can be selected from the drop down in the action section of the rule designer.
My problem is that it is nessasary for me to return a list of values, does anybody know how to solve this, or does anybody know if it is an error in the rule designer, that a list cannot be assigned a bucketlist? (The request fact is recognized as a list of strings, so I would expect that I could assing a string-bucketset to the fact, but the bucketset-dropdown i empty)
I know of two solutions which wont be satisfying.
+1: Hardcode the response list. Hardcoded values cannot be handled in the web composer, so the business people wont be able to administer their own data, and change the response.+
+2: Create a bucketset for each possible book combination, and create a function, which will return an entire bucketset. This will give alot of redundant data, and if one book comes in a new edition, alot of bucketset values has to be updated, istead of just one value, wich all results reuse.+

Hi,
1. Based on my knowledge, "an email sent to my inbox is automatically sent to an Outlook folder", we can't create a transport rule to achieve it. But we can create a Inbox rule on Outlook or OWA to achieve it. Here is an example:
2. About point 2, you can create a transport rule on EAC or EMS to copy the message user1 received to a mail contact(external email address). Here is an example for your reference.
Hope it helps.
Best regards,
Amy Wang
TechNet Community Support

Similar Messages

  • Can the GetEvents Web Service return a subset of events for a given record

    Page 173 of Siebel Web Services On Demand Guide Version 3.1 (CRM On Demand Release15) Rev. A, states the following:
    "You can return events for all record types, or a subset of record types, depending on how you prepare the WSDL files associated with the Integration Event service,"
    The IntegrationEventWS_GetEvents_Input type in the Integration Event WSDL that is availble only contains an "Event Count" parameter for the number of events to retrieve and appears to have no way to specify a record type in order to retrieve a subset of the events as stated above.
    Is there any way to retrieve a subset of the Intgeration Events by record type?
    Thanks
    John

    Customer care have replied to me and the line qouted above is a documentation error and there is no way to query the GetEvent Web Service to return a subset of events for a given record.

  • Can we use return statement in procedure?

    Can we use return statement in procedure or we can use more than one return statement in procedure?

    HamidHelal wrote:
    NOReally? Did you at least test it? You can use RETURN in procedure or in anonymous PL/SQL block. The only restriction is you can't specify return value:
    SQL> begin
      2      dbms_output.put_line('Before return');
      3      return;
      4      dbms_output.put_line('After return');
      5  end;
      6  /
    Before return
    PL/SQL procedure successfully completed.
    SQL> create or replace
      2    procedure p1
      3      is
      4      begin
      5          dbms_output.put_line('Before return');
      6          return;
      7          dbms_output.put_line('After return');
      8  end;
      9  /
    Procedure created.
    SQL> exec p1;
    Before return
    PL/SQL procedure successfully completed.
    SQL> begin
      2      dbms_output.put_line('Before return');
      3      return 99;
      4          dbms_output.put_line('After return');
      5  end;
      6  /
        return 99;
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00372: In a procedure, RETURN statement cannot contain an expression
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> create or replace
      2    procedure p1
      3      is
      4      begin
      5          dbms_output.put_line('Before return');
      6          return 99;
      7          dbms_output.put_line('After return');
      8  end;
      9  /
    Warning: Procedure created with compilation errors.
    SQL> show err
    Errors for PROCEDURE P1:
    LINE/COL ERROR
    5/9      PL/SQL: Statement ignored
    5/9      PLS-00372: In a procedure, RETURN statement cannot contain an
             expression
    SQL> SY.

  • I bought the Adobe Photoshop Classroom in a Book for CS6 by accident and I have CC. I know, stupid mistake. But I can't take return the book. Is is similar enough to CC that I can still get use out of the book? Thank you so much

    I bought the Adobe Photoshop Classroom in a Book for CS6 by accident and I have CC. I know, stupid mistake. But I can't take return the book. Is is similar enough to CC that I can still get use out of the book? Thank you so much

    Each version of Adobe products builds upon the previous ones.  Some things like filters and advanced features may evolve or become deprecated over time, but the basic tools have remained pretty much the same for decades.  As long as you know there are subtle differences between versions, I think you will still get a great deal of value from C in a B for CS6.  
    Also refer to the CC online tuts
    Photoshop CC tutorials | Learn how to use Photoshop CC
    Learn Photoshop CC | Adobe TV
    Nancy O.

  • Can a method return a class ?

    hi,
    i have a simple question.
    can a method return class value ?
    in the below script i did'nt understand the commented line.
    package com.google.gwt.sample.stockwatcher.client;
    import com.google.gwt.user.client.rpc.RemoteService;
    import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
    @RemoteServiceRelativePath("login")
    public interface LoginService extends RemoteService {
      public LoginInfo login(String requestUri);  //What is this ? is this a sample of what i asked ?
    }

    The answer to your question is yes.
    The idea is that an object calls a function of another object (passing in objects to the function as arguments) in which that object returns an object (note the arguments or returned value of the function may alternately be primitive types). Each object typically encapsulates data and provides a rich set of functions to the calling object so that calling object doesn't have to deal with the raw data directly. Therefore, not only does the calling object get the data it wants, but also a rich set of functions that can manipulate that data.
    Example:
    Book book = new Book();
    int characterCount = book.getChapter(3).getParagraph(4).getSentence(12).getWord(8).getCharacterCount();
    In the above, each object (Book, Chapter,Paragraph,Sentence,Word) has a rich set of functions it provides to its caller.
    Example: the Sentence Object has a collection of word objects (raw data). Functions it provides to Paragraph object are:
    Word getWord(int index), Words getWords(), int getWordCount().
    If you haven't already done so, I suggest reading a book on Java from cover to cover to pick up such Object Oriented concepts.

  • How can I get return to 10.6? Uninstall yosemite

    How can I get return to 10.6? Uninstall yosemite

    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. After you finish Setup Assistant will complete the installation after which
             you will be running a fresh install of OS X.  You can now begin the update process
             by opening Software Update and installing all recommended updates to bring your
             installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • Can oracle  function return more than one value

    Hi All
    please answer can oracle function return more than one value
    need one schenario
    regards

    Can any function, irrespective of the language, return multiple values?
    OF COURSE NOT!!
    So why do you think Oracle will now suddenly do it differently than all other languages? Never mind that it is impossible for a function (a unit/module of code) returning a memory address, to return multiple memory addresses. The machine code that does that, has not been yet been designed/implemented.
    I am continually amazed that this question is asked. It is about something so fundamental in almost every single 3rd and 4th generation language... something that is taught right at the start... the definition of what a procedure and what a function is.
    Sorry, but I simply cannot pull punches on this subject and smooth it over. There is something fundamentally wrong with your training as a programmer if you have to ask such a question about a function.
    And whatever programming skills you build on such a foundation, will be seriously lacking.
    I kindly suggest that you get back to the very basics of programming - and review and revisit until you fully understand it. There are no shortcuts in becomming a good programmer.
    Message was edited by:
    Billy Verreynne

  • Can a function return two values???

    Hi guys can a function return more than values?

    Or even better return an Object.
    ie
    public class Tester{
         public static Multi getM()
              Multi m=new Multi();
              m.x="testing";
              m.y="new value";
         public static void main(String [] args)
              Multi mt=getM();
              System.out.println(mt.x);
              System.out.println(mt.y);
         class Multi{
              public String x;
              public String y;
    }

  • Can a method return multiple items

    Can a method return more than one thing?
    I want to have a method return a boolean and a String. My method is saying if something is right or wrong, then its saying the reason why.
    help, please.
    Thanx

    Afternoon_Delight wrote:
    My question is:
    Is there a way so that it can be more like this:
    public boolean, String checkValidity (){
    To expand on the previous posts, one way (not saying it's the best one!) is to create an object that combines the information that you want returned:
    public class MyValid
      private boolean valid;
      private String text;
      public MyValid(boolean valid, String text)
        this.valid = valid;
        this.text = text;
      public boolean isValid()
        return valid;
      public String getText()
        return text;
    class DoFoo
      public MyValid checkValidity()
        return new MyValid(false, "Because I said so!");
    }

  • How can the ruler and or the measurement tool calibrated? both are totally off.

    how can the ruler and/ or the measurement tool calibrated? both are totally off by various margins.

    skn1868 wrote:
    do you know how to reset the ppi so it is accurate?
    Earlier, I wrote:
    What is the ppi value in the document?  Use the Image - Image Size menu to see or set this value.
    I can't believe this conversation has gone on this long.  You keep wanting it to be a bug, but it seems to me the basic problem here is that you haven't accepted the fact that YOU are responsible for getting the image metadata in order before you can use tools like the Ruler to read out in physical units, such as inches or centimeters, accurately.
    Photoshop can only know the size of things in your document if you or your workflow provide it an accurate ppi value!
    What's the original source of the material?  A scanner?  If so, some part of the scanning or image preparation process has left you with an inaccurate ppi value.
    For the documents you're already working with, use Image - Image Size, then UNcheck the Resample Image checkbox and type in the correct ppi value.  Then everything will work.
    -Noel

  • Can PIX 506e return port unreachable

    Hello
    Can PIX 506e return ICMP port unreachable on Linux traceroute with UDP data gram, and if somebody knows how, can you make an example of the access-list how it should be written to allow this response?

    PIX won't return an ICMP port unreachable message and access lists cannot be configured to make PIX to respond a port unreachable.

  • IPhone 6 Plus - IOS 8 Wifi Issue - How can we rule out a hardware issue

    iPhone 6 IOS 8 Wifi Issue - How can we rule out hardware
    With all the post about Wifi issue, could it be hardware and not software.  Anyone know how to diagnosis the difference.

    Hi Lady Engineer,
    If you are having an issue with Wi-Fi on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    iOS: Troubleshooting Wi-Fi networks and connections
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How can I remove the iPhoto upgrade to my iMac OSX 10.2.8? Can the upgrade return my library?

    How can I remove the iPhoto upgrade to my iMac OSX 10.2.8? Can the upgrade return my library?

    With respect, we'll need rather more detail than that.
    In general, you can only roll back an upgrade to a library with a back up. No back up, no roll back.
    Regards
    TD

  • Looking for Rental add-on that can handle flexible return dates

    Hi Forum,
    I am wondering which would be good add-on for rental industry that can handle flexible return dates (without cancelling original contract and creating a new one with actual date).
    I am wondering if Visnova's Rental add-on would handle flexible return dates without actually cancelling original contract and creating a new contract.
    Are there many ways to handle flexible rental return dates?
    Thanks.

    Hi,
    I have moved your thread here because you are looking for partner add-on instead of SAP add-on. Have you searched through this forum and SAP EcoHub ?
    Thanks,
    Gordon

  • How can a function return a constant reference to an object

    how can a function return a constant reference to an object so that the calling party dont have rights to change it.
    like this example
    class obj = somefunc();
    obj.changeit(); // this line lust give error saying that its read only..
    somefunc()
    return criticalobj;
    in c++ we can achieve this by using the const pointer to the object.. how can we do this in java???

    arun160411 wrote:
    in c++ we can achieve this by using the const pointer to the object.. how can we do this in java???Of course the first thing anyone learns about const pointers is how to cast away constness, so this is completely useless, up there with the chastity movement's thong underwear with the stop sign on it. If you can read this, you're too close!

Maybe you are looking for

  • QM status tracking Report

    Hi Experts, I have a requirement for a report  in BW showing different Status counts per Weeks as shown in below Status                 Week1         WeeK2          Week3---n(Date Range as Per User) S1                          10               10    

  • Daniel or anyone else, Help on why I can't access certain jsp pages

    I have installed the Web Service Portlet Wizard to build my portlets. In particular, I have created a URL porlet jsp which receives its content from a URL. This URL that I retrive is an application that I have running on my Weblogic 6.1 Server. I can

  • Update table ( Receiver JDBC)

    Hi, I want to update the table jai_tab2 and set thee values for Emp_Id,Emp_name,Department,Status with the values 1001, jaishankar, xi, 1234 resp.. Earlier the values were 1000, jai, xi, 1. I have designed the data type like <?xml version="1.0" encod

  • When I click on I Tunes store from my library nothing happens. No matter what I do the I tunes store will not open. What can I do?

    I just downloaded the new version of I tunes and I went to the I tunes store. It opened just fine and I was browsing the store. I saw a song I wanted to purchase but I decided to return to my library to make sure that I didn't already have that song.

  • Home Button wakes the phone slower than using ON/OFF Button ?

    Exchanged my old 3GS with a new one yesterday cuz of some under screen dust problem. I immediately notice the Home Button is more laggy than my old one. The screen lits 1 WHOLE SECOND after I press the home button. First I thought it was some softwar