Schedules, triggers, events, alerts, and notifications.
Recently active
I have FME Server setup to watch a directory where JPGs are dropped by users. When the watcher detects a JPG it runs a workspace that moves all files found to a different folder (post process). FME Server seems to be trying to run the workspace over and over again even though the files were removed by the first run. All attempts after the first fail and another instance is added to the cue. I'm not sure what the cause is. Any help is greatly appreciated.
Hi All,Does anyone know how I might add a vector layer to the Open Layers example for data delivery in the FME Server Playgroundhttps://playground.fmeserver.com/javascript/data-delivery/open-layers-integration/I would like to drop a line feature on top of the Open Layers basemap so users can use it as a reference when they are selecting their area of interest.
Hi,I am using Automations in FME Server 2019.1 for the first time and I want to add the log file as an attachment to an email.I have tried inputting the following two options into the Emailer but neither worked.Option 1:$(FME_SHAREDRESOURCE_LOG)/engine/current/jobs/*/{job id}.log Option 2:{job.log} Automation Workflow:As a side note, I would also like to know if it is possible to send multiple attachments with the Emailer in Automations? If so, what would the syntax be for that?Thanks in advance!
I just recently upgraded to FME Server 2020.0.1 and noticed the attachments in the emailer transformer wouldn't allow me to specify a file with the direct path of my pdf in the Resources folder. This worked in previous versions of FME Server.$(FME_SHAREDRESOURCE_DATA)/resources/example.pdfIt did work when I created an attribute with the path and used it as the attachment Source File.Is this change by design, or perhaps a bug? Invalid File Path Valid File Path
I'm a beginner with FME and have only used it for a couple of weeks doing simple tasks in Workbench so my knowledge is not very good. I'm now trying to set up an automatic process for downloading data(zip files) from a Swedish authoritys website: http://extra.lansstyrelsen.se/gis/Sv/lansvisa-geodata/sodermanlands-lan/Pages/default.aspxI have created a FME script for downloading the specific zip (LstD Ädellövinventering) using a HTTPCaller. I only want the script to run when the specific zip file has been updated. Is that possible? And how does that work? I also want to be notified by email if the data failed to download. And maybe let the script run til the download is sucessful if that's a good idea?
I am trying to push a HTTP Request notification to a client machine using a Text Writer with MIME Mode set to 'application\\json'. The issue we're running into is that we get extra "\\" in the 'subscriber_content' section. It appears that the notification is converting the 'subscriber_content' to a string vs. leaving it in the JSON format.It should like this:{"Title":"Test WARS JSON Message","Message":"Simple Message","ActivityCode":[{"ActivityUID":"M336_34687_4592_08000AOH000","ActivityCode":"M336"}]}However, it is coming thru like this in both FME Sever Topics Monitoring and on the client machine receiving the message:{ "workspace": "ITD_WARS_JSON_MessageTest.fmw", "timeRequested": "Wed-02-Oct-2019 01:14:55 PM", "ws_topic": "WARS_JSON_Message", "NumFeaturesOutput": "1", "job
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