This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new 7deab6efe9 Default named-resource folder variables to the local folder 
on remote export, fixes #7209
7deab6efe9 is described below

commit 7deab6efe902b1e6e0cef0caaee1120ca79985eb
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Fri Jul 10 15:45:31 2026 +0200

    Default named-resource folder variables to the local folder on remote 
export, fixes #7209
---
 .../java/org/apache/hop/resource/ResourceUtil.java | 103 ++++++++++----
 .../org/apache/hop/resource/ResourceUtilTest.java  | 105 ++++++++++++++
 .../hop_server/0007-verify-exported-resource.hwf   | 136 +++++++++++++++++++
 .../hop_server/0007-write-exported-resource.hpl    | 151 +++++++++++++++++++++
 .../main-0007-test-exported-resource-datapath.hwf  |  97 +++++++++++++
 5 files changed, 564 insertions(+), 28 deletions(-)

diff --git a/engine/src/main/java/org/apache/hop/resource/ResourceUtil.java 
b/engine/src/main/java/org/apache/hop/resource/ResourceUtil.java
index 1ac7348b87..4ebcf36bae 100644
--- a/engine/src/main/java/org/apache/hop/resource/ResourceUtil.java
+++ b/engine/src/main/java/org/apache/hop/resource/ResourceUtil.java
@@ -25,6 +25,7 @@ import java.util.zip.ZipEntry;
 import java.util.zip.ZipOutputStream;
 import org.apache.commons.lang3.StringUtils;
 import org.apache.commons.vfs2.FileObject;
+import org.apache.commons.vfs2.FileSystemException;
 import org.apache.hop.core.Const;
 import org.apache.hop.core.exception.HopException;
 import org.apache.hop.core.metadata.SerializableMetadataProvider;
@@ -91,34 +92,16 @@ public class ResourceUtil {
         // See if we need to rename named resource folders...
         // We have a list of these in the naming interface
         //
-        Map<String, String> dirMap = namingInterface.getDirectoryMap();
-        if (StringUtils.isNotEmpty(sourceResourceFolderMapping)
-            && StringUtils.isNotEmpty(targetResourceFolderMapping)) {
-          FileObject sourceReference =
-              
HopVfs.getFileObject(variables.resolve(sourceResourceFolderMapping));
-
-          for (String sourceDirectory : dirMap.keySet()) {
-            // Calculate the relative path compared to the source resource 
folder
-            // From: ${PROJECT_HOME}/files
-            // To:   files
-            //
-            FileObject source = 
HopVfs.getFileObject(variables.resolve(sourceDirectory));
-            String relativePath = 
sourceReference.getName().getRelativeName(source.getName());
-
-            // So now simply add the relative path to the target folder
-            //
-            String targetDirectory = targetResourceFolderMapping;
-            if (!targetDirectory.endsWith("/")) {
-              targetDirectory += "/";
-            }
-            targetDirectory += relativePath;
-            String parameter = dirMap.get(sourceDirectory);
-
-            // Set the resulting variable in the variables map of the 
execution configuration
-            //
-            variablesMap.put(parameter, targetDirectory);
-          }
-        }
+        // Give every generated folder variable (DATA_PATH_1, ...) a value in 
the execution
+        // configuration. Otherwise the rewritten filenames 
(${DATA_PATH_1}/file.txt) stay
+        // unresolved on the remote server (see #7209).
+        //
+        assignNamedResourceDirectoryVariables(
+            variables,
+            namingInterface.getDirectoryMap(),
+            sourceResourceFolderMapping,
+            targetResourceFolderMapping,
+            variablesMap);
 
         // In case we want to add an extra pay-load to the exported ZIP file.
         // We add an extra file definition which gets picked up below and 
zipped up.
@@ -196,6 +179,70 @@ public class ResourceUtil {
     }
   }
 
