开发者

Get path of the process dynamically - TIBCO - BusinessWorks

开发者 https://www.devze.com 2022-12-17 12:13 出处:网络
I am developing a process that will read and send an image in an e-mail. This image is a folder within this process.

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.


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

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号