# imodel-batch-plugin **Repository Path**: info_224f/imodel-batch-plugin ## Basic Information - **Project Name**: imodel-batch-plugin - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-10-23 - **Last Updated**: 2026-10-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # iModel Batch Executor(cn.org.imodel.batch) iModel FlowBot 定时运行工作流、iModel Enterprise 运行工作流和接口调用用的批量执行程序。代码复制自 KNIME 的批量执行扩展 org.knime.ap.batch 5.9.0(GPL-3.0),增加了这些参数: -mountpointRoot=<工作区文件夹> 告诉工作流它所在的本地工作区。这样,节点里「相对于当前工作流 / 挂载点」的路径在批量模式下也能用;原版在批量模式下会报 `Cannot determine ID of local mountpoint`。 -inputJson=<文件> 一个 JSON 对象:按参数名给工作流的「容器输入」节点赋值 -outputJson=<文件> 运行成功后,把「容器输出」节点的值按参数名写成一个 JSON 对象 -describeJson=<文件> 只加载不运行,写出输入参数(带默认值)和输出参数的名称 -credentialsFile=<文件> 一个 JSON 对象:{"凭据名": {"login": "...", "password": "..."}},给工作流的凭据(Workflow Credentials) (-inputJson 等三个参数 0.2.0 起,给 iModel Enterprise 的「接口」和「数据应用」用;-credentialsFile 0.3.0 起,给「密钥库」用,密码不出现在命令行里,文件由调用方保管、用完删除。0.3.1 起,这些凭据(以及 -credential 给的)同时作为同名的「凭据」流变量交给工作流:新版的数据库连接等节点只能从流变量取用户名和密码。)其余参数与原版 `org.knime.product.KNIME_BATCH_APPLICATION` 完全相同。 用法(Windows): iModelc.exe --launcher.suppressErrors -nosplash -consoleLog -application cn.org.imodel.batch.app ^ -data <批量用的 Eclipse 工作区> -workflowDir=<工作流文件夹> -mountpointRoot=<工作流所在的工作区> -reset -nosave 安装:把 jar 放进 Studio 的 dropins 文件夹。需要 Studio 里装有 KNIME 批量执行扩展(iModel Analytics Studio 已自带)。 编译:`./build.sh `。jar 里附带源码(src/)。 许可:GPL-3.0,附加许可见 LICENSE.txt。