How to programmatically capture outcome for Taskflow Return Activity?

Hi,
Can we capture outcome of Taskflow return activity programmatically?
After Taskflow is returned using one of the TaskFlow Return Activity .. I need to capture which return activity was processed.
Could anyone let me know which API we could use.. and/or any sample.
Thanks.
Amit

Hi,
an option would be to define a task flow outcome parameter and have a method call activities on the control cases of each of the return activities. The method call activities would set the return parameter value accordingly so that from the calling application you can tell which return activity was used
Frank

Similar Messages

  • How to go back to parents taskflow without using taskflow return activity

    Hi all,
    How can i go back to parents taskflow without using taskflow return activity?
    With Regards,
    Wai Phyo

    Hi,
    when you enter a sub flow, the parent flow is put on a stack for later resume. You ecit a bounded task flow that you called using task flow call activity by exiting the task flow (return activity). There is no other option to return to the parent flow. If the bounded task flow executes as a region, then you use a parent activity to navigate the enclosing flow, or the root flow. However, regions seldom use return activities anyway.
    Hope this answers your question
    Frank

  • Usecase: Taskflow Return activity for redirect to third party sites and bac

    Hi all,
    I have 3 taskflows - TF1 --- calls --- TF2 -- calls --- TF3
    In TF3, I have a redirection to a third party site (say like a payment gateway). The third party site redirects user to TF3 back and I process the information and I need to continue with the activities in TF2. Because of the intermediate external call, the return activity is not being of much use to me in this case. Is there some way by which I can return back to TF2 and resume the activities post TF3?
    Thanks,
    Srini

    Hi,
    use a URL activity and then pass the following return URL as a parameter
    https://blogs.oracle.com/jdevotnharvest/entry/how_to_efficiently_redirect_an
    Frank

  • Popup ReturnListener, get taskflow return activity

    Hi OTN,
    On my ADF JSF page there is a button, calling a bounded taskflow in a popup.
    In button's popup ReturnListener I need to know which return activity ended the taskflow.
    How can I retrieve this information?
    I expected the ReturnEvent object to hold this information, seems but it doesn't.
        public void createInfPopupReturnListener(ReturnEvent e) {
            System.out.println("e = " + e);       
            System.out.println("e.getReturnValue() = " + e.getReturnValue());
            System.out.println("e.getReturnParameters() = " + e.getReturnParameters());
            if(e.getReturnParameters() != null) {
                System.out.println("e.getReturnParameters().size() = " + e.getReturnParameters().size());
    e = org.apache.myfaces.trinidad.event.ReturnEvent[component=RichCommandToolbarButton[UIXFacesBeanImpl, id=ctb1], returnValue=null]
    e.getReturnValue() = null
    e.getReturnParameters() = {}
    e.getReturnParameters().size() = 0JDeveloper 11.1.1.3
    Thanks.

    Hi Frank,
    I have defined a taskflow return value as a pageFlowScoped bean variable.
    <return-value-definition id="__98">
          <name id="__97">returnValue1</name>
          <value>#{pageFlowScope.CreateInfPageFlowBean.returnValue}</value>
          <class>java.lang.String</class>
        </return-value-definition>With a following taskflow bean code:
        private String returnValue;
        public void setOkReturnValue() {
            returnValue = "ok";
        public void setCancelReturnValue() {
            returnValue = "cancel";
        public String getReturnValue() {
            return this.returnValue;
        }And placed setOk and setCancel method-call activities before two task-flow-return activities.
    Is that the right way?

  • How do I find templates for a return address labels?

    Two day and hours of searching I'm stumpt. Any that I find online like from Avery products won't work. I can find all kinds of things.
    But, where can I find return address templates? Can't find anything in Appleworks either. Trying to make Christmas return address lables with address & images.
    Anyone????

    Hi Mike,
    Your labels will be equivalent in size to AVERY 5267, which is in the list of Avery numbers in the database's label size set.
    The biggest difficulty using these labels is that with 20 rows of labels, any error in the vertical size of the label layout will be magnified by 19 when it comes to positioning the last row.
    As you want all labels the same, DON'T use the Labels Assistant.
    =====Start by creating a new DB document and creating 80 records=====
    Create a new single field DB document.
    Create 80 records in the DB
    (These don't need to contain any data. The fastest way to create them is:
    Open a new Spreadsheet document.
    Select cells A1..A79. Type a character, then press command-D to fill the character into all of the cells.
    Copy (command-C)
    Go to the window menu and choose the DB document.
    Click to the left of the single field label to select the whole record. Make sure the record is highlighted; you should NOT see the insertion point in the field.
    Paste (command-V)
    79 new records should be added to your DB, for a total of 80.
    ======Define a Layout for your labels============
    Go Layout > Layout
    Go Layout > New Layout...
    Click Labels
    Use the popup list to set the size to Avery 5267
    (The Layout name will change from "Layout 2" to "Avery 5267".)
    Click OK to move to the next dialogue.
    Doubleclick the single field name in the Field list to move it to the Field Order list, then click OK
    You'll see the layout window with two grey lines on it, one vertical and one horizontal.
    The short vertical line is the right boundary of one label. Its position is set when you define the label size, and can't be moved.
    The long horizontal line (labeled "Body") is the bottom boundary of one label. Its position is also set when you define the label size, BUT its position is NOT fixed. The position of this line controls how much vertical space is taken by each label—move the line down a sixteenth of an inch and eight 4-label sets of printed data will take nine rows of labels on a sheet of half inch labels.
    The line can be moved inadvertently by dragging it up or down, or by inserting more fields into the label than there is space for. Be very careful NOT to move this line. If it is moved, it's easier (ie. far less hassel) to start over that to nudge it back into the exact position needed.
    In the layout, click on the Field to select it, then press delete to remove it from the layout.
    ======Align the layout with the label stock========
    It's easier to do this before putting the information onto the labels.
    Go AppleWorks > Preferences > General... Graphics
    Click the Object Selection button with eight handles (the lower one), then click OK.
    Click to select the Oval tool in the Tools, then use the Color Palette to choose black as the Fill colour.
    In the large space below the Body line, make a circle whose diameter is the distance between two dots on the grid. (If Autogrid is turned on, the circle will jump to this size when you drag the mouse.)
    Press command-D to duplicate the circle.
    Use the Arrow keys to position the center of one circle at the top left corner of the label.
    Click on the other circle, then use the arrow keys to position its center at the lower left corner of the label. You may have to turn Autogrid off (command-Y) to do the final bit of horizontal nudging for this one).
    NOTEs:
    Only the bottom right quarter of the first circle will be visible. The top and left edges of the window should pass through the centers of the handles at the right side and bottom of the circle.
    The Body line should pass through the center of the middle handles on both sides of the circle. The vertical boundary should pass through the center handle at the top of the circle.
    When the two circles are in place, go Layout > Browse to return to Browse mode, then go Window > Page view.
    You should see a set of quarter circles running down the left edge of the window, three columns of paired quarter circles, and a column of quarter circles at the right edge of the page.
    Print a test sheet on plain paper, place a label sheet on top of that page, and hold the combination up to a light. You should be able to place the 'point' of each quarter circle at the top left corner of one of the labels on the sheet, but you may find that the edges of the paper and the label sheet do not line up when you do so.
    If that's the case, examine the size of the mismatch between paper and label sheet, and adjust as follows:
    To shift all the labels on the page you'll need to adjust the top and laft margins of the Document.
    Go Format > Document...
    Increase the top margin to push the labels further down the page.
    Increase the Left margin to push the labels further to the right.
    Bottom and Right margins my both be set to 0. This will result in a warning when you print, but it makes the adjustment process esier, and the warning may be ignored.
    Repeat the check-adjust-print-check cycle until you're satisfied with the results.
    =====Add the info to the layout======
    When you have the labels aligned to your satisfacton, SAVE the DB document, then go Layout > Layout to return to layout mode.
    Press command-A to select all (the two circles), then press Delete to remove them from the layout.
    Select the Text tool ("A").
    In the space below the body line (and far enough from it to avoid accidently moving it) drag a text frame slightly less wide than the label.
    Type in your address information, and format it as you see fit.
    Click the Selection tool (Arrow) to select the text frame, then use the arrow keys to move it into position on the layout. (Turn Autogrid on for faster movement; off for finer control.)
    If the text box will not fit into the vertical space, Go Format > Size > and choose a smaller size for your text.
    Print a test sheet (plain paper). If necessary, adjust the position of the text by selecting the frame (Use command-A) then moving it with the arrow keys.
    Regards,
    Barry
    PS: Why use the arrow keys?
    You're working close to the (moveable) Body boundary a lot of the time. A slip of the mouse can make it necessary to trash everyhing done up to that point. To avoid that, avoid any use of the mouse that's close to that boundary.
    B

  • How to programmatically populate items for an InputComboBox?

    I'm using JDeveloper 11g Release 1 to build an ADF application. I need a combo box field from which a user may select a predefined option or in which she may type her own entry before submitting. It appears the RichInputComboboxListOfValues component will allow this functionality, but I also need to populate the list items programmatically. From what I have researched thus far, the InputComboboxListOfValues needs to bind to an LOV from the model and can not be populated from the backing bean.
    Is this true? If so, can anybody please suggest an alternative that will allow the same functionality?
    If not, will you please help with an code sample that demonstrates how to populate the InputCombobox list items from the backing bean? I see that the object includes a .setItems() method, but it is deprecated.

    You can base this on a backing bean model.
    See: http://jdevadf.oracle.com/adf-richclient-demo/components/inputComboboxListOfValues.jspx
    Source for the demo here:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • How to programmatically disable prompts for output file names in Acrobat X

    My code to programmatically disable output file names (below) is not working on a Windows 7 64-bit machine using Acrobat Distiller X.  It works perfectly on a Windows XP machine with Acrobat Distiller 8.
    The latest API Reference I was able to find is dated June 2008.  My logic follows this convention.
    I have confirmed that the registry key is updated as specified below.  I have also confirmed that I am able to write to the directory indicated.
    Please provide any suggestions to resolve. 
    Thank You!
    ~Lori
    'Create the Registry Key where Acrobat looks for a file name
            CreateNewRegistryKey HKEY_CURRENT_USER, _
                         "Software\Adobe\Acrobat Distiller\PrinterJobControl"
    'Put the output filename (FilePath) where Acrobat could find it
            SetRegistryValue HKEY_CURRENT_USER, _
                     "Software\Adobe\Acrobat Distiller\PrinterJobControl", _
                     C:\Program Files (x86)\Microsoft Office\Office12\MSACCESS.EXE, _
                     T:\PDF Files\Current Week\NFS_Lori,Test.pdf

    I remember seeing that the problem is thunking. A little more specifically, because it's a 32-bit driver but a 64-bit executable, there's a 32-bit system spooler process which will always show up as the EXE name.

  • How to programmatically resize vi for different screen resolutions ?

    Hi,
         I have been struggling with this,How can i built a vi that should run for different screen resolutions (on different pc's).
    There are several threads on forum , But i dont find the exact solution for it.
    I have already tried with VI properties in the VI but i dont think its working.
    Can someone please help me ?
    Thanks and regards,
    Shivkant Paswan

    Yup it is a pain to use panes, but that is the easiest method I've found which meets my requirements.  Learn to use panes and splitters effectively, and then learn their limitations and workaround when you find those limitations.  In general LabVIEW should handle multi-resolutions, and resizing better but these are the tools we have today.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How to cancel Material document for a Return PO

    Hi,
    I need to cancel a material documet for a retun PO. Can you please tell me how to do it?
    Regards,
    Prasanna.

    Hi,
    If the material document has been created through SD documents.
    For Ex: For an stock transfer between 2 plants using 2 step procedure, Goods Issue document is posted when you complete the shipment in VT02N. This material document can only be reversed using T-code VL09.
    Thanks and Regards,
    Maheshwari

  • How to programmatically disable AutoRun for the CD drive in W2k via Java?

    I would like to find a way to disable the AutoRun feature for the CD drive in Windows 2000 without having to go through the registry. There must be a way! Is there somebody who has accomplished this task using Java?
    Thanks-
    jp

    You can't....without modifying the registry..and still...that would only take effect AFTER a reboot.

  • How Much Is The Fee For Un-Returned Defective Hard Drive ? (Please Help)

    I Have Received A New Toshiba 750 GB Hard Drive From Hp Under My 1 Year Warranty And 4 Recovery Disk. I know I Only Get 3 days To ship Defective Hard Drive, But If I Don't How Much Will Be Deducted From Bank Account.?

    I think it is around $200. maybe even $300.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • How long does it take for replacement simcard activation.

    My phone has been out of action for days due to total incompetence on the behalf of Orange/EE support and shop assistants. Firstly no-one on support could figure out why my phone was not receiving ot sending texts and calls. I visited my local store 10 miles away who gave me a replacement simcard. They gave me the wrong one, so I returned today and they pout in the correct one. That was 9 hours ago and still no phone!! Service? Don't make me laugh.

    Hi ,
    How did you request the Sim? All Sim packs EE send should now be multi Sims which include all 3 sizes.
    Thanks
    James

  • Hints how to get a report for "number of active threads over time", e.g.?

    Hi there,
    We drive a number of WLS setups monitored using Grid Control 11g, and due to the usual economic aspects up to four WLS domains on a single system. To track the development of the load for each single domain we would like to have a report for the active threads, CPU e.g.. In the list of the pre-defined reports we can't find anything matching, so any hints for us based on someone's experience?
    TIA
    Oliver

    Hi Oliver,
    I would suggest you to have a look at the below WLST script which would give you the required report of the active threads and it would be send an email too.
    Topic: Sending Email Alert for Threads Pool Health Using WLST
    http://middlewaremagic.com/weblogic/?p=5433
    Topic: Sending Email Alert for Hogger Threads Count Using WLST
    http://middlewaremagic.com/weblogic/?p=5423
    Also you can use the below script in case of the stuck threads, this script would send you an email with the thread dumps during the issue occurred.
    Topic: Sending Email Alert For Stuck Threads With Thread Dumps
    http://middlewaremagic.com/weblogic/?p=5582
    Regards,
    Ravish Mody

  • How can I capture delete user event in Active Directory 2008 using Powershell command

    Hi,
    In my Active Directory every user have own home drive in the file server. When I delete user I also need to delete folder from the server. 
    My target is make the process automated, so that when I delete user account form AD, the folder associate with user also delete.
    Can I write any power shell script to grep the delete event  and remove folder from file server.
    Thanks
    Tamim Khan

    You can setup event viewer to provide alerts (email alerts) for event id 630.
    Find an existing Event ID 630 entry, right click on it and "Attach Task To This Event...."
    Follow the wizard.
    ** Event ID Sample **
    Event ID: 630
    Type: Success Audit
    Description: User Account Deleted:
    Target Account Name: %1 Target Domain: %2
    Target Account ID: %3 Caller User Name: %4
    Caller Domain: %5 Caller Logon ID: %6
    Privileges: %7
    - Chris Ream -
    **Remember, if you find a post that is helpful, or is the answer, please mark it appropriately.**

  • How to create transport request for business function activation?

    Hi Gurús,
    I activated LOG_MM_MAA_1 business function in development (DEV) system:
    Component: SAP_APPL
    Release: 604
    Level: 0006
    SP: SAPKH60406
    I want to transport the activation to quality (QAS) system.
    In SFW5 transaction --> System Settings --> Transport only generated a workbench transport request with "Status Tables Switch Framework Client-Independent" (Object type = SF02, Object = A)
    Is this the only object to transport?
    Is the activation of business function should be direct in QAS system?
    Thank in advance
    Alonso Valenzuela

    > In SFW5 transaction --> System Settings --> Transport only generated a workbench transport request with "Status Tables Switch Framework Client-Independent" (Object type = SF02, Object = A)
    > Is this the only object to transport?
    Yes.
    The "after import" method during the transport will activate the BF as it did in the original system.
    > Is the activation of business function should be direct in QAS system?
    No, transport it.
    Markus

Maybe you are looking for

  • Animated gif and gradient color problem

    Hi there, I have been trying to create animated gif with gradient background. My animation works alright but the problem is that when I preview either in browser or in the preview mode, the gradient doesnt look smooth. I want to know if there is a wa

  • Need help with multiple iTunes files

    i had iTunes songs/files on an old pc for years, backed up on an external hard drive.  i then backed up that external drive with another newer external drive and hooked that newer drive to the mac.  i then imported all songs onto the mac iTunes libra

  • How to find out which was the last Function Fired in a given schema ..?

    Hi All , Suppose there is a function called track_account (Accnt_id, bank_name ...) I have a requirement wherein I need to find out when was the last date when this function was called , by which user and what was the parameter list that was passed .

  • How do I get Verizon to honor the $200 trade-in? (they only gave me $36).

    I'm writing this while on hold for the "Verizon Device Recycling--rippoff--Program".  (877) 835-2024. I've seen on line that many others have had the same problem. I traded in my iphone4 (in great condition), followed all the directions to a T and th

  • Calling a function and passing parameters via Variables

    I've got an XML file that is loading in data and is calling functions. I've figured out how to call the methods from classes with variables set from the XML file: var functionToCall:String = xml.functions.func[0].to_fire.toString(); myClass[functionT