动态获取流程路径 - TIBCO - BusinessWorks

发布于 2024-08-18 15:58:28 字数 163 浏览 1 评论 0原文

我正在开发一个可以读取并发送电子邮件中的图像的过程。 该图像是该进程中的一个文件夹。

问题是:如何获取进程运行的路径?

类似 'Server.MapPath' 返回文件系统中的图像路径。

提前致谢。

I am developing a process that will read and send an image in an e-mail.
This image is a folder within this process.

The problem is: how do I get the path where the process is running?

Something like a
'Server.MapPath'
that returns the image path in the File System.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

丶情人眼里出诗心の 2024-08-25 15:58:28

您有机会在 TIBCommunity 尝试我的答案吗?

absPath = com.tibco.pe.core.Engine.getRepoAgent().getAbsoluteURIFromProjectRelativeURI(relativePath);

Did you get a chance to try my answer over at TIBCommunity?

absPath = com.tibco.pe.core.Engine.getRepoAgent().getAbsoluteURIFromProjectRelativeURI(relativePath);
小…红帽 2024-08-25 15:58:28

您是否尝试将图像拖放到文本字段上?在 Tibco BW 中工作得非常频繁。

Did you try to drag-and-drop the image on the text field? Works surprisingly often in Tibco BW.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文