Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Data Migrator -- When I Run a Data Flow, Parameters, When I Run a Process Flow, None!

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Data Migrator -- When I Run a Data Flow, Parameters, When I Run a Process Flow, None!
 Login/Join
 
Virtuoso
posted
Hey! I have data flows that require parameters. When I run them from the Data Migrator tool I get prompted for the parameters, I enter them and I'm off to the races.

Now I have those data flows in a process flow, and all I get is an error. Is there a way to have the process flow prompt me for a parameter the way a data flow does?

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Platinum Member
posted Hide Post
I have a hunch but first, a question. There are different ways to run something - RUN and RUN WITH OPTIONS. When you run just the Data Flow, how do you do it? When you run the Process Flow, how do you do it?


Data Migrator 5.3, 7.1, 7.6
WebFOCUS 7.1, 7.6, 7.7
SQL Server, Oracle, DB2
Windows
 
Posts: 126 | Registered: January 18, 2007Report This Post
<edadhc>
posted
Hi John. First try creating a new process flow. In the process flow, drag your data flows that use the local variables to pass parameters to the right of the Start object.
Individually, double-click on each of the data flows and you should be prompted with Procedure Properties window. Enter the appropriate parameter name and value. For example:

PROD_CATEGORY = DVD
ORDER_DATE = 2009/02/03

Note, if you enter the in values manually, no quotes are required and the date must be entered in the format used in the where condition. Multiple parameters can be separated by commas. ‘Execute as RPC’ is not required, however, if you check ‘Execute as RPC’, the code shows EX flow name and keeps the same agent open for processing.

Click Ok, Save, and Run the flow. Hope this helps.
 
Report This Post
Virtuoso
posted Hide Post
No no -- I want the flow to prompt the end-user for a parameter every time they run the flow. A static value serves no purpose.

Ms. Bottone, I'm using the "run" button on both in the Migrator tool, but the Run With Options does not prompt me either at the console.

My goal is to have the end-user drop their file in place and then go to the console and run the flow from there. I'm curious to know if there is a "Prompt for Parameters" feature that would make it ask the user for input.

I may need to build a front-end for it. So much for that clean look.

J.

This message has been edited. Last edited by: John_Edwards,



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Platinum Member
posted Hide Post
I had a feeling that's what you were doing. When you chose "RUN", I look at that as like running "interactively", which is why when you run the data flow alone, you get prompted. But when you do a "RUN" on the process flow, that is the only part that is interactive. The data flow is run within the process flow, kind of like running batch, or deferred. In the releases I've worked with, I've not seen any feature that will prompt for objects running in "batch", or to tell the process flow to also view the data flows as being interactive as well.

The only other solution I can think of at the moment (besides building a front end) is when the user drops their file into place, they could drop a second file that contains the parameters. You could then build a stored procedure with -READ statements against that second file to get your parameters, and place that stored procedure to run before your data flow. To be safe, I would make the parameters global variables.

If Clif is monitoring this forum, maybe he'll have another solution.


Data Migrator 5.3, 7.1, 7.6
WebFOCUS 7.1, 7.6, 7.7
SQL Server, Oracle, DB2
Windows
 
Posts: 126 | Registered: January 18, 2007Report This Post
<edadhc>
posted
Hi. Try taking the parameter condition from data flow and tie it with another parameter in the process flow. For instance, let’s say in the data flow, you filter with condition:

T1.NAME=‘&ID’

In you process flow, under parameters, type in:

ID=&IDD

Now try ‘Test Run’ and you should be prompted with window asking for value for the whatever variable you set it to, in my example, it would be ‘IDD’

Note: It will not work with just ‘Run’ as it would submit to another agent. This is addressed in 77 release.
 
Report This Post
Virtuoso
posted Hide Post
I cannot find a place in the process flow to add parameters. Can you point me to the right place?

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
<edadhc>
posted
In the process flow, double click on the data flow object or right-click and select properties. Procedure properties window should prompt.
 
Report This Post
Virtuoso
posted Hide Post
The heart of the original question is that the parameters in the data flow are not passing through the process flow. I don't need to hard-code parameters into a data flow, I need the process flow that contains it to prompt the end-user for a parameter.

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Silver Member
posted Hide Post
I try to put the screen-shot here to illustrate.

I hope it works.
 
Posts: 37 | Registered: February 13, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Data Migrator -- When I Run a Data Flow, Parameters, When I Run a Process Flow, None!

Copyright © 1996-2020 Information Builders