-
Notifications
You must be signed in to change notification settings - Fork 434
Description
Apache Hop version?
2.6, 2.7, 2.8
Java version?
openjdk version "17.0.8" 2023-07-18
Operating system
Windows
What happened?
The import process for PDI does not set the run configuration for workflow tasks in a workflow.
When running an imported workflow with workflow actions an error occurs at each workflow action, because the line "<run_configuration>local</run_configuration>" is missing in the task. It gives the following error:
- ERROR: Error running action 'workflow' :
- ERROR: org.apache.hop.core.exception.HopException:
- You need to specify a workflow run configuration to execute this workflow
-
- at org.apache.hop.workflow.engine.WorkflowEngineFactory.createWorkflowEngine(WorkflowEngineFactory.java:43)
- at org.apache.hop.workflow.actions.workflow.ActionWorkflow.execute(ActionWorkflow.java:445)
- at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:655)
- at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:798)
- at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:798)
- at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:798)
- at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:798)
- at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:456)
- at org.apache.hop.workflow.Workflow.startExecution(Workflow.java:300)
- at org.apache.hop.workflow.engines.local.LocalWorkflowEngine.startExecution(LocalWorkflowEngine.java:249)
- at org.apache.hop.ui.hopgui.file.workflow.HopGuiWorkflowGraph.lambda$start$9(HopGuiWorkflowGraph.java:3683)
- at java.base/java.lang.Thread.run(Thread.java:833)
Right now, you have to edit each task and close it with OK to truly set the run configuration for the task.
Issue Priority
Priority: 3
Issue Component
Component: Import