How to get activity (outcome) which navigated to current view

Hi!
Is there a way to get activity (outcome string) that was cause of navigation to current view? For example, I have a view named SearchPage and I can navigate to this page from two outcomes (success and failed) from some taskflow (for example, the EditItem taskflow). I want to detect from which outcome (success or failed) I have returned to SerachPage. How to get this? I know I can use output parameters from taskflow, but I would like to simplify the case so I don't have to deal with output parameters but to rely on navigation rules / outcomes.
Thanks,
Pavle

Hello Pavle,
Unless I misunderstand your use case, this should really be a task flow input parameter previously set using a method call activity preceding the task flow call. From what I understand, you have 2 options:
Option 1
EditItem task flow:
state1
  someTransition
  --> state2
    success
    --> method call that set a request attribute to success
    --> call the task flow, passing the request attribute as an input parameter
    failure
    --> method call that set a request attribute to failure
    --> call the task flow, passing the request attribute as an input parameter
Option 1
EditItem task flow:
state1
  someTransition
  --> state2
    success
    --> call the task flow, passing success as an input parameter
    failure
    --> call the task flow, passing failure as an input parameterPersonally I prefer the first option as I prefer to duplicate method call state than task flow calls for easier maintenance as I consider task flow call to be more complex activities than simple method calls and thus prefer to duplicate the latter over the former.
Regards,
~ Simon

