I have 3 workflows
I tried to execute that 3 workflows into 1 workflow by copy pasting 3 separate workflow into 1 but it give me java heap error.
Is there any way to combine those 3 workflows in to 1 workflow so i have to execute only 1 workflow & write it on Sharepoint (Sharepoint part is clear & ready)
AND I also want to Reset POST Request node which is there in those 3 workflows.
Is there any way ?
Here is the screenshot of 1 workflow(I have 3 Workflows like this)
Hi @parita,
you can try to link your subflows in a serial ways with flow variables, in order to prevent parallel execution which is giving you heap error.
It’s not recommended to assign all memory or even close to maximum to KNIME. Don’t know if you are running anything else at the same time so can’t say for sure that 6 GBs will do it but that is what i would try.
Regarding your design if those 3 workflow are working as expected when they are alone I would leave them as is and make one “master” workflow that calls all three of them in succession using Call Workflow (Table Based) node. This is a way to call three workflows using only one. Note that calling workflows need to be saved in state reset. This also deals with reset requirements you have. Give it a try and if any questions feel free to ask.
@ipazin
That is interesting. When I run Knime in Batch Mode and call a workflow which uses a call workflow node and it gets executed, is it also resetted afterwards. So lets say I run the batch again would this fail? Do you know that by any chance?
haven’t used batch mode in a while but if I remember well when calling workflow via batch there are arguments which define in which state workflow will be left. However don’t think this affects workflows being called via Call Workflow nodes. To answer your question don’t think your workflow should fail if you call it again via batch.