+  /**
+   * Assign a value to every generated named-resource folder variable (e.g. 
{@code DATA_PATH_1})
+   * that was created while renaming referenced files during a resource export.
+   *
+   * <p>When both a source and target resource folder are configured, the 
referenced folders are
+   * mapped from the source folder onto the target folder on the server (e.g. 
{@code
+   * ${PROJECT_HOME}/files} becomes {@code <target>/files}). Otherwise each 
variable defaults to the
+   * same folder as on the executing (local) machine, so the rewritten {@code 
${DATA_PATH_n}/file}
+   * references still resolve. Leaving these variables unset resulted in 
unresolved {@code
+   * ${DATA_PATH_n}} paths on remote Hop servers (#7209).
+   *
+   * @param variables the variable space used to resolve folders
+   * @param directoryMap map of referenced source folder to generated variable 
name
+   * @param sourceResourceFolderMapping optional source folder to map from 
(e.g. ${PROJECT_HOME})
+   * @param targetResourceFolderMapping optional target folder on the server 
(e.g. /server/)
+   * @param variablesMap the execution configuration variables map to populate
+   */
+  static void assignNamedResourceDirectoryVariables(
+      IVariables variables,
+      Map<String, String> directoryMap,
+      String sourceResourceFolderMapping,
+      String targetResourceFolderMapping,
+      Map<String, String> variablesMap)
+      throws HopException, FileSystemException {
+
+    boolean mapToTargetFolder =
+        StringUtils.isNotEmpty(sourceResourceFolderMapping)
+            && StringUtils.isNotEmpty(targetResourceFolderMapping);
+
+    FileObject sourceReference = null;
+    if (mapToTargetFolder) {
+      sourceReference = 
HopVfs.getFileObject(variables.resolve(sourceResourceFolderMapping));
+    }
+
+    for (Map.Entry<String, String> entry : directoryMap.entrySet()) {
+      String sourceDirectory = entry.getKey();
+      String parameter = entry.getValue();
+      String targetDirectory;
+
+      if (mapToTargetFolder) {
+        // Calculate the relative path compared to the source resource folder 
and add it to the
+        // target folder.
+        // From: ${PROJECT_HOME}/files
+        // To:   <target folder>/files
+        //
+        FileObject source = 
HopVfs.getFileObject(variables.resolve(sourceDirectory));
+        String relativePath = 
sourceReference.getName().getRelativeName(source.getName());
+        targetDirectory = targetResourceFolderMapping;
+        if (!targetDirectory.endsWith("/")) {
+          targetDirectory += "/";
+        }
+        targetDirectory += relativePath;
+      } else {
+        // Default: use the same folder as on the executing (local) machine.
+        //
+        targetDirectory = variables.resolve(sourceDirectory);
+      }
+
+      // Set the resulting variable in the variables map of the execution 
configuration
+      //
+      variablesMap.put(parameter, targetDirectory);
+    }
+  }
+
   public static String getExplanation(
       String zipFilename, String launchFile, IResourceExport 
resourceExportInterface) {
 
diff --git a/engine/src/test/java/org/apache/hop/resource/ResourceUtilTest.java 
b/engine/src/test/java/org/apache/hop/resource/ResourceUtilTest.java
new file mode 100644
index 0000000000..2fda07a130
--- /dev/null
+++ b/engine/src/test/java/org/apache/hop/resource/ResourceUtilTest.java
@@ -0,0 +1,105 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hop.resource;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import org.apache.hop.core.variables.IVariables;
+import org.apache.hop.core.variables.Variables;
+import org.junit.jupiter.api.Test;
+
+/**
+ * Tests for {@link ResourceUtil#assignNamedResourceDirectoryVariables}, the 
resolution of the
+ * generated named-resource folder variables (DATA_PATH_n) that are created 
when a pipeline is
+ * exported for remote execution. See issue #7209.
+ */
+class ResourceUtilTest {
+
+  /**
+   * Without a source/target folder mapping, every generated variable must 
default to the same
+   * (resolved) folder as on the local machine. Leaving it unset caused 
unresolved
+   * ${DATA_PATH_n}/file paths on the remote server (#7209).
+   */
+  @Test
+  void defaultsToLocalFolderWhenNoMapping() throws Exception {
+    IVariables variables = new Variables();
+    Map<String, String> directoryMap = new LinkedHashMap<>();
+    directoryMap.put("file:///data/in", "DATA_PATH_1");
+    Map<String, String> variablesMap = new java.util.HashMap<>();
+
+    ResourceUtil.assignNamedResourceDirectoryVariables(
+        variables, directoryMap, null, null, variablesMap);
+
+    assertEquals("file:///data/in", variablesMap.get("DATA_PATH_1"));
+  }
+
+  /** In the default case the referenced folder is resolved, including 
${PROJECT_HOME}. */
+  @Test
+  void defaultResolvesProjectHomeVariable() throws Exception {
+    IVariables variables = new Variables();
+    variables.setVariable("PROJECT_HOME", "file:///home/user/project");
+
+    Map<String, String> directoryMap = new LinkedHashMap<>();
+    directoryMap.put("${PROJECT_HOME}/files", "DATA_PATH_1");
+    Map<String, String> variablesMap = new java.util.HashMap<>();
+
+    ResourceUtil.assignNamedResourceDirectoryVariables(
+        variables, directoryMap, null, null, variablesMap);
+
+    assertEquals("file:///home/user/project/files", 
variablesMap.get("DATA_PATH_1"));
+  }
+
+  /** Every generated folder variable gets a value, not just the first one. */
+  @Test
+  void defaultAssignsAllGeneratedVariables() throws Exception {
+    IVariables variables = new Variables();
+    variables.setVariable("PROJECT_HOME", "file:///home/user/project");
+
+    Map<String, String> directoryMap = new LinkedHashMap<>();
+    directoryMap.put("${PROJECT_HOME}/in", "DATA_PATH_1");
+    directoryMap.put("file:///absolute/out", "DATA_PATH_2");
+    Map<String, String> variablesMap = new java.util.HashMap<>();
+
+    ResourceUtil.assignNamedResourceDirectoryVariables(
+        variables, directoryMap, null, null, variablesMap);
+
+    assertEquals("file:///home/user/project/in", 
variablesMap.get("DATA_PATH_1"));
+    assertEquals("file:///absolute/out", variablesMap.get("DATA_PATH_2"));
+  }
+
+  /**
+   * With a source (${PROJECT_HOME}) and target (/server) folder configured, 
the referenced folder
+   * is mapped relative to the source folder onto the target folder on the 
server.
+   */
+  @Test
+  void mapsProjectHomeSourceFolderOntoTargetFolder() throws Exception {
+    IVariables variables = new Variables();
+    variables.setVariable("PROJECT_HOME", "file:///home/user/project");
+
+    Map<String, String> directoryMap = new LinkedHashMap<>();
+    directoryMap.put("${PROJECT_HOME}/files", "DATA_PATH_1");
+    Map<String, String> variablesMap = new java.util.HashMap<>();
+
+    ResourceUtil.assignNamedResourceDirectoryVariables(
+        variables, directoryMap, "${PROJECT_HOME}", "/server/", variablesMap);
+
+    assertEquals("/server/files", variablesMap.get("DATA_PATH_1"));
+  }
+}
diff --git a/integration-tests/hop_server/0007-verify-exported-resource.hwf 
b/integration-tests/hop_server/0007-verify-exported-resource.hwf
new file mode 100644
index 0000000000..d0878f3e2f
--- /dev/null
+++ b/integration-tests/hop_server/0007-verify-exported-resource.hwf
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<workflow>
+  <name>0007-verify-exported-resource</name>
+  <name_sync_with_filename>Y</name_sync_with_filename>
+  <description>Runs entirely on the remote Hop Server (it is shipped there by 
the "remote" run
+    configuration of the parent workflow). It writes a file through a pipeline 
whose output path is
+    rewritten to ${DATA_PATH_1}/... during the resource export, then checks - 
on the same server -
+    that the file really landed at the ${PROJECT_HOME}-relative path it was 
supposed to. The
+    FILE_EXISTS check references a file that does not exist yet at export 
time, so (unlike the
+    pipeline output) its path is NOT rewritten to ${DATA_PATH_1}; it keeps the 
original
+    ${PROJECT_HOME} reference. That makes it an independent witness of correct 
DATA_PATH_1
+    resolution: before the fix for #7209 / #4161 the two paths diverged and 
this check failed.</description>
+  <extended_description/>
+  <workflow_version/>
+  <created_user>-</created_user>
+  <created_date>2024/01/01 00:00:00.000</created_date>
+  <modified_user>-</modified_user>
+  <modified_date>2024/01/01 00:00:00.000</modified_date>
+  <parameters>
+    </parameters>
+  <actions>
+    <action>
+      <name>Start</name>
+      <description/>
+      <type>SPECIAL</type>
+      <attributes/>
+      <DayOfMonth>1</DayOfMonth>
+      <hour>12</hour>
+      <intervalMinutes>60</intervalMinutes>
+      <intervalSeconds>0</intervalSeconds>
+      <minutes>0</minutes>
+      <repeat>N</repeat>
+      <schedulerType>0</schedulerType>
+      <weekDay>1</weekDay>
+      <parallel>N</parallel>
+      <xloc>50</xloc>
+      <yloc>50</yloc>
+      <attributes_hac/>
+    </action>
+    <action>
+      <name>Cleanup expected path</name>
+      <description>Remove any file left at the expected path by a previous run 
so the check below can
+        only succeed on a file the pipeline writes now. This reference does 
not exist at export time
+        so it keeps its ${PROJECT_HOME} value (it is not rewritten to 
${DATA_PATH_1}).</description>
+      <type>DELETE_FILE</type>
+      <attributes/>
+      <filename>${PROJECT_HOME}/output-0007/exported-resource.txt</filename>
+      <fail_if_file_not_exists>N</fail_if_file_not_exists>
+      <parallel>N</parallel>
+      <xloc>150</xloc>
+      <yloc>50</yloc>
+      <attributes_hac/>
+    </action>
+    <action>
+      <name>Write exported resource</name>
+      <description/>
+      <type>PIPELINE</type>
+      <attributes/>
+      <filename>${PROJECT_HOME}/0007-write-exported-resource.hpl</filename>
+      <params_from_previous>N</params_from_previous>
+      <exec_per_row>N</exec_per_row>
+      <set_logfile>N</set_logfile>
+      <logfile/>
+      <logext/>
+      <add_date>N</add_date>
+      <add_time>N</add_time>
+      <loglevel>Basic</loglevel>
+      <run_configuration>local</run_configuration>
+      <wait_until_finished>Y</wait_until_finished>
+      <create_parent_folder>N</create_parent_folder>
+      <parameters>
+        <pass_all_parameters>Y</pass_all_parameters>
+      </parameters>
+      <set_append_logfile>N</set_append_logfile>
+      <parallel>N</parallel>
+      <xloc>224</xloc>
+      <yloc>50</yloc>
+      <attributes_hac/>
+    </action>
+    <action>
+      <name>Verify file written to expected path</name>
+      <description/>
+      <type>FILE_EXISTS</type>
+      <attributes/>
+      <filename>${PROJECT_HOME}/output-0007/exported-resource.txt</filename>
+      <parallel>N</parallel>
+      <xloc>400</xloc>
+      <yloc>50</yloc>
+      <attributes_hac/>
+    </action>
+  </actions>
+  <hops>
+    <hop>
+      <from>Start</from>
+      <to>Cleanup expected path</to>
+      <enabled>Y</enabled>
+      <evaluation>Y</evaluation>
+      <unconditional>Y</unconditional>
+    </hop>
+    <hop>
+      <from>Cleanup expected path</from>
+      <to>Write exported resource</to>
+      <enabled>Y</enabled>
+      <evaluation>Y</evaluation>
+      <unconditional>Y</unconditional>
+    </hop>
+    <hop>
+      <from>Write exported resource</from>
+      <to>Verify file written to expected path</to>
+      <enabled>Y</enabled>
+      <evaluation>Y</evaluation>
+      <unconditional>N</unconditional>
+    </hop>
+  </hops>
+  <notepads>
+  </notepads>
+  <attributes/>
+</workflow>
diff --git a/integration-tests/hop_server/0007-write-exported-resource.hpl 
b/integration-tests/hop_server/0007-write-exported-resource.hpl
new file mode 100644
index 0000000000..5cd7a45e71
--- /dev/null
+++ b/integration-tests/hop_server/0007-write-exported-resource.hpl
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<pipeline>
+  <info>
+    <name>0007-write-exported-resource</name>
+    <name_sync_with_filename>Y</name_sync_with_filename>
+    <description>Writes a file to a ${PROJECT_HOME}-relative path. When run 
remotely with exported
+      resources, the filename is rewritten to ${DATA_PATH_1}/... during the 
export; this test
+      verifies that variable resolves on the server (issue 
#7209).</description>
+    <extended_description/>
+    <pipeline_version/>
+    <pipeline_type>Normal</pipeline_type>
+    <parameters>
+    </parameters>
+    <capture_transform_performance>N</capture_transform_performance>
+    
<transform_performance_capturing_delay>1000</transform_performance_capturing_delay>
+    
<transform_performance_capturing_size_limit>100</transform_performance_capturing_size_limit>
+    <created_user>-</created_user>
+    <created_date>2024/01/01 00:00:00.000</created_date>
+    <modified_user>-</modified_user>
+    <modified_date>2024/01/01 00:00:00.000</modified_date>
+    <key_for_session_key/>
+    <is_key_private>N</is_key_private>
+  </info>
+  <notepads>
+  </notepads>
+  <order>
+    <hop>
+      <from>Generate rows</from>
+      <to>Write exported resource</to>
+      <enabled>Y</enabled>
+    </hop>
+  </order>
+  <transform>
+    <name>Generate rows</name>
+    <type>RowGenerator</type>
+    <description/>
+    <distribute>Y</distribute>
+    <custom_distribution/>
+    <copies>1</copies>
+    <partitioning>
+      <method>none</method>
+      <schema_name/>
+    </partitioning>
+    <fields>
+      <field>
+        <name>message</name>
+        <type>String</type>
+        <format/>
+        <currency/>
+        <decimal/>
+        <group/>
+        <nullif>exported-resource-7209</nullif>
+        <length>-1</length>
+        <precision>-1</precision>
+        <set_empty_string>N</set_empty_string>
+      </field>
+    </fields>
+    <limit>1</limit>
+    <never_ending>N</never_ending>
+    <interval_in_ms>5000</interval_in_ms>
+    <row_time_field>now</row_time_field>
+    <last_time_field>FiveSecondsAgo</last_time_field>
+    <attributes/>
+    <GUI>
+      <xloc>144</xloc>
+      <yloc>96</yloc>
+    </GUI>
+  </transform>
+  <transform>
+    <name>Write exported resource</name>
+    <type>TextFileOutput</type>
+    <description/>
+    <distribute>Y</distribute>
+    <custom_distribution/>
+    <copies>1</copies>
+    <partitioning>
+      <method>none</method>
+      <schema_name/>
+    </partitioning>
+    <separator>;</separator>
+    <enclosure>"</enclosure>
+    <enclosure_forced>N</enclosure_forced>
+    <enclosure_fix_disabled>N</enclosure_fix_disabled>
+    <header>Y</header>
+    <footer>N</footer>
+    <format>DOS</format>
+    <compression>None</compression>
+    <encoding>UTF-8</encoding>
+    <endedLine/>
+    <fileNameInField>N</fileNameInField>
+    <fileNameField/>
+    <create_parent_folder>Y</create_parent_folder>
+    <file>
+      <name>${PROJECT_HOME}/output-0007/exported-resource</name>
+      <servlet_output>N</servlet_output>
+      <do_not_open_new_file_init>N</do_not_open_new_file_init>
+      <extention>txt</extention>
+      <append>N</append>
+      <split>N</split>
+      <haspartno>N</haspartno>
+      <add_date>N</add_date>
+      <add_time>N</add_time>
+      <SpecifyFormat>N</SpecifyFormat>
+      <date_time_format/>
+      <add_to_result_filenames>Y</add_to_result_filenames>
+      <pad>N</pad>
+      <fast_dump>N</fast_dump>
+      <splitevery/>
+    </file>
+    <fields>
+      <field>
+        <name>message</name>
+        <type>String</type>
+        <format/>
+        <currency/>
+        <decimal/>
+        <group/>
+        <nullif/>
+        <trim_type>none</trim_type>
+        <length>-1</length>
+        <precision>-1</precision>
+      </field>
+    </fields>
+    <attributes/>
+    <GUI>
+      <xloc>384</xloc>
+      <yloc>96</yloc>
+    </GUI>
+  </transform>
+  <transform_error_handling>
+  </transform_error_handling>
+  <attributes/>
+</pipeline>
diff --git 
a/integration-tests/hop_server/main-0007-test-exported-resource-datapath.hwf 
b/integration-tests/hop_server/main-0007-test-exported-resource-datapath.hwf
new file mode 100644
index 0000000000..5290d30bae
--- /dev/null
+++ b/integration-tests/hop_server/main-0007-test-exported-resource-datapath.hwf
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<workflow>
+  <name>main-0007-test-exported-resource-datapath</name>
+  <name_sync_with_filename>Y</name_sync_with_filename>
+  <description>Regression test for issues #7209 and #4161: variable 
substitution for transform file
+    paths on a remote Hop Server with exported resources. The inner workflow 
is executed remotely
+    using the "remote" run configuration (export_resources=true, no 
source/target folder mapping).
+    During the export every referenced file path is rewritten to 
${DATA_PATH_n}/... . Before the fix
+    the DATA_PATH_n variables were never given a value, so the pipeline wrote 
its output to a bogus
+    ${DATA_PATH_1} folder on the server and the server-side FILE_EXISTS check 
failed the workflow.
+    After the fix DATA_PATH_1 defaults to the (locally resolved) source 
folder, so the file lands
+    where ${PROJECT_HOME} points and the check succeeds.</description>
+  <extended_description/>
+  <workflow_version/>
+  <created_user>-</created_user>
+  <created_date>2024/01/01 00:00:00.000</created_date>
+  <modified_user>-</modified_user>
+  <modified_date>2024/01/01 00:00:00.000</modified_date>
+  <parameters>
+    </parameters>
+  <actions>
+    <action>
+      <name>Start</name>
+      <description/>
+      <type>SPECIAL</type>
+      <attributes/>
+      <DayOfMonth>1</DayOfMonth>
+      <hour>12</hour>
+      <intervalMinutes>60</intervalMinutes>
+      <intervalSeconds>0</intervalSeconds>
+      <minutes>0</minutes>
+      <repeat>N</repeat>
+      <schedulerType>0</schedulerType>
+      <weekDay>1</weekDay>
+      <parallel>N</parallel>
+      <xloc>50</xloc>
+      <yloc>50</yloc>
+      <attributes_hac/>
+    </action>
+    <action>
+      <name>Verify exported resource on server</name>
+      <description/>
+      <type>WORKFLOW</type>
+      <attributes/>
+      <run_configuration>remote</run_configuration>
+      <filename>${PROJECT_HOME}/0007-verify-exported-resource.hwf</filename>
+      <params_from_previous>N</params_from_previous>
+      <exec_per_row>N</exec_per_row>
+      <set_logfile>N</set_logfile>
+      <logfile/>
+      <logext/>
+      <add_date>N</add_date>
+      <add_time>N</add_time>
+      <loglevel>Basic</loglevel>
+      <wait_until_finished>Y</wait_until_finished>
+      <create_parent_folder>N</create_parent_folder>
+      <parameters>
+        <pass_all_parameters>Y</pass_all_parameters>
+      </parameters>
+      <set_append_logfile>N</set_append_logfile>
+      <parallel>N</parallel>
+      <xloc>224</xloc>
+      <yloc>50</yloc>
+      <attributes_hac/>
+    </action>
+  </actions>
+  <hops>
+    <hop>
+      <from>Start</from>
+      <to>Verify exported resource on server</to>
+      <enabled>Y</enabled>
+      <evaluation>Y</evaluation>
+      <unconditional>Y</unconditional>
+    </hop>
+  </hops>
+  <notepads>
+  </notepads>
+  <attributes/>
+</workflow>

Reply via email to