Knime Pro: testing data app (Help)

I am running tests on Knime Pro, and I am deploying to the Business Hub and facing some problems.
I would like some help.

  1. I created this workflow with two components
    image

  2. In my components, I used widgets

  3. Outside the workflow, I can see the widgets for selection

  4. The second widget has only a Datapp flowchart
    image

  5. I have upload to Knime Hub
    image

  6. I have created a version
    image

  7. I have created a Deploy Datapp
    image

  8. I run the data app

Problem

  1. Why Data app doesn’t show the fields for selection?
    The result only shows Finished but not selection options
    What am I doing wrong?
    I need to refresh the table to make data appears

I also need to make some improvements, and I need help:
Here is my current workflow process:

  1. In my workflow, I place multiple files into a “data” folder, which is located inside the main workflow directory.
  2. I then read and consolidate the information from these files.
  3. The final result of the entire workflow is saving the output files to an “Output” folder.

The writer node is currently configured to save inside the same “data” folder within the workflow.

I have a couple of questions:

  1. In the Business Hub, how can I allow a user to upload multiple files for the process to run, and then allow them to download the multiple resulting output files?

Could someone point me to an example of a Data App workflow that has these features of

  1. Upload multiples files and:
  2. download the results of multiple files because my workflows is in a loop, and each loop saves 1 file e write in a folder, but how to doit in data app (maybe in a Local folder)

So I can study and even copy it…

I have split into 3 component. But same issue.
image

When I upload the workflow to business Hub, with my workflow already completed (all green) and then, RUN from Business Hub, I get the result as FINISHED.

But I need the option of each step from components

I’m Lost :sweat_smile:

  1. (I downloaded some examples from Knime node hub and it just work fine “Data App - Guess the Flag Game”)

  2. (I downloaded some examples from Knime node hub and it just work fine “Purchasing and Supplier Audit”) with option to download file, but only 1 file.

@MartinDDDD
Do you have experience with business hub? to help me…
I can send my workflow to you.

In fact?
How I can send private message, like you did with me another day?

I performed a test by excluding the subsequent components and keeping only the first one to be more simple, which has only a Data app flow chart and a file upload.
image

Old workflow
image

image

Inside component

New workflow upload

The result is no data app selection

1 Like

Hey there,

you are in luck - I am fiddling around with data apps on the hub right now as well.

So I take that you click the “Run” Button" to run your data app - this triggers an ad-hoc run and is the easiest way to test your apps:

Once you click the yellow run button in the panel that opens on the right hand side your Executor will spin up (may take a while) and you see this sort of loading view on the right:

At some stage, and this is easy to miss, a green message box pops up in the bottom left with a link to “Open”. However if you are not quick enough it disappears. If you are quick enough then your data app should open in a new tab:

If you miss that then there is another way to open it.
Scroll down a little bit to the section that lists your ad hoc jobs. Identify the job you just started by timestamp (Created at) or State (likely will be paused if you App waits for user input) and then click on the three dots on the right and then Open:

Once you are done with testing you may want to deploy your app and share it with others - high level steps:

  • click on the Version Button and then Create a Version
  • Then click on Deploy button and select data app
  • If you then scroll down, below the ad hoc jobs section should be a deployment section listing your data app. Click the three dots and then Manage Access to share with other Hub users.
  • Whoever you share it with, including yourself, should have a Data Apps Portal Link in their knime hub main page where you can run the app from:
2 Likes

and one more thing - pretty sure that the Data App Header will look pretty different on Hub then it does on your Desktop unless they have changed the sanitisation topic on the hub… or updated the Shared Components.

If that is not the case you may want to try this :>

3 Likes

Hi Martin

The problem is my workflow doesn’t show the Data app features

Result

Can I sent my workflow?

I’m all day with this.

Hi @Felipereis50 did you reset your workflow before upload?

Dataapps can be saved preexecuted and than only start from the non executed node

Hi Iris.

Yes. but I get error

I could send my workflow to you on private.

I’m doing another test, trying to understand what the “start” is for the Data App to work.

Look at this analysis:

  1. This is a workflow created by the Knime Developers team, available for download.
    You can see that the workflow is complete, and when I upload it to the Knime hub, it works normally.

  2. Since the workflow has 4 steps in the flowchart journey, I decided to keep only the first step of the journey.
    I deleted all 2, 3 and 4.

My objective at this point is to check if the Data App will only show this page to find out if my workflow has any problems in its journey.

  1. When I did the Deploy and then RUN, the result was unexpected.
    No journey steps appeared.

Resulting directly in “finished”.

This left me with even more doubts. :hot_face:

:thinking:What is the explanation for the Steps to appear in the DataApp, given that all the stages are correct but missing 2, 3 ,4?
It’s as if a specific node that would give the start.

It makes no sense at all so far.

Original Knime workflow:

Data App - Guess the Flag Game_One Step.knwf (3.6 MB)

@Iris

Did you reset+save the workflow with the single step before upload?

I did it

Data app is working

Yes

  1. I have to upload with all reset
  2. When versioning, "I kept forgetting to update the Deployment version.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.