Trigger to invoke a project

Post any question you may have in regards to GoAnywhere Services and let our talented support staff and other users assist you.
6 posts Page 1 of 1

Barb_Texas

Posts: 10
Joined: Tue Dec 09, 2014 10:28 am

Post by Barb_Texas » Tue Dec 09, 2014 11:50 am
Hi,
I'm very new to GoAnywhere. To practice, I've created a dummy file and placed it in my personal directory in GoAnywhereServices. My trigger is to recognize the existence of the file and call a project which will simply email me and rename the file. The project can be excuted manually and will perform the functions but I can not get the trigger to call the project. I've uploaded the file when the trigger is active, taken a file and renamed it to meet the condition when the trigger is active, and deactivated and reactivated when the file already exists in the directory (also defined in the Condition). The trigger doesn't seem to notice.
Any suggestions?
Thank you very much,
Barb

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Tue Dec 09, 2014 12:02 pm
Barb,

Welcome to the world of GoAnywhere!

Your issue here is that Triggers within GoAnywhere Services are based on Events that happen while a Web User is signed onto your system.

In this instance, Defining the Trigger to recognize the Successful Upload of a file is the first step. The action to be taken on the Successful Upload should be to Call a Project. After defining the GADirector Resource, you should be able to invoke your Project from the activation of the Trigger upon successful uploading of a file.

Things to check:

1. Make sure your Resource is defined and communicates to the GADirector
2. Make sure your Trigger is defined and recognizes the file as being Successfully Uploaded
3. Using the Web Client (or another protocol) upload a file to your system.
4. Verify that the trigger is activated (Trigger Log)
5. Verify that the Project was activated by the Trigger (Completed Job logs)

If these things do not work, please let us know and we'll be glad to do a GTM and see what's going on. Remember, the key to Triggers working is that the pre-defined event must happen. Just activating a trigger on a file after the file has been placed will not invoke the trigger.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

Barb_Texas

Posts: 10
Joined: Tue Dec 09, 2014 10:28 am

Post by Barb_Texas » Tue Dec 09, 2014 12:04 pm
Thank you! I will try uploading rather than what I've been doing thus far.
Barb

Barb_Texas

Posts: 10
Joined: Tue Dec 09, 2014 10:28 am

Post by Barb_Texas » Tue Dec 09, 2014 1:03 pm
Hi,
Ok, I deleted the file in the directory defined in the trigger and uploaded it. Trigger asleep, no response. Attached is my set up. I don't think I need a userid and password to call a project on Director, do I?
Thanks,
Barb
Attachments
Trigger.docx
(107.79 KiB) Downloaded 1454 times

Barb_Texas

Posts: 10
Joined: Tue Dec 09, 2014 10:28 am

Post by Barb_Texas » Tue Dec 09, 2014 1:07 pm
I've reread your response. The trigger only works when a web user uploads a document? If we receive an inbound FTP into a directory, the trigger will handle that too, correct?
B

Barb_Texas

Posts: 10
Joined: Tue Dec 09, 2014 10:28 am

Post by Barb_Texas » Tue Dec 09, 2014 2:47 pm
Rick,
As you suggested, I did not use the File Manager to Upload my file to GoAnywhere in order to fire my trigger.

Using an external FTP (still having issues with the web access to GA) I did transfer the file to the root directory of GA. The trigger then fired which called my Project.

I also got rid of the directory as a condition-- still wondering how the Project knows where to find the file without sending the directory path, but it is quite possible that GA just knows that.

Had error in project so don't know outcome until I clear that up.

Thank you so much Rick; you'll help is very much appreciated.
Barb
6 posts Page 1 of 1