Schedules, triggers, events, alerts, and notifications.
Recently active
How do you make an automation with two workspaces use only one engine?
I've attached some screenshots to show what it's doing.It will only reset the hour back to 12 it still honors the exact minute I specify. I did look over the known bugs for 2022.x but was unable to find any mention of this. FME Server 2022.1 Build 22618 - win64
I use a python script to set up project directories for specific tasks, The script also copies the workbenches and needed and uses some regex to adjust the paths in the fmw's. Sometimes the schema of the files changes, so I would like the readers to update feature types when opening FME without having to re-import them. I'd appreciate any shared experience and hopefully an example. Thanks!
I have a legacy Notification set up with Publications, Subscription and Topic. Trigger (publication) is an email that publishes to topic. A workspace subscribed this then "Get the Value from Topic Message". In order to work with O365/modern authentication in Server 2022, I'm having to re-do this as a new style automation. I have the email part figured out. But whether I have my next 'Action' (my workspace) parsing the incoming parameter "email.body" or the "Event as JSON", I cannot get this to work as before. The existing old-style solution expected input in this format:{"imap_publisher_content{0}": " ","fns_type": "imap_publisher","imap_publisher_sent": " ","imap_publisher_from": " ","imap_publisher_subject": " ","imap_publisher_content_type{0}": "TEXT/PLAIN; charset=ISO-8859-1","imap_publisher_received": " ","imap_publisher_to": " "}"Event As JSON" seems to feed me more JSON than necessary. Is it really necessary, as this thread suggests, to go back to using Topics, or is
Has anyone had to switch existing notifications/publications in FME Server from IMAP which is easily configured in the web UI to MAPI? Is there a way without having to roll your own using custom code? I don't see any such options in FME 2020, nor in 2022 that I'm currently spinning up. I'm being told I need to make that switch! Lucky me 😫
Hey everyone, fairly new to FME here. I was wanting to see if there was a way to mass pull down all published layers from AGOL online into a workspace. I am wanting to automate our AGOL backups, but since we have over a hundred published layers, I was wanting to see if there was a far more efficient way of doing so than individually adding over a hundred readers.
Hello,I want a trigger in FME Cloud with an Emailer 24h/7. When I receive an email, I run a process. If I receive no email within an hour, do I still need to pay for that hour of instance running, even if I ran no process?Thank you.
In a single workbench, I have automated some processes. One of those generates a report in Excel format. I saved this file in the Shared resource folder on the FME server. The Excel attachment is sent out at the end of the translation. Since last week, the tool hasn't delivered emails to recipients because the emails are too large. When I run the tool on the desktop and save this attachment to my machine, it shows a few KBs, but on the server, it shows 10MB. I compared both outputs (one from the FME server and one from the desktop) and neither shows any differences. I would greatly appreciate any feedback and advice!
I've only just now noticed that the Tools repository appears to be hidden. I can still use Filter Message and Log Message actions in Automations (although I do get a warning when opening an older Automation). Can anybody confirm this?
I need to download files from a WebDAV source using FME. Is there any experience around in doing this directly in a Workbench (e.g. HTTPCaller)? Or will I need to integrate third party scripts (e.g. Pyhton)? What would be a feasible and efficient method?
HelloI just started using Automation in FME Server 2020 and plan to use it more by migrating my existing scheduled jobs.I have a workspace which runs a batch script. It uploads multiple files to an SFTP server using WinSCP.com commands withing the script.The workspace in question, in "Automations" is connected to 2 Email (External Action) 1 - Success then send an e-mail2 - Failed then send an e-mail with 2 attachments (WinSCP.txt & Error.txt)Number 2 is the problem. So I thought I'd use Global Keys for that purpose ({Global.Email_Attachment}{Global.Email_attachment1})Right now it's failing before when the 2 parameters are associated together I get an error in the log stating that the file can't be found.Is that possible and if so how do I include both Global Keys within the Email Attachment field? If not how do I proceed?Thanks Sameer
The current Automation External Action Email does not support multiple attachments and I know I can create one ZIP file, therefore I need to continue to use the existing Notifications (Classic). My existing workflow is FMEServerEmailGenerator -> FMEServerNotifier ->What do I need to do in the Workbench to pass the "text_line_data" to the Automations External Action Topic?orIs there another method of sending an email with multiple attachments (not ZIP file)
I've been trying to move from the classic Notifications to FME Server Automations for sending emails. In the past I had a Subscription and a Topic set up which I used to notify for sending emails. Going forward, I want to use an Automation with a Trigger (based on my Topic) and an Email Action. The Trigger works fine and I've managed to map the JSON keys from my notification service to the relevant fields in the Email Action (some more documentation around this would have been helpful!). What is missing is sending multiple attachments at once in a single email. This worked fine through a Subscription by creating a list within my notification (email_attachment{}). How can this be achieved with an Email Action? The manual selection appears to allow only for single files, too. An additional note on this - I've noticed that (within the Email Action) sometimes the fields for attachment and email body are being cleared out when navigating away and back to the Automation screen (
Hi everyone, I know how to read just 1 text file and use StringSearcher to extract string from the content. But how do I read "multiple" text files "automatically" and extract specific string from the content in each one of them? Thanks in advanceHoward
Heya, looking for concept assistance (or more). We want to use attributes submitted in a Survey123 in an email body. My understanding is that this is a nested array in the json payload and must be parsed in a workspace. Can someone help with what this would look like in the workspace... what is the reader and how does it connect to the webhook payload? Also, what is the writer and how is it put into the email body. Just wanted to get more clarity on this before I get further into it. Thanks.
I have a simple workspace that reads in an excel sheet, joins that data to a point layer (created in and read from AGOL), and writes a new point feature layer to AGOL with said data. This process is set to automate using identical excel sheets that are attached to incoming emails daily. When manually loading excel sheets into the workspace on FME desktop all data is exported correctly but when starting the automation process and letting the workspace go through a backlog of emails and attachments the workspace does not export two attribute fields. There are no errors and it will export all other fields but neglects just two. All emails are automatically generated reports so there is no variation in the incoming data. Is anyone else experiencing something strange like this?
Does anyone know if there is a way to get the amount of free disk space using the FME Server API? I presume I could use a SystemCaller transformer and write out the information somewhere and access it that way, but wondering if there is an easier way. Just looking to get the same disk space details that are logged when a job runs (see screenshot). Thanks
I am creating an automation to delete a large number of features from sde. The features have a grouping attribute that i am hoping will help make this doable by automating to fme server and passing one group at a time while changing the flag upon completion. then on to the next group in the next automation job. There are aver 77million features in the egdb (sde). I have the grouping attribute in another database (sql flat table). and i am able to query that data quickly with e.g. [path_windows_unc] LIKE $(path_windows_unc)the same query on the sde table takes hours. I am unable to see the sde database when i try to set up a pre-fetch with sqlexecutor or databasejoiner, inlinequerier. How can i optimize getting the data needed without reading all 77million features?
I'm working with FME 2020.2.4I know how to check from within a workspace whether it is run from FME Destkop o from FME Server. I just check in a scripted parameter if FME_SHAREDRESOURCE_[whatever] exists in fme.macroValues. But, is there any way to check whether a workspace is run from a Workspace App or from an automation?In the Jobs tab in FME Server there's a Source Type column with value Automations, Workspace Apps or empty to indicate it. I want to get that same information in the workspace to include it in an email sent from the shutdown python script.
I have a scheduled workspace that needs to truncate an sde table. The table is shared as aservice in AGS and portal. I see a customtransformer to start/stop the arcgisserver. But if i'm not mistaken this would not remove any locks that are on the sde table. do i need to put this into an automation in order to make all this happen? since i don't see any specific transformers to accomplish this. is it going to have to be through the rest api or python? does anyone have a workflow and or script to do this?I assume i would need to...stop the AGS service (to keep someone from connecting while the rather lengthy trunc/load is happening) then remove the locks (I think i have only heard of doing this through the rest api). run the fme wkspc and truncate then load the new data.restart the service.
Hi All, I have a strange one i think! Its a simple workspace which takes a Spatial SQL table of property boundaries and reprojects it before writing to a mapinfo tab file. Running the workspace on workbench (same server) gives the correct results, running it on fme server produces a tab file which is from what i can see 99% correct, but muddled up in places. Confirmed Server workspace and Workbench are identicalDeleted server workspace and published from workbench again - same resultsServer job log doesn't give any indications to any issues - features written are sameRestarting server does nothing (Express installation)workbench & server are same version 2022 Heres the weird bit!, if i inspect the tab file after running the workspace on fme server it seems to have swapped the attributes of about 13 spatial features around and muddled them about. Screenshots might give a better idea.Any suggestions are appreciated!
I have an FFS file with attributes that show inside the FME inspector but I am unable to expose them. Please see the capture for more details. Thank you so much for the help.
How do I configure a scheduled automation to run hourly between 5am and 6pm, every day? Currently I have it running hourly continuously but I would like to free up the Engines outside of business hours. Is this possible? Thanks
We have thousands of workbench that need a round of audit to check whether the workbench contains certain transformers. Is there a way to programmatically check this without having to open the workbench themselves?
I was troubleshooting an FME Automation using CronTAB. 1) I adjusted the Schedule using CronTAB and an error message appearedPS: The message in black background covered the error message 2) Click on the "X" to close the error message and the following appeared3) I tried to rectify the error and started the Automation. Got this Screenshot shown in Step 2 is the bug.FME Server made me believe that the Automation stopped however it was still running in the background.