Skip to main content

I have an ArcPy script that is simply renaming ~40 datasets in an ArcSDE database.

 

I'd like to run it once by Master FME workspace is complete (set of workspace runners ), so i had thought of using the Shutdown Phyton Script in workspace parameters. However i am very new to FME and to Python to be honest, so it's all a bit confusing (even after reading the information relation to the Python transformers etc).

Can i simply copy and paste my script into the blank window of the script parameter? i.e. import arc py, list variables, include updates to be made etc? or is there a way of including the file path to the python script that sits on my c:drive and have FME activate it?

 

Thank you in advance

Try using python Caller transformer... It may solve your issue.


Here's some resources that can help you get on your way with Python in FME:

https://knowledge.safe.com/articles/706/python-and-fme-basics.html

http://cdn.safe.com/resources/webinar-data/conterra-python-webinar-slides.pdf


Reply