Connect FME

Hello everybody, hope you can help me. I need some skills by creating my app. I try to connect FME technique with an searching polygon creating in an app. Here are my codes. gp_clipasync.zip - Google Drive Have anyone an idea who to connect this?