The input parameter to pass between 2 maybe bounded task flows a whole list of table or table?

Hello experts, Im a beginner to ADF dev, currently using Jdev / ADF 12 c.

I need to move from a table or list of tables of the values of A bounded task flows to delimited the workflow B. How to do in this case, the use of an input parameter?

I mentioned the following links which have had in the string values as an input parameter, and replaced related fields accordingly with the data type of table list, but it did not work:

http://docs.Oracle.com/CD/E21764_01/Web.1111/b31974/taskflows_parameters.htm#ADFFD1689

https://technology.AMIS.nl/2014/01/21/taskflow-InputParameters-explained/

Oracle JDeveloper 12 c (12.1.2) tutorials - working with stubborn workflows, regions and routers

The requirement of the business is such that I need 2 different workflow, where the workflow B must be in a popup with train component.

I thought of using just a stream unique task bounded with pop-up windows on the pop-up windows... which is less elegant... y at - it smoother workaround?


Thank you very much.

Even though I know this isn't answering your question, let me stress the design element: in the ADF, view objects are intended to replace beans support / managed in ADF in detention is. It is one of the worst confusion with ADF + ADF BC, where people still use accompanying beans on the scope of the session/view/task flow to maintain user state. Instead of this, you must use display objects, the objects in view transition in case the data does not come directly form DB.

To finally answer your question: you can pass any type of objects for workflow settings, just make your parameter of type java.lang.Object. Then you can convert it in turn, in the second task flow.

Tags: Java

