You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a process built between multiple Mirth Connect channels that uses file reader source transformers in order to trigger off the next step in the process. I have a little "side path" if you will in the process that sends to a channel that has to be a channel reader. Is there any way in javascript to move files from one directory to another in the control panel?
EDIT:
I was thinking something along the lines of this, but I have no clue how or if this can somehow be connected to files living on the control panel appliance
var srcFile = new java.io.File('???')
var destDir = new java.io.File('???')
try {
var moveFileToDirectory = Packages.org.apache.commons.io.FileUtils.moveFile(srcFile, destDir)
} catch (err) {
logger.debug(err);
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a process built between multiple Mirth Connect channels that uses file reader source transformers in order to trigger off the next step in the process. I have a little "side path" if you will in the process that sends to a channel that has to be a channel reader. Is there any way in javascript to move files from one directory to another in the control panel?
EDIT:
I was thinking something along the lines of this, but I have no clue how or if this can somehow be connected to files living on the control panel appliance
Beta Was this translation helpful? Give feedback.
All reactions