Workflow with Parameters after discard job

Hello,

i use some workflows via links with predefined input parameters e.g
http://server/workflowtest&pm:input1=true&pm:input2=irgendwas&run&single
that works, but:

if the workflow is complete and the user clicks on discard
the workflow jumps to the start. But the parameters get lost, result:
http://server/workflowtest&single
How can I prevent this?
Greetings
Tim

Hi Tim,

what sort of use case do you have in mind?
I think this isn’t possible at the moment. However, you could create a final view that asks the user whether they want to jump back to the start (similar to this example: Blackjack – KNIME Hub)
Using a loop you can then then control how the execution continues.

Would this work in your case?

Kind regards
Marvin

Hello @marvin_kickuth
the back button on the web portal does not work properly. Using the back button will end the complete workflow :frowning:

Hi Tim,

do you happen to have a small example workflow/procedure (with dummy data) that I can test here?
It would help a lot if I can reproduce the error.

Kind regards
Marvin

Hello @marvin_kickuth,

see here…
Loop_Webpportal.knwf (36.5 KB)
Thanks…

Ah…
Turns out we don’t save any intermediate state of loop iterations, i.e. the back button would try to step right outside the loop…
The fastest workaround would be to add some component/WebPortal page in front of the loop, which it can jump back to.
I don’t think there is a nice workaround here, but we have new features almost out that solve this entire problem.

Kind regards
Marvin

Okay,
i’ve added an additional component to configure the parameters.
So i don’t need the loop and direct link anymore until the new features are available.

2 Likes

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