Similar Questions

  • SQL * more: how string manipulation on the input parameter?

    Hi people,

    I will be grateful if you could help me create a sql (NOT a bash script!) script that uses a substring of the input parameter to a file name that will be rolled up into stuff.

    example:

    -sample.sql

    which can be used as:

    -$ sqlplus/nolog @sample.sql abcd_efgh

    and the script works similar to the pseudo-code below:

    "...

    file_name = 'test_ ' | substr ("& 1 ', 6)

    name of spool file

    ...

    spool off

    "

    Thank you

    Babak

    Hello

    I found a solution:

    "

    ...

    column new_value filename filename

    Select "test_". filename substr('&1',6)

    Double;

    coil & filename

    ...

    spool off

    ..."

  • Try to get the input parameter of a web service Yanick based on the value of the table

    Hello-

    I am new to ADF and Jdev 11 g (I'm a developer of forms). I had created a web service from a db stored pl/sql package. I can run a function with a parameter of the ADF faces.

    Instead of the input being entrable user parameter, I want to be based on a selected value of ADF table column. How to correlate the value of the selected row in the column as an input function parameter?

    I played with an ADF output text based on the table column ADF PartialTriggers the value set for the ADF... table that updates the output text based on the selected column. Can I use some kind of partial trigger on the input parameter?

    From a point of view of forms, I am looking for ownership of "Copy Item value" :)

    Two options:
    Declarative in tab link, as shown here:
    http://blogs.Oracle.com/Shay/2009/07/java_class_data_control_and_ad.html
    (its a method POJO but should be the same for a Web Service invoke).

    Or via code in your backing bean:
    http://blogs.Oracle.com/Shay/2009/06/setting_parameter_value_for_bi.html

  • Workflow based on the input parameter

    I use JDev 11.1.1.6.

    I have an application that uses a workflow with 'ExecuteWithParams' to get the parameter from a URL and display the records on a page.

    I have it using a Bind Variable on the VO that corresponds to the InputParameter on the control ExecuteWithParams.
    What I would like to make is the flow to another page, depending on the parameter used in the URL.

    Example:

    If param in the URL is '? TEAM = 1 "then I go to the TEAM page and display records for TEAM 1.

    If param in the URL is '? REGION = 3 "then I would go to the REGION page and display records for REGION 3.

    Thank you
    Ray

    This could probably be resolved using a router activity or a custom default activity in the workflow method. Then from the method/router, can easily get to the desired activity of the TF based on an input parameter. For example if the parameter is route 'region' to executeRegionIteratorWithParams, which, in turn, can "go" to view displayRegions activity.

  • How to dynamically change the image depend on the input parameter

    Hi all

    I have a running report depend on the particular organization, I have 15 operating unit and 15 different logo for each operating unit.

    How to change the Logo depend dynamically on the entrance past the user.

    If I have three or four logo I can add to my disposal help if another statement and his works fine but I have more than 10 logos so it was not possible to keep these in my RTF model.

    Is it possible to change the logo according to the entry without keeping this model.

    I saw this link but its not very well

    http://erpschools.com/articles/display-and-change-images-dynamically-in-XML-Publisher

    Concerning
    Srikkanth.M

    Can u send me the files?

  • How to change a region title based on the input parameter?

    Hi all

    I need to change the title of the dynamic region based on the value of a selection list in another region.

    Can someone help me in this?

    Kind regards
    Santini.

    Hello

    You can use & P1_ITEM_NAME. (including the & and the.) the title of region - this string will be replaced by the value of the item page called P1_ITEM_NAME, then change the name according to your order of the day of the page

    Andy

  • Orcle ADF: Background Image of panel group put on the page is not getting displayed in stubborn browser task-flow

    Hello I'm developing a web application using ADF (jdeveloper 11.1.2.4). I have a template that I have panelGroupLayout. I put a background image for the grouplayout. And I created a test.jsf page from this template. When I run this page directly background image is displayed in the browser. I put this page in a stubborn taskflow. My problem is when I execute this page of the stubborn taskflow background image is not displayed.

    Image is displayed for this URL: http://127.0.0.1:7101/EasyRUN-ViewController-context-root/faces/login?_adf.ctrl-state=1px1s1o6o_26

    Image is not posting to this URL: :7101/EasyRUN-ViewController-context-root/faces/admin-flow-definition/homePage?_adf.ctrl-state=1px1s1o6o_29 http://127.0.0.1

    Please help me. Thanks in advance.

    The part of the url of the background image is the problem, probably

    As first of all, try to assign relative to your location of workflow, for example:

    background-image: url("..) ("/ ERUnBPart2.png")

    just to see what happens

  • Bounded task flows with the method call replaces invokeAction

    I use JDeveloper/ADF 12.1.2.

    Case - I have methods in a display object to apply criteria to display.

    I have a (jsf) page with an af:table to display the current contents of the VO.

    I want to use the method to apply one of the two criteria to see if the current user is a federal user, either, if the current user is a State.

    In the past, I would like to add two elements 'invokeAction' to pageDef page, one for each of the methodActions with RefreshCondition set to the Boolean expression that tells to run based on the type of user, it is.

    But invokeAction is obsolete, and we are told to put the page in a stubborn workflow:

    So instead of calling the action, I have a router choose a flow of control, based on the user type and flow by calling the appropriate method.

    It works and it displays the page with the correct view criteria applied.  These and a few flashbacks of workflow are the only things in the workflow - it's whole purpose is to apply the criteria of right view and display the page with the table.

    The problem-

    Af: table has the selection of rows, the value of simple actions and some to navigate to the pages to work with the currently selected line.  If I selects the workflow and "Run" and select a line and navigate - it always shows the first line, regardless of which I selected.  If I navigate back to the workflow and try again, it works fine - line display that I selected.  If I have a page on the unconsolidated parent workflows which only has a button to navigate to the workflow that contains the page with the table and run this page and press the button - it works the first time.

    Can I put a page in the independent workflow that navigates automatically to the flow of tasks without the user to press a button?

    Add the workflow task related to a page as a region of the ADF.

  • Bounded task flows does not appear in the dialog box

    I use JDeveloper 11.1.2.3.

    I have a jsf page, called main.jsf, which has a button that calls a workflow bounded like a dialog box.

    When the homepage is called without the extension of jsf, as https://adf-tmp.xxx.com/receiving/faces/main and the button is clicked, everything works and the stubborn workflow appears as a dialog box.

    But the stubborn workflow does not appear if the homepage is launched with the jsf extension, like https://adf-tmp.xxx.com/receiving/faces/main.jsf.

    When the button is clicked to start the flow of stubborn work, just nothing happens.

    What is the cause of this?

    Thanks in advance.

    Hello

    the reason is that you call the physical page out of context in the workflow. Because the popup is a workflow feature you must ensure that the workflow is referenced, which is not if you call the physical file only (in which case would be sent to the underlying JSf, but not the workflow)

    Frank

  • Excel input parameter graphs not valid?

    Hello

    I'm not very familiar with the intricacies of the report generation using specific Excel screw, so maybe I'm missing a blatant mistake here, but I have three separate graphs that I would add to a single excel file, each on a separate sheet. I can generate the data and record a single chart very well, but for some reason when I have three going at the same time, an error pops up like this (three times)

    I used the run culminating to find when the program stops and it seems to be the first great VI in my Subvi scatterplot, but I do not understand why the input parameter can be invalid when he works with a single chart.

    Looks like my Subvi the cloud of points, and I also included a zip file of my project as a whole.

    Thanks in advance for any help!

    Hello

    I think that the error may be due to the same reference report being used and closed several times. The cloud of points Subvi closed the same reference three times and as a result the main VI. Try to have the subVIs run one after another and close the reference at the end.

  • Input parameters of the task flow and "back" button

    Hello experts. I have two stubborn workflow created by page; say they are TF1 and TF2. Each workflow task has their own controlled beans. These controlled beans are kept in the Page flow scope. The two task-flow has their own of initializers.

    By an action on TF1, I redirect to the TF2. During this redirection, I pass some parameters. After redirection when it enters the TF2, I extract the parameters programmatically. Now I'm back on TF1 and TF2 of TF1, I'm clicking on the back button of the browser. Note that I put anything if the re-entry allowed or not in TF2. After clicking the browser back button access me for the new TF2. TF2 called if I generate any action of the initializer. BUT now I can not get the input parameter values more. All values in the set of input null parameter.

    My question is:

    • Why have defined null values?
    • How can I make persistent values?

    Any pointer would be very useful.

    I use JDeveloper 11.1.1.6.0, WebLogic 10.3.5.

    Thanks in advance.

    Tapas

    There is a way. Click on "back" button is not invoke the lifecycle JSF and browser displays the previous pages in its cache. If somehow, I can say browser not to cache the page, then every time a click the back or next button, the browser would GET the page headed from the server, which would eventually be my.

    So I added a filter to achieve this:

    public class NoCacheFilter implements Filter {
        @SuppressWarnings("unused")
      private FilterConfig _filterConfig = null;
    
        public void init(FilterConfig filterConfig) throws ServletException {
            _filterConfig = filterConfig;
        }
    
        public void destroy() {
            _filterConfig = null;
        }
    
        public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
            HttpServletResponse servletResponse = (HttpServletResponse) response;
            servletResponse.setHeader("Cache-Control","no-cache, no-store, must-revalidate, private, max-stale=0, post-check=0, pre-check=0");
            servletResponse.setHeader("Pragma", "no-cache");
            servletResponse.setHeader("Expires", "Sun, 16 Dec 1984 07:48:00 GMT");
            chain.doFilter(request, response);
        }
    }
    

    Note that I have to specify browser to cache resources, I do R & D to change this filter.

    It works. Hope, now I can spend my weekend peacefully :-).

    Ref:

    Tapas

  • set the input value using a workflow setting?

    Jdev 11... 2
    I have a taskflow browse master / detail that called the edict taskflow passing parameters to a router that will either modify it or create method for the detail record (change/create master is in a different position). I can successfully modify/create the main form and I can change/create the detailed form, but I didn't understand how to set the input value for the agency_Id (of the master) in detail. I control data binding to create my detail record 'create', and I have a task flow parameter that has the agency_id I want as the default value in the detail. I don't know where to put the input value. I tried to add another method to the method call that has her 'create' binding for retail, but it seems that I can have only a single method. Do I need another method call to set it? Or should I do something programmatically? (I'm Javaless, so hopefully I can do declaratively).

    Thanks much for any help. If I can figure out how to make this piece, I'll have the beginning of an application that does something useful.

    LB

    Hello

    There is a new Createmethos called 'create with Params' that you can use for this.

    http://www.Oracle.com/technology/products/jdev/tips/fnimphius/createWithParameters/createWithParameters.html

    Simply plug the parameter to the variable of pageFlowScope containing the input parameter

    Frank

  • How to use the input as VC Atttibutes string?

    Hello everyone,

    I'm discovering VCO. And I need your help.

    How can I use input string as a VC attributes at the end? Then, use this return as input for another workflow.

    The workflow that I am putting in place is:

    1-name of the VM to search in vCenter: input String (example: 'TOTO')

    2-search 'TOTO' virtual machine in the vCenter, if found then

    3 - use this result to clone a VM TOTO

    For stage 1 and 2, it works, I can search based on the input of the chain and get a result.

    But for step 3, I use another workflow 'Create virtual machine' and we must put a VC:VirtualMachine.

    And it does not work because the type I get to step 2 is not compatible with the entry for step 3.

    Progressive input signal 3 waiting for VC:VirtualMachine

    And the output of step 2 is the table / VC:VirtualMachine.

    I tried to change the input type for step 3 as table / VC:VirtualMachine.

    Whenever I got the error message:

    TypeError: Cannot find the cloneVM_Task function in the DynamicWrapper (Instance) subject: [VcVirtualMachine]-[class com.vmware.vmo.plugin.vi4.model.VimVirtualMachine] - VALUE: VirtualMachine, vm-907 > "LYNC01." (Name of the dynamic Script Module: cloneVM_1 #13)

    I don't want the workflow using the VC search plugin, but I need to set the input parameter.

    If someone has an idea.

    Thank you all.

    Keep the entry for step 3 as VcVirtualmachine (only one), but add an extra step:

    2.5: get the first (or last, should not question: I hope that you will find only one :-)) table.)

    You can do it in Javascript, using the method. pop() from an array.

    var sourceVM = foundVMs.pop () / / sourceVM is of type VcVirtualMachine, foundVMs table/VcVirtualMachine

    See you soon,.

    Joerg

  • dropdown custom as an input parameter

    So I asked a number of questions today. Always be up to speed on vCO.

    The workflow I created links in a PowerShell module that I wrote that tell a restAPI.

    The client provides an Vc:VirtualMachine object and am now able to collect the name of the Cluster, vcenter hostname of the virtual machine.

    I want to do is provide a drop down menu like input parameter with custom selections I can provide in the form of text.

    Is this something I can do easily or should I link to something? Is there a tutorial on this operation? I'm sure this question has been asked before.

    Thank you very much! great community!

    I think that I thought about it.

    the input parameter must be of type String.

    the presentation will be a predefined list of answers which will be an array.

    Thanks again!

  • Get the workflow parameter value before the end of the SOAP client workflow execution

    I'm calling webservices SOAP Orchestrator of my request to run a workflow. I want to get a parameter/attribute value before execution of the workflow.

    Brief:

    I have a XYZ workflow that adds two numbers provided by my application. After that my workflow perform some other features that say 5 minutes.

    My application is the result of the addition from the addition is performed. I don't want to wait for these 5 minutes to finish after what my worlkflow is finished and then obtain the result.

    Hello DeepakPN - first of all, if you use vCO 5.x, we strongly recommend to use the api instead of the old api SOAP REST.

    Now, to answer your question:

    When you run a workflow, the returned soap body includes a return workflow id: this is your workflow token id - essentially the Runspace of your workflow. He looks a bit like this:

    
       
          
             
                ff80808141e74b090141f05c5d2c00f7
    

    There are several additional lines less than retail, but I left it as an important component of the info here is this tag . The value that it contained should be used with the operation "getWorkflowTokenForId". By providing this ID and your credentials, the resulting SOAP body will contain details of your performance at the time of your request. So, if you have your amount stored as an attribute at the time that you run the query, you will see the results. For my simple test, here is my operation "getWorkflowTokenForId" for a test flow that I came through SOAP:

    
       
          
             
                ff80808141e74b090141f05c5d2c00f7
                Any Test
                1a568e2e-5c15-4b68-9bab-20cb955f0004
                item0
                completed
                completed
                
                20131025120447-0400
                20131025120447-0400
                
    
    
    >
    >
    
    
    
    ]]>
             
          
       
    
    

    Inside the tag, there is a tag that contains each of my entries/attributes. In the code above, 'anyInput' is the input parameter for my workflow and of the "inputTypeName" as an attribute.

    Hope this helps

Maybe you are looking for