George
George

Reputation: 23

Get path of the process dynamically - TIBCO - BusinessWorks

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.

Upvotes: 1

Views: 1517

Answers (2)

Tom Howard
Tom Howard

Reputation: 6687

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

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

Upvotes: 1

Jonas Elfström
Jonas Elfström

Reputation: 31428

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

Upvotes: 0

Related Questions