Schedules, triggers, events, alerts, and notifications.
Recently active
We have a series of workspaces that use a File/Directory Reader, do some magic, then Move the files to a new directory. Stored UNC example: "\\\\projectdir\\My Folder Is Here" The job runs fine in Workbench and when executed manually in FME Server -as the path retains the double quotee bounding. The problem we are finding is how Automations are interpreting the parameter Source Folder and File Pathnames Folder (PATH for simplicity). When the workspace is first added to the Automation, it initially interprets the PATH (UNC) as:''''\\\\projectdir\\My Folder Is Here''''4x single quotes{PATH}4x single quotesThis fails. I override this parameter in the Automation to use bounding double quotes ("\\\\projectdir\\My Folder Is Here") and it runs without issue. However; after this success, the Automation changes the the PATH to:'''' \\\\projectdir\\My Folder is Here ''''4x single quotes and a space{PATH}space and
Hello,we are using FmeServerJobSubmitter. Fme version 2019. There is a strange problem: job is submitted, I can see it on the jobs list. So on the jobs list there are 2 jobs: main one and submitted. In the logs of main there is information: 2019-07-28 22:56:41| 1.0| 0.0|INFORM FMEServerJobSubmitter (ServerFactory): http://fmetest.com:80 - Running workspace2019-07-28 23:01:41| 1.1| 0.1|WARN FMEServerJobSubmitter (ServerFactory): http://fmetest.com:80 - Failed to submit request to run workspace2019-07-28 23:01:41| 1.1| 0.0|ERROR |FMEServerJobSubmitter (ServerFactory): Reason - ''So it looks that after 5 min main workspace decided that it could not submit request, it logged what is above and finished. But child job was actually still running for 15 min more (as expected as this job takes 20 min) and then it finished. I use settings in fme server job submitter:SubmitJobs: In sequenceWait for jobs to complete: Yes Funny thing is that if child workspace finishes before 5 min then e
After logging in, the user can successfully run the job and download the data.
Hi,I'm trying to setup a script to download a set of zip files from a website that requires logging of username/password. After logging in, I need to select from 3 different zip files from the list. From what I've read so far, it looks HTTPCaller transformer with GET method is what I should use. The 3 zip files that I need to download each week is changing every week with a new # in a filename. How do I use HTTPCaller to select the zip files each week regardless of what number is in the filename?
Hi, I have another FME Server query!I have successfully uploaded an FME workbench to FME Server 2019.1 with a Data Download Service. When I run the workspace in FME Server the Data Download Service works fine.I would also like the Data Download Service to work with a scheduled job which I have set up using Automations. However whenever this scheduled job runs, the Data Download Service does not work and the files are output to the shared directory rather than a zip file to download. Is it actually possible for the Data Download Service to work in a scheduled Automation? I thought maybe I could add the hyperlink to the zip file to an email, but I can't work out how to do that.Thanks
Since a recent upgrade to FME Server 2019.2, I am having trouble inititialising a workspace following receipt of an email. The workspace uses several features from the email that it receives.Ideally, I'd like to just read the email into my workspace as a JSON file that is populated from the Email trigger on the automations page of FME Server. Annoyingly, it seems that I can only populate published parameters with individual attributes of the received email (e.g. Email Subject, Email Body, etc.) rather than bringing the whole email through to a JSON FeatureReader. You can see below that I can't populate the "Email" Parameter with the whole Email, I have to select one of the attributes of the email:Is there a way to populate a JSON FeatureReader with the entirety of the email that FME Server receives, including attachments and metadata?
We've got a real head scratcher here. We are collecting data in Survey123 for ArcGIS and are using FME to listen for the submissions. Everything works perfectly for receiving the JSON. We've taken that JSON and built a workspace around looking at the data as it is pulled from ArcGIS Online without any issue. We even deal with repeats associated with Survey123. Here's the part we can't seem to get past. We have set up all of the attachment parameters and the job clearly pulls the attachments and it saves them in our specified directory. We even have it saving under FME Server in the resources-data directory. So there is no issue with the attachments being pulled. Our issue is we cannot get them to properly attach to the email being sent. When we remove the attachment parameters from the FMEServerEmailGenerator (Leaving attachments blank) the email comes through perfectly. It contains all of the HTML formatting we set up. But the second we reference the attachment the em
Just out of interest: How does FME detect, that a directory has changed? Does it store the information about the files in the directory at a given time in a file? So that when the directory watch is triggered it can compare the new informations of the files in the directory at that time to that file?Or how else does it keep track?Thanks, Vera
Hello,Trying to combine log files that are created from workspaces that are being executed via an automation/schedules in 2019.2.Any thoughts please? Thanks!
Hi, Im experiencing jobs with tag "satskred" stuck in Queue after a small modification to the fmeServerConfig.txtthese are my changes:#-------------------------------------------------------------------------- # Job Routing #-------------------------------------------------------------------------- TM_QUEUE_TYPE=DEFAULT TM_ENGINE_1=Engine1:fast default TM_ENGINE_2=Engine2:fast satskred #-------------------------------------------------------------------------- # System Notifications I've set the job tag as "satskred" on my Subscription Notification. Before (job runs on 2 engines):#-------------------------------------------------------------------------- # Job Routing #-------------------------------------------------------------------------- TM_QUEUE_TYPE=DEFAULT #-------------------------------------------------------------------------- # System Notifications I need the job to run on 1 single engine. Engines:Subscriptinon Advanced:Job status:Restarting:Makin
We are trying to connect to a JMS queue. We have a URL and EntityPath, SharedAccessKeyName, SharedAccessKey and using service bus explorer we can connect using HTTPS (it translates to an sb;// in explorer) I've tried adding the whole url string with parameters to the jms receiver Provider URL and tried with just the URL and the 3 parameters in the "additional provider properties" (comma separated on separate lines) in both cases it fails with"org.apache.activemq.jndi.ActiveMQInitialContextFactory" ...javax.jms.JMSException: Could not connect to broker URL: <<url>>Reason: java.io.IOException: Failed to perform GET on: <<url>> as response was: Not FoundFailed to connect to JMS provider with url <<url>> and initial context "org.apache.activemq.jndi.ActiveMQInitialContextFactory"Has anyone got an example of successfully making this connection, is there some detail of the transformer parameters which I am missing? thank
Hi, This seems like a bug in FME 2017.1. I'm reading AutoCAD Object Data in FME Workbench and Inspector. Either one of them says this particular version of DWG file is Release2018. Opening a file in notepad you can clearly see the version is 2013 (corresponds with AC1027 code of dwg file). I want to ensure to write to same version as I've read my file. This is a problem since it never writes to version 2013. (It forces version 2018) Cheers,Zelimir
I recently rescued several years worth of emails from an old hard drive (2004, start of my company, through to 2015 when I started using Gmail for business) that's in a Mozilla Thunderbird profile, containing several mailboxes each with several folders. We're talking 11 Gb of raw data here, including attachments. Since moving to Gmail I haven't had to go back to that archive, but I'd like to have the option.A quick look shows that it's a mix of SQLite and plain text so I should be able to figure this out, but I was wondering if somebody else had done this already.
I'm attempting to use the following email template with FME Server 2015.1.3.2 :<fmeblock>This notification e-mail was generated automatically from FME Server (PROD). Please contact your system administrator or submit a service ticket for support. Do not reply to this e-mail. FME transformation job {id} has FAILED. Workspace: {workspace} Repository: {repository} Status: {StatusMessage} Submitted: {timeRequested} Job Start: {timeStarted} Job End: {timeFinished} Logfile: {logFullPath} </fmeblock>{workspace} & {repository} are both returning "_undefined_". All the other macros seem to work fine. Any suggestions?
Hi all, I have a scenario where i have many different types of SMS and Email notifications occurring and i want to create a centralized location on the server for these templates to be edited/adjusted as needed without having to dive into the workbenches every time. Is there a way of doing this? i tried reading the message layout from a text file but it does not resolve the '@attributevalue' sections that i want it to.
I want to sent an e-mail from a batch file calling a workbench with the Emailer-transformer, providing the To, Subject and Body with environment variables from that batch file. Is it possible to add newlines in the Body-text and if so, how do I do this?
Hi all, when you run a job manually on FME server there is a field to receive email with the job result. However when I want to schedule the same job there is no such field. How can I receive a email with the result of a scheduled job? This should be very easy like in when you run a job one off.Thanks.
I built an automation with 14 workspaces in a row. If one of them fails, then the whole automation stops. Sometimes a job fails, because it can't connect to the database because of network issues. But usually after some seconds it would be ok again. As the whole automation runs during the night for about four hours, it would be very practical if it was possible, to resubmit a job, that fails and continue the automation. I found this post about resubmitting jobs:https://knowledge.safe.com/questions/83248/automatically-resubmitting-failed-jobs.htmlBut how can I continue the automation after resubmitting one of the jobs in it?Thanks in advanceVera
Hi, After upgrading our FME Server from version 2017 to 2019.1, we get errors when running workbenches that uses the FMEserverjobsubmitter. We have a large workbench that is scheduled to run on the FME Server at 00:01 every night. It forks off other workbenches by running the FMEserverjobsubmitter transformer to submit jobs to the FME Server itself using a web connection (with address http://localhost, admin-account and password). We have the job scheduled in the "Schedules"-tab in FME-server.When the job is automatically triggered by the schedule all calls to the FMEserverjobsubmitter gives the following error: "FMEServerJobSubmitter (ServerJobSubmissionFactory): Could not initialize connection to server "http://__OMITTED__". Unable to use web connection to connect to FME Server. If connecting to FME Server 2013 or older, use direct connection."However, when triggering the exact same job manually (by pressing the "Trigger"-button in "Sched
I'm using FME server to execute a workspace when an email arrives. I have configured a notification and it works fine, my workspace is launched. My workspace fails sometimes when I try to read an attachment in my workspace. The error message indicates that the file can't be read. This problem occurs because FME server downloads the file in a temporary folder that has the same name as the email subject. If this subject contains special characters (such as ?), the workspace can't access to that directory, due to encoding problems. Is there a way to configure the directory in which the attachement are downloaded? I've tried to use the "Download Attachments To" option while creating may Email Notification, but Fme Server stills create subfolder. I've also tried to use Automations, but it doesn't work because I may receive several attachments in the same email, and automation is unable to process multiple attachments. How can I solve my problem?
Hello, Is it possible to configure auto resubmit job after fail on fme server using fme 2019?
I have a long running workbench on the FME server. Is it possible to take actions if a job submitted is canceled?proposed workflow1. submit a job2. cancel a job3. write into a file information regarding the job that was cancelled (is possible to do it inside the same workbech? is possible to do it with another workbench? a subscription could help??) [EDIT]:The idea is that step 3 is automatically triggered after the cancellation of the job, that is what I mean by "React".[EDIT]: I am using FME Server 2018.1.2 - Build 18590 - win64: I notice that JOBSUBMITTER_ASYNC_JOB_FAILURE topic is not triggered when a job is canceled.thanks for any hint provided.
In FME Server 2019, I would like to run a workspace with the data download service that generates an email containing both the {downloadURL} and a message coming from an attribute. If I use the Email body template on the subscription,<fmeblock type="optional">Click here to download the result: {downloadUrl}</fmeblock>, then I can get url, but not the attribute data. If I use the EMailGenerator/FMEServerNotifier then I can get the attribute data, but not the url. Thoughts on how to get both? Note that using {downloadURL} in the subscriber_content for the FMEServerNotifier, doesn't work, as it's not resolved.
Hi, I'm trying to set up a workflow where I attach the intermediate result of a workspace to an Email as an Excel spreadsheet but I have troubles writing only one file. The Emailer documentation hints at using TempPathNameCreator and a FeatureWriter but I could not find any concrete examples on FME hub. When I run the translation every feature is written to a separate Excel file instead of a single one. I'm sure this can easily be done but I can't figure out how. Thanks for any help!
Hi everybody,I'm trying to call a datadownload service from a workbench with an HTTPCaller. All works perfectly: the call start the job on fme server and at the end I've the json response with the link and other parameters.In my parameters from the HTTPCaller I've set the opt_requesteremail but no email are sent with the download link to the requester.Anyone have tested it? I use fme 2018.1.0.3 I thought a workaround, but I like to use this parameter that made what I need... Thanks for the support.