AnsweredAssumed Answered

Get runtime Atom path from script

Question asked by jlunad on Sep 16, 2016
Latest reply on Sep 16, 2016 by Seth Duda

Hello all,

I have a script that needs to access tha local atom path. Now is hardcoded in groovy script, but it is on a test environment and when it will be on production environment it will need to be changed. 

So I need to access the Atom path from the script.

I suppose that I have to use something like this :

 

import com.boomi.execution.ExecutionUtil;
import com.boomi.execution.ExecutionManager;


String zippath;

zippath = ExecutionUtil.getDirectory();
zippath = zippath + '/temp/' ;

 

But it doesn´t work.

 

Do you know how could I access this?

 

Thank you very much.

 

Best regards.

Outcomes