Similar Messages

  • How to get Active users list in Essbase 6.5.6

    Hi Gurus,
    How to get Active users list in Essbase 6.5.6 version
    I dont find any Esscmd to find active users list....
    i used LISTLOGINS command in ESSCMD but its not helping me out....
    pls suggest me some approach to find active users list.
    Thanks in advance....

    Hi  ,
    Display sessions will give only active users details which are currently connected to the ESSBASE .
    if you need this list ? or  you need the  total list of   security  active users list ?
    if you need the currently connected to the ESSBASE
    if you check  one server  At a time  or you can check the application level also
    1)server level
    display  session all;
    2)application level
    display session on application  'application name ';
    go for the  run command ---> essmsh----->  login;----->enter user name ----> enter password----->enter host (like server name )  then you need to you   above  1 &2  commands
    Thanks,
    suresh

  • How to get the text which was clicked in  a A href tag.

    I am displaying the names from database in a page as hyperlink. When this hyperlink is clicked I want to display the corresponding address from DB. What the problem is when the link is clicked how to get the name which is clicked. I know only to link to a page using href. Now I want the text which has been clicked. Pls help.

    Sorry to interrupt here!
    For the code you suggested:
    David,
    if the target path is "http://localhost/testing.jsp", then
    the code would become:
    David.
    So what would the difference between the code shown above and this code:
    David
    What is the function for these two symbols: "<<" and ">>"?

  • How to get the records which has a specified x/y coordinates

    Hi,
    How to get the records which has a specified x/y coordinates. I have a table which has street data. And another table has a point data. Now I just want to get the records from street data which includes the points in the point data table. Can any one give your suggestions
    Thanks and Regards
    Aravindan

    Aravinda,
    If you want to find the line segments which intersect the given
    set of points, you can do that with SDO_RELATE.
    siva

  • How to get to know which OS is on my computerr

    hi
    How to get to know which OS is on my computerr

    It says "iMac, Mac OS X (10.6.8)" on your signature

  • How to get list of company codes with current period not opened?

    Hi,
    How to get list of company codes with current period not opened?
    Is there any way we can check whether the current period is opened for all company codes.
    If not how, can we generate a report which having information of period and company code. Also please tell me, which table will have info on posting periods and company codes.
    Thanks
    Vineeth Varghese

    Hi,
    The MM periods details can be viewed In Table MARV . On the selection screen you have the option of entering the company codes , current period, year current period etc. so make the required entries and you get the all details relevant to MM periods. Also it can be downloaded as a report.Thanks

  • How  to  get the FIRST DAY OF THE CURRENT MONTH

    how to get the FIRST DAY OF THE CURRENT MONTH in oracle 9i.
    plzzzzz send immedaily.advance thanks

    TEST@test SQL> select trunc(sysdate,'MON') from dual;
    TRUNC(SYS
    01-OCT-06
    TEST@test SQL>                                  

  • How to get tools and other bars back in view after deleting show-bar?

    How to get tools and other bars back in view after deleting show-bar?

    Hello Jouko.
    You can go into View > Toolbars and select the ones you want to see. If you can't see the menu bar you can simply tab ALT on your keyboard (I think F10 works too) to show it.

  • HT5422 How to get an better screen-update? The view on the remote Mac is nearly static.

    How to get an better screen-update? The view on the remote Mac is nearly static.

    You can try reducing the bit depth of the screen image  via the slider in the upper-right of the Control window. If that doesn't help, you may just not have a sufficiently fast network connection to correctly handle the data transfer necessary. This is often the case if you're connecting across the Internet. What is your network speed between the administration system and the client?
    Regards.

  • How to get component from which PropertyChange is activated

    I have a PropertyChangeListener on JInternalFrames. The frames are added using same method. I need to know from which component (frame) the 'close'-property is changed. I cannot figure out how to get it.
    When a propertychange is fired, how do i know from which componen (frame) it is fired?
    Common method to create frames is as follows:
             private void createPanel(JInternalFrame myFrame) {
            myDeskTop.add(myFrame);
                myFrame.pack();
            myFrame.setClosable(true);
                try {
                    myFrame.setMaximum(true);
                } catch (PropertyVetoException e){}
            myFrame.addPropertyChangeListener(new PropertyChangeHandler());
        }Code to execute handler is as follows:
        class PropertyChangeHandler implements PropertyChangeListener {
            public void propertyChange(PropertyChangeEvent e) {
              if (((String)e.getPropertyName()).equals("closed")){
                  if (myActiveApplication.equals("myPanelTestje")){
                      myPanelTestje = null;
                  if (myActiveApplication.equals("myFrameTestje")){
                      myFrameTestje = null;
                  if (myActiveApplication.equals("myHolidays")){
                      myHolidays = null;
                  if (myActiveApplication.equals("myInsurance")){
                      myInsurance = null;
            }

    Indeed no need to cast.
    When i click 'close' in the upper right corner of the JInternalFrame, the handler is executed and e.getPropertyName results in "closed". So, the correct property is activated but the problem was, how to detect from which JInternalFrame it was originated? The only way to find out from which panel the 'close'property is activated seems to be a test on the 'instance' (as in the example). Don't know if there is any way to check the panelname itself? It would be something like: e.getSource().getComponentName()
    class PropertyChangeHandler implements PropertyChangeListener {
    public void propertyChange(PropertyChangeEvent e) {
    if (e.getPropertyName().equals("closed")){
    if ((e.getSource() instanceof testApp)){
    myPanelTestje = null;
    if ((e.getSource() instanceof testInternalFrame)){
    myFrameTestje = null;
    if ((e.getSource() instanceof HolidayMenu)){
    myHolidays = null;
    if ((e.getSource() instanceof Insurance)){
    myInsurance = null;
    }If someone has a better way, please let me know. Otherwise consider this question closed.
    Thanks for the replies.

  • In BAM, how to get activity ID for the running instance in the orchestration.

    I am trying to add document reference URL to the active instance in the orchestration for the activity which is already started.
    Please let me know how to get such activity ID.
    Thanks
    Jagadeesh 
    Jagadeesh RS

    Are you using TPE to set up the Activity Tracking or BAM API. If you are using TPE then identify what has been set as the Activity Id in the BTT file. If the Message Id is used then use "BTS.InterchangeID" [refer
    http://msdn.microsoft.com/en-us/library/aa562116.aspx] on the received message to get the Activity Id.
    If however you've mapped the Activity Id in BTT to the InstanceId then use
    "Microsoft.XLANGs.Core.Service.RootService.InstanceId"
    to get the activity id.
    Regards.

  • How to get active tab strip name using standard function ?

    Dear all,
    I have 5 Tab strip in my view, how can i know which tab strip is active during runtime ?
    Best Regards
    Fernand

    HI
      I hope you may be looking  at this thread , hope its  a  similar requirement as yours
      How to get the selected Tab from a TabStrip.
    Thanks

  • How to get a handle which is used in c dll from  javax.smartcardio.card

    good afternoon
    i am using javax.smartcardio.card to operate a sim-card reader .
    but i have a dll which is call sim-card reader by handle.
    how can i get a handle from a javax.smartcardio.card object to pass to the dll
    next is the code .
    c dll prototype declaration
    char DoFormat([in] unsigned long P1�C[in] char * P2�C[in] bool P3,[in][out] char *P4)P1 is a handle
    java code:
    private boolean checkCardReader(boolean isopen)
    boolean r=false;
    try {
    javax.smartcardio.card card;
    TerminalFactory factory = TerminalFactory.getDefault();
    List terminalList = factory.terminals().list();
    terminal = (CardTerminal) terminalList.get(0);
    // establish a connection with the card
    card = terminal.connect("T=0");
    channel = card.getBasicChannel();
    //how can i get a handle which can be used by windows dll .
    }catch (Exception ex)
    System.out.println("Exception : " + ex);
    return r;
    *****************************************************************

    Presumably you are calling a C library method that returns a handle.
    Normally a handle will be a integer type value.
    With such a value you can cast it into a java integer type and then cast it back in different JNI code by passing it to those routines.
    A java long is as big as you can get and will hold most every normal type handle item. You should however verify sizes.

  • How to get active network interface name?

    Hi All,
    Can any one tell me how to get the currently active network interface name (Local Area Connection/ Wireless Network Connection/ other) either by using java SDK or win32 API.
    Is there any function to get the active network interface name in java/win32?
    Is there any procedure for it to get from observing registry keys.
    I found NetworkInterface class in java but not yet succesful in getting the display name of active network interface.
    Can anyone help me with partial code?
    Please help me.

    Use getLocalHost() then retreive the list of NetworkInterfaces and cycle through them until you find the one that has that address.

  • How to get active monitor-Multiple monitors connected to a single machine.

    Hi,
    How to get the id of active graphic device, in case of multiple graphic devices connected to a single machine(Multi-headed display/ multi headed nodes) using Swing.
    Prashanth.

    Ah, youre actually asking different things.
    In your topic title, you say youre running separate instances
    In your body text, you say you are under different user/schema
    So tell me, do you have more than one database or not? How many entries in your TNS file?
    I would say, for "multiple database instances"
    SELECT
      a.id, b.id
    FROM
      tableA a
      INNER JOIN
      tableB@OTHER_DATABASE_LINK_NAME b  <--NOTE!
      USING(id)And of course you will have to look up CREATE PUBLIC DATABASE LINK sql..
    Message was edited by:
    charred

Maybe you are looking for

  • How to popup an OAF page in a new window?

    Hi all, I hava a requirement to popup an OAF page in a new window when i touch a image . When i touch the image,popup a new OAF page ,and the orial page become invalid like LOV, there are some messageTextInput items and a 'Confirm' submitButton in th

  • Sending an Illustrator file to a computer that opens it up as a PDF?

    I am on a Mac OSX. I work in Illustrator CS3. My wife sends me an illustrator file on her computer to my computer in a Drop Box and I open it up OK. But when I make a change and do a Save: a window comes up "cant save Illustration as you do not have

  • Selecting a value to a column from a different table based on a condition

    I apologize for the confusing title. I have to select values from Table_1. 2 of those columns needs to be checked for values in Table_2 based on the ID and if values are present, then those values should be taken, if not the values from Table_1 shoul

  • How do I make a loader image similar to those shown at program opening?

    I'm looking to build a loader image, that opens up at the start of my script, and automatically closes after a few seconds. I opened up the image processor script to see how Adobe has added images to alerts, but it's an extensive doc, and I couldn't

  • MacBook Pro vs MacBook Air for video editing?

    I am debating between a 13 inch MacBook Pro and a 13 inch MacBook Air. The MacBook Air seems to have a nicer battery life and price tag. But I'm not sure if it will be powerful enough for video editing. Which one would be better for my needs?