When & how to use Instance.route(activityName) method  in OBPM 10gr3.

Hi
Could some one please briefly explain the use of Instance.route(activityName) method & plz share if you have any examples on it
Thanks in advance.
Santosh K.

I tried your code and I have no trouble getting entries back. Looking at the internal code, if and exception occurs the method just returns an empty IList. So you  need to check for something like this in the ULS logs "Cannot access ULS share
on \\{0}\logs", appears to  be a permissions issue.
Blog | SharePoint Field Notes Dev Tools |
SPFastDeploy | SPRemoteAPIExplorer

Similar Messages

  • How to use two split this method in my code

    How to use two split this method in my code
    if i got one string line which like this
    ("aa!bb!cc~ab!bc!cd") a
    nd want to use two split to spare ! and ~ this seal for my spare point how that output
    has come diff ?
    public static void main(String[] args) {
        String str = "aa!bb!cc~ab!bc!cd";
        String strs[]= str.split("~");
        String strE[]= str.split("!");
        int count =0;
        for(int j=0; j < strs.length; j++){
          for (int i = 0; i < strE.length; i++){   
              System.out.println(count + " " + strE);
    count++;
    the output how can it be like this
    0 aa
    0 bb
    0 cc
    1 ab
    1 bc
    1 cd

    Move your second slit inside the first loop, so you are splitting the substring, not the entire string.

  • Need help!! How to use super in equals() method and makeCopy() method?

    This is my Name class:
    class Name {
        private String title;
        private String name;
        public Name(){
             title=" ";
             name=" ";
        public Name(String title){
             setTitle(title);
             name=" ";
        public Name(String title,String name){
             setTitle(title);
             setName(name);
        public void setTitle(String title){
             this.title=title;
        public String getTitle(){
             return title;
        public void setName(String name){
             this.name=name;
        public String getName(){
             return name;
        }   This is my Person Class
    class Person extends Name{
        private String address;
        private String tel;
        private String email;     
        public Person(){
             super();
             address=" ";
             tel=" ";
             email=" ";
        public Person(String name){
             super(name);
             address=" ";
             tel=" ";
             email=" ";
        public Person(String title,String name,String addressStr){
             super(title,name);
             setAddress(addressStr);
             tel=" ";
             email=" ";
        public Person(String title,String name,String addressStr,String phoneNum){
             super(title,name);
             setAddress(addressStr);
             setTel(phoneNum);
             email=" ";
        public Person(String title,String name,String addressStr,String phoneNum,String emailStr){
             super(title,name);
             setAddress(addressStr);
             setTel(phoneNum);
             setEmail(emailStr);
        public void setAddress(String add){
             address=add;
        public String getAddress(){
             return address;
        public void setTel(String telephone){
             tel=telephone;
        public String getTel(){
             return tel;
        public void setEmail(String emailAdd){
             email=emailAdd;
        public String getEmail(){
             return email;
         public boolean equals(Person inputRecords){
             boolean equalOrNot=false;
             if(inputRecords.super(getTitle()).equals(title))         //this is wrong
                  if(inputRecords.super(getName()).equals(name))           //this is wrong
                       if(inputRecords.getAddress().equals(address))
                            if(inputRecords.getTel().equals(tel))
                                 if(inputRecords.getEmail().equals(email))
                                      equalOrNot=true;
             return equalOrNot;   
            public void makeCopy(Person copyInto){
                 copyInto.super(setTitle(title));             //this is wrong
                 copyInto.super(setName(name));           //this is wrong
                 copyInto.setAddress(address);
                 copyInto.setTel(tel);
                 copyInto.setEmail(email);
    }How can I correct the wrong part?
    I don't understand how to use super in equals() method and makeCopy() method.

    Try something like this ...
    public boolean equals(Object other) {
      if (other==null || !(other instanceof Person)) return false;
      Person that = (Person) other;
      return getTitle().equals(that.getTitle())
          && getName().equals(that.getName())
          && getAddress().equals(that.getAddress())
          && getTel().equals(that.getTel())
          && getEmail().equals(that.getEmail())
    Notes:
    * This overrides Object's public boolean equals(Object other), which is (probably) what you meant.
    * You don't need to call "super.getWhatever" explicitly... just call "getWhatever" and let java workout where it's defined... this is better because if you then override getTitle() for example you don't need to change your equals method (which you would otherwise probably forget to do, which would probably have some interesting side effects.
    Cheers. Keith.

  • How to use results of ejbfind methods when it is a collection ?

    How to use ejbFind methods result , when it is a collection ?
    Hi thank you for reading my post.
    EJB find methods return a collection , i want to know how i can use that collection ?
    should i use Collection.toArray() and then use that array by casting it?
    what is DTOs and ho i can use them in this case?
    How i can use the returned collection is a swing application as it is a colection of ejbs ?
    Should i Cast it back to ejb class which it comes from or some other way ?
    for example converting it to an array of DTO (in session bean) and return it to swing application ?
    or there are some other ways ?
    Thank you

    Hi
    pleas , some one answer
    Collection collection = <home-interface>.<finderMethod>;
    Iterator iter = collection.iterator();
    while (iter.hasNext()) {
    <remote-interface> entityEJB = (<remote-interface>) iter.next();
    } what if i do the above job in session bean and convert the result to a DTO and pass the dto back ?
    thank you

  • How to use External Routing in Human Task

    Hi,
    Could you please help me knowing how to create External Routing in Human Task in SOA Composite.
    Thanks

    When defining the external routing class in the .task, you can define the name value pairs which you want to pass to the program. Here you can pass dynamic values to the class as well by reading the appropiate node from the payload. In your class the name, value would be available in the "Map propertyBag" parameters in Rajiv's example link.
    Document says:
    Map of properties — When an assignment service is specified, a list of properties can also be specified to correlate callbacks with backend services that determine the task assignees.Or if you are too lazy to map many parameters and values, you can always read the whole Task task and then use getDocument and some xml reading to determine the values. This Task is the whole document.
    API:
    http://docs.oracle.com/cd/E17904_01/apirefs.1111/e10660/oracle/bpel/services/workflow/task/model/TaskType.html#getDocument__Document says:
    Task document — The task document that is executed by the workflow. The task document contains the payload and other task information like current state, and so on.Also you need to make sure that you are maintaining the state of the assignment class, doc says:
    The assignment service class cannot be stateful because every time workflow services need to call the assignment service, it creates a new instance.Thus if you are doing multiple serial assignments one after the another and if your server restarts in between, then the approval would start at the first assignee again. Suppose in Rajiv's doc link e.g., if the task is assigned to 'wfaulk' and the server restarts then the task would be assigned back to 'jstein'. In order to prevent this you need to modify the java code and each time the variable changes it's value you need to place it in a dehydration store. Also on each action over the process you need to reinitialize the variable from that dehydration store.
    -Bikash

  • When/How to use - "search" parameter type in parameter like other types.

    We recently upgraded BI Publisher to 10.1.3.4. I saw new parameter type "search" in parameter section, when creating report. whats the use of it? How to use it ? like other parameter type Text, Menu,Hidden, Date.
    I couldn't find any help or release notes on this !
    Thanks
    Ayaps

    I started looking into this parameter type when our drop-down for customer numbers went from 13,000 (manageable) to 45,000 (completely unmanageable).
    I imagine this is supposed to mimic the effects of a "Long List" type LOV in Oracle Applications (as I had inquired about in [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=895521&stqc=true|Large List of Values (LoV) hangs. Is there an equivalent for a long list?]), but performance-wise, "Search" does not seem to be any more efficient that using the "Menu" type LOV. Even with the help of having a partial string with a wildcard to match, the "Search" still takes too long to pull up to be of any use to us.

  • How to use JFrame's setLayeredPane() method?

    I want to custom JFrame's LayeredPane by setLayeredPane() method,but it does't work.
    Anyone who can help me?
    The code as follows:
    import javax.swing.*;
    import java.awt.*;
    public class LayeredTest{
        public static void main(String[] args){
            SwingUtilities.invokeLater(new Runnable(){
                public void run(){
                    new MyFrame().setVisible(true);
    class MyFrame extends JFrame{
        public MyFrame(){
            super("LayeredTest");
            setLayeredPane(new JLayeredPane());           //this line, I want to set the LayeredPane myself;
                                                          //but it doesn't work.
            JPanel panel =new JPanel();
            panel.setPreferredSize(new Dimension(320,240));
            panel.add(new JLabel("Label"));
            panel.add(new JButton("Button"));
            add(panel);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            pack();   
    }

    Thanks!
    But the very thing I want to know is "How to set Layered Pane(by setLayeredPane() method)",
    not "How to use Layered Pane".

  • When & how to use default settings option in job scheduling with BO 4.1

    Hi,
    With BO 4.1 we got new features and one of them is "Default Settings" option in the job scheduling. While scheduling a report in CMC we are getting below attached screen. I want to know when and how to use this option? while scheduling job on queries.
    Please guide me to, thanks in advance.
    Regards,
    Mithun Pati.

    Hi Mithun,
    Below thread may give you clear idea.
    The Purpose of the default settings is to have customized default settings for the enterprise. These settings would apply to any user who has access to Info view and wants to schedule a report. For example you can setup default values for "From" section of email so any scheduled reports use those settings. Similarly another setting we have defaulted is the number of retires involved and the seconds for each retry. Business Objects will not send out a failure emails unless the last retry has failed. The default settings should only be modified by an admin.
    Purpose of Default Settings when scheduling a WebI report?

  • Urgent!!! How to use IN_PARAMETER in CONSTRUCT_BSP_URL method

    Hi sdn,
    Iam new to bsp.I created a application with 2 controllers and 2 views.i want to transfer the values from one controller to another controller by using the runtime->construct_bsp_url().
    in that one parameter " in_parameter" is used to pass the values from another controller.but i don't know how to use that parameter.please give me sample example or give me syntax for that parameter.
    thank you for advance.
    Award the useful answer.
    thanks,
    Ramkumar

    hI,
    method DO_HANDLE_EVENT.
    DATA: event1 TYPE REF TO CL_HTMLB_EVENT.
    DATA: data TYPE REF TO CL_HTMLB_INPUTFIELD.
    DATA: V_TARGET_URL TYPE STRING,
            W_APP_NAME TYPE STRING.
    event1 = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
    if event1->name = 'button' and event1->event_type = 'click'.
    data:button_event type ref to cl_htmlb_event_button.
    button_event ?= event1.
    if button_event->server_event = 'submit'.
    data ?= CL_HTMLB_MANAGER=>GET_DATA( request = runtime->server->request
                                        name     = 'inputField'
                                        id       = 'ip1'
    IF data IS NOT INITIAL.
    input1 = data->value.
    ENDIF.
    data ?= CL_HTMLB_MANAGER=>GET_DATA( request = runtime->server->request
                                        name     = 'inputField'
                                        id       = 'ip2'
    IF data IS NOT INITIAL.
    input2 = data->value.
    ENDIF.
                  DATA: lt_params TYPE tihttpnvp.
                  FIELD-SYMBOLS: GOTO_PAGE( V_TARGET_URL ).
    endif.
    endif.
    endmethod.
    THE ABOVE CODE I WROTE IN DO_HANDLER_EVENT() METHOD.I ACTIVATED AND TESTED.IN THE FIRST VIEW ASKING THE APPLICATION NAME AND CONTROLLER I GAVETHAT INPUTFIELDS BUT THE NEXT VIEW IN THE OTHER CONTROLLER NOT DISPLAYING.IT GEETING THE ERROR
    BSP Exception: Das Objekt default.htm in der URL /sap/bc/bsp/sap/zehro_gr_fw_1/default.htm?input1=ZWFA_ESS04&input2=ZWFA_ESS04_01%2eDO&sap-sessioncmd=open ist nicht gültig.
    Please resolve my issue.

  • How to use $controller.DateTimeUtils.DateGet method ?

    Hi everyone,
    Can someone tell me how to use the $controller.DateTimeUtils.DateGet method ? I would like to know whether a date is a saturday or sunday but I can't figure out how to use the method.
    Thanks in advance
    Chris

    See the JMX documentation.
    http://java.sun.com/javase/6/docs/api/javax/management/modelmbean/ModelMBeanInfo.html

  • How to use Linksys router as bridge?

    I am trying to extend the wifi signal by using another router as bridge
    Source router is Netgear N150 b/g/n and here are the settings
    IP 192.168.254.1
    Subnet mask 255.255.255.0
    Default Gateway 192.160.254.254
    Channel number is on auto
    I have a Ubuquiti antenna
    Here is the webpage for the antenna
    http://www.amazon.com/gp/product/B004EGI3CI/ref=oh_aui_...
    I connected Linksys E900 router to this antenna and then another cable is connecting the router to my laptop
    To access antenna settings I typed 192.168.1.20 and accessed the antenna settings I chosed bridge option
    Then accessed internet explorer typed in 192.168.1.1 for linksys router settings
    Here is the linksys settings
    IP 192.168.1.43
    Subnet mask 255.255.255.0
    Default Gateway 192.168.1.1
    Channel number is on auto
    I choosed the channel number different than the one from the original signal and chose bridge as option
    While it was connected I tried to surf the net but it did not work
    I unplugged it form the router and checked the wifi signals and saw my wifi signal very strong 
    But tried to connect but it says can not connect
    Can someone help me?.
    Is default gateway supposed to be the same in main router and the bridge router and the antenna?

    You need to verify with the e900 that it actually has the Bridge mode feature, it it does not, the only other thing you can do is to run it in wired AP mode:
    http://kb.linksys.com/Linksys/ukp.aspx?vw=1&docid=169333b784cf4c78b8db5490f85c518a_Setting_.xml&pid=...
    http://www.northshore-it.com/tips/how-tos/cascade_linksys/#LAN_to_LAN
    If you you an actual bridge mode feature, and the e900 will not work, I suggested reviewing this as an alternative:
    http://store.linksys.com/products/linksys-entertainment_bridges_stcVVcatId554254VVviewcat.htm

  • Source Data Component - when/how to use in cx 4.5?

    hello,
    i've read a few mesages here on this component, but i truly do not understand the basics of what this component does or when and how to use it. i'm hoping someone can give me an example of what it does and under what conditions it should be used. yes, i'm still learning cx
    my other question is whether or not this component is available in the standard version of cx 4.5.
    thank you
    tracy
    Edited by: training 2go on Feb 24, 2009 5:14 PM

    Hi Divya Kumari,
       If you do not want the selection screen, then remove the VIA selectino screen addition in the submit
    SUBMIT RPCEDTX0
    TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    SPOOL PARAMETERS mstr_print_parms
    USING SELECTION-SET 'ZPDF'
    VIA JOB lv_job_name NUMBER lv_job_nr
    AND RETURN.
    Regards,
    Ravi
    OOPS I was too late..please ignore..
    Edited by: Ravi Kanth Talagana on Apr 23, 2009 1:01 PM

  • How to use FileOutputStream in a method??

    Dear friend,
    Now I want to write a program use java swing. I can get text from JPasswordField but I can't write the password in a document. I try to use FileOutputStream in a method with actionPerformed. But it seem no work. The problem is where should I put the 'throws IOException'? At the main or at the method?? Thank you very much.
    Ah Siew.

    Hi!
    You can write this methode in a
    try
    }catch(IOException)
    or you write an throws IOException after the Methode.
    Thats the Problem with to IOException
    Now your other problem:
    first: an JPasswordField is an javax.swing element.
    You can get the String with the
    String1 = PasswordFieldObject.getText(); Methode.
    and than you can save it in an "Global" Var.
    Greetings
    F@b

  • How to use the VBS MoveFolder methode in DIAdem without any error message?

    Hi,
    I want to move folders with the VBS MoveFolder methode, but in DIAdem I run in problems. When I use the following comman    fso.MoveFolder(project_folder & test_folder, project_folder & test_folder & "\" & test_ & " " & test_count) 
    I get error message
    "During call a sub routine no parentheses are allowed!"
    When I remove the brackets and use    fso.MoveFolder project_folder & test_folder, project_folder & test_folder & "\" & test_ & " " & test_count 
    I get the error message
    "Invalid sub routine call."
    How I have to use the command right?
    (the text of error messages is free translated from German Version of DIAdem 11.0! Take only the sense, not the exact wording!)
    Thanks for help.
    Regards
    Sven

    Hello Sven!
    Just add a 'Call' at the beginning of your first line will solve the syntatic error. I recommend always to use 'Call' and parenthesis.
    But there is a fundamental problem in your code: MoveFolder moves a folder from a source to a new destination and the old source folder will be deleted. You try to move a folder to a location below the same folder. If the MoveFolder wouldn't recognize these situtation and throws an error all of your data would be deleted!
    Just print out your paths in a Messagebox to clearify the situation.
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • Exception when trying to use web service login method

    Hi all,
    we've installed Discoverer, upgraded OAS to version 10.1.2 and installed the web service patch successfully. I can get the list of web service methods through
    http://app1.localdomain:7778/discoverer/wsi
    We've also created a bipublisher user in oiddas, and got it's guid. When I try to use the login method of the web services I get this exception:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>oracle.discoverer.applications.ws.util.DiscovererWSException: An error occurred during SSOUsername/GUID lookup.</faultstring>
    <faultactor>/discoverer/wsi</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>Does anyone have a clue what the problem is? I should also mention that after my DBA's advice we didn't upgrade the infrastructure instance, only the middle tier discoverer installation and then installed the repository upgrade.
    A few months back on a test installation I had tried to switch to SSO and then reverted back and managed to connect without SSO enabled.
    Edited by: dvm on Nov 11, 2008 7:22 AM

    Well... this is definitelly not a requirement.
    The code snippet came from the test (junit) for something which is much bigger. And of course the 1-char long table name has nothing to do with desing. At all.
    We have a system where a user defines (named) xml structures, so to say. The structures are then "translated" into DB entities. So the result DB schema is fully auto-generated. The system supports 4 different SQL dialects. Oracle is just one of them.
    Having restrictions like "name of a structure must be at least two characters" is no problem. But I still can`t believe Oracle has such a limitation. It does not sound logical (to me at least). And I had a hope may be someone has an explanation for that thing.
    The code above works just fine if I do not request certain columns back after the statement is executed. (e.g. without the second parameter).
    But anyway... I would post a bug for this, if I knew where to post it to :)
    Thanks.

Maybe you are looking for

  • How to remove options in context menu of the task in UWL.

    Hi, How to remove options or customize the context menu of the task in UWL. I have 4 options(Edit,Remove,Forward,Resubmit) is appearing in the context menu. My requirement is to delete Forward option form the menu list and only 3 options should appea

  • Remote Desktop Connection freezes Windows 7 64-bit

    At home, I just upgraded from a Windows 7 Ultimate 32-bit desktop to a new Dell with Windows 7 Ultimate 64-bit OS.  Remote Desktop Connection from my old home PC to my work PC worked great for years even after upgrading both to Windows 7 Ultimate.  N

  • UITableView with custom frame size within a UINavigationController... how?

    I've seen similar questions asked all over the web, but so far not a single "real" answer has cropped up, so hopefully you folks will know the way to do this. I have a main view that with a UIView subview, inside of which I am programmatically adding

  • Not hard to stump the iTunes Store

    I found the perfect way to stump the iTunes Store, and I found a design flaw in the process... I tried to look up a popular country/pop music song from 1981: "Somebody's Knockin'" by John Marshall. To quote the first verse of the song... "Somebody's

  • Purchasing Info Record for Consignment

    Hi When trying to create a PIR thru ME11 for consignment material, we encounter the following msg and the system doesnot save the price in PIR. OMEV setting is active. Kindly suggest "Not possible to determine a condition type for the price" Thanks a