A space to discuss FME Flow
Recently active
Hello FME community,I’m developing a FME service that needs to process a JSON object, uses this JSON as upload body in a HTTPCaller that returns a ZIP file and emails the user a download link to the returned ZIP file.What is working is a POST to datadownload service with a JSON upload body and the email as request parameter:https://<fmeserver>/fmedatadownload/Samples/WritingZip.fmw?SourceDataset=&DestDataset=DownloadZip&opt_showresult=false&opt_servicemode=async&opt_requesteremail=test@test.comWith a subscription at the DATADOWNLOAD_ASYNC_JOB_SUCCESS topic I retrieve the desired mail with the download location using this template:https://<fmeserver>/fmedatadownload/results/{@getFileName(OutputLocation)}However, a developer asked me whether it is possible to integrate the request email in the POST body. Therefore I looked at the FME REST API and tried to POST it to:https://<fmeserver>/fmerest/v3/transformations/submit/Samples/WritingZip.fmw, with upload
Hello, what is the best way to set scheduler to run on last day of each month? Cron would be good here but what if we would like to run this job on last day of the month but every X monts for example every 3 months? In Cron there is a limitation that once we get to the next year it will break. If I would not use CRON but standard interval how FME would behave if I would set it to run on January 31st with interval set to 1 month? When it would be executed next time?
Hi dear Is ist possible to get a list of used values in an Attribute?I have data in the inspector (100000 an more) and i will know which values are in one Attribute used.thanks for an answer.
Hi all,after upgrading to FME 2018.1 we are not able to connect to MS SQL Server anymore. This seems to be due to an invalid connection parameter:Using Java Reader Interface Version 2.0 (Oct 31, 2000) with module MSSQL_JDBC_SPATIAL to read dataMS SQL Server Spatial (JDBC) Reader: Preloading JDBC Driver Class 'com.microsoft.sqlserver.jdbc.SQLServerDriver'MS SQL Server Spatial (JDBC) Reader: Creating connection using connection string 'jdbc:sqlserver://************' and properties '{statementPoolingCacheSize=10, disableStatementPooling=false, integratedSecurity=false, user=************, encrypt=false, multiSubnetFailover=false, trustServerCertificate=true, applicationName=Safe Software FME, database=************, password=************}'com.microsoft.sqlserver.jdbc.SQLServerException: The disableStatementPooling value false is not valid.However, I don't see an option to control statement pooling on the connection or reader level. And even if I would, I'm kind of concerned what the perform
I'm trying to figure out how to use the directory watch on various user folders. The idea is when they update datasets it kicks off a job updating automatically.
I'm currently watching Folder1 and processing the data that is put there in dated folders.Folder1201811102018111120181112etcEach dated folder contains 3 subfolders (A,B,C) each containing a lot of shapefiles. The current system works fine as all the data is written at the time the dated folder is created. However this is soon to change and A, B and C could be written separately. I only want to process the data when A, B and C are all present.I've tried editing the Publication to include subdirectories but this notifies on every shapefile, I've also tried just using Modify instead of Create but Modify doesn't seem to work on Folders, only files.The only workaround I can think of is to have all the contents of A, B and C zipped before hand and thus limiting the number of notifications. But this isn't very elegant. Am I missing something?Many thanks!
Hi,Currently we are using FME on Win 2008 R2 server, we are planning to move to WIN 2012 R2 server. Please let us know if we can use the same FME license on WIN 2012 R2 server and if not please provide the contact from where we can get the updated license file.
I require a workflow to notify a customer that a data delivery is ready for download from an S3 bucket. The current process involves several workspaces on an FME Cloud Server pulling media files from an S3 bucket along with generating an FGDB and CSV feature records, all of this output which are staged in a directory on a specific FME SERVER SHARED TEMP/directory to be zipped up together as one zip file and pushed to a destination, in this particular case the zip file is pushed to an S3 bucket made available through the NextCloud application.As a current temporary solution, I am using a workspace the Directory and File Pathnames Reader to read the zip file and using the filecopy writer to zip up the files and move/copy to a directory in the TEMP shared. This destination directory is configured as a Directory Watch service to watch for CREATE and then an S3 subscription service pushes the zip file to an S3 bucket. I would like to use the directory watch service on the S3 bucket as the n
I'm hoping to use the Emailer transformer with FME Desktop to send an email with attachments using Microsoft Exchange via Outlook Web Access. Should this be possible using this transformer? Or maybe using some other method?
Hi,I have FME Server 2018.1.1.1 - Build 18578 - win64 running on an Amazon EC2 instance and I want to use my company's Amazon SES service to send emails. When using the Emailer transformer, I can send emails without any problems. But using the exact same details (host, username, password, port, etc.) when I try to setup email notification, I just get error messages saying "SSL error occurred. Ensure connection security and port are correct " when trying the "SSL/TLS" option, and "Unable to connect to the email server. Ensure account and password is correct" when trying the "StartTLS" option.The only difference between the Emailer transformer and the notification setup screen, is that I have to explicitly set encryption to TLS for the Emailer to work. But for the notification setup screen, I can only choose between "SSL/TLS" and "StartTLS" -- not just TLS.Are there any log files I could read to find more detailed or specifi
FME Server is creating dynamic sudo engines with prefix 'context-id':Background: We have 3 engines on our FME Server. Workbench (WB) 1, is a continuous job run all the time, internally WB1 triggers WB1a & WB1b.WB2 is a web-service based job, gets triggered when a web-service call is initiated. All the WBs are in same repository. 2 engines are been dedicated to this repository. Step1: WB1 is triggered on engine 1, now as the engine 1 is occupied, all the other jobs should be triggered on engine 2.Step2: Lets say Engine 2 is occupied by WB2.Step3: In this scenario, when WB1 initiates WB1a or WB1b, FME server creates a dynamic sudo engine with prefix 'context-id' for engine 1 or engine 2 and queues the job to one of these engines.As the engine1 is occupied by a continuous job (WB1), the jobs waiting on the queue for engine 1, never get executed.Is there a way in FME server configuration to avoid creating the sudo engines?
Why do i have to specify the source en result data in the Jobsubmitter while that`s already in the workspace
Hi,I´m currently working on a custom webpage for data delivery. I´ve used some code from the following example in FME Playground: https://playground.fmeserver.com/javascript/data-delivery/open-layers-integration/ I´m wondering how it´s possible to change the token in the FMEServer.init below, to a token that is generated thru the example here: https://playground.fmeserver.com/javascript/authorization/request-a-token/ Pre-generated setup for the token:FMEServer.init({ server : "https://demos-safe-software.fmecloud.com", token : "568c604bc1f235bbe137c514e7c61a8436043070" }); I want to use the "guestToken" thats been generated in the Javascript below instead:function processToken(token) { if( typeof token == 'string' ){ guestToken = token.trim(); } else { guestToken = "<pre>"+JSON.stringify(token, undefined, 4)+"</pre>"; } Both
Is it possible - if my translation fail, user will get an email with fail message, if translation is successful, in that case user will get an email also with successful translation message.
Hi,I have 5 fixed licenses of FME Desktop Smallworld Edition.Is it possible to install FME on to 5 virtual instances, that any user within my team can remote in to and use? I understand this would be limited to one user per instance. Therefore meaning the license is on the node, not on a named user?In an ideal world, we would have floating licenses, but this is not possible. Thanks,Steve
Hi I would like to disable the schedule in FME Server in the event of a job failure.I am looking at https://docs.safe.com/fme/html/FME_REST/apidoc/v3/index.html#!/schedules/update_put_3which works but it seems that I have to update all the parameters in the schedule for this to work, rather than just the parameter "enabled".I would like to set the request body as{ "enabled": false}Has anyone manage to get this working by just setting enabled to false ?
Hello,Can someone please help me to understand the topology builder attributes : right_edge and left_adge with some concrete examples and illustrations ? I've tried to understand and apply just from the description in the transformer docomentation but couldn'tThank you very much in advance
Our company has FME Server installed for internal use only, so I have it set up to poll an Office365 e-mail inbox for new e-mails. The imap_publisher_content list only has one index of text/html, and the text in the body of the e-mail comes in with encoding issues. Example: Met with inspector and surveyed the two 2� electric conduit lines. I’ll upload the photos to SharePoint. I have attached the incoming JSON. I am having issues in trying to get the text encoded correctly and not sure how to proceed. This is also related to a recent post I made that I am still unable to fix or find out how to receive the imap_publisher_content list in plain/text through our online company Office365 exchange account.https://knowledge.safe.com/questions/82234/fme-server-polling-imap.html
Dear forum, I hope everyone is doing great. I am getting trouble in my FME server datadownload process from yesterday midnight at (00:00:00). Yesterday all the job was processed timely and users have downloaded data but from the mid night all the jobs is Queued or "Running" in status. I have checked that our license is till may 2019 , so this is not the case of licensing error. I have collected one information from one of our job that : statusMessageUndefined macro `FME_SERVER_DEST_DIR' dereferenced in file `xxxx\\dbexport\\dbexport.fmw' If this might be the case then why it was running before perfectly? We did not change any configuration. ThanksWith kind regards Muqit Zoarder
I have a network of railway switches and I need to assign the value of a switch line being left or right automatically.What do I have: A feature class containing a track that looks like thisI need to generate something that looks like the following.The red arrow is always the direction you look at the intersection and that helps you determine if the lines branching out are left or right.
Have ArcGIS Pro 2.2.4 installed on an AWS box with the "Data Interoperability" license but on the Analysis ribbon, the Workbench icon is grayed out and says "This command is currently disabled. Authorize and enable the Data Interoperability Extension to access this functionality." Been on the phone with Esri and they want me to switch from a Named User to a concurrent license but that is not an option right now for me. They are thinking the remote desktop is blocking the license somehow and to try using Process Monitor to find the issue...not much fun! Anyone else have this issue? I know this is more an Esri issue but not making much progress on that end. Side note - I have ArcGIS Pro installed locally as well and do NOT have this issue. Trying the leverage the super duper Graphics Bundle we have on the AWS box for processing.
Hi Tem, I have a fme file which has to be run 15 times with different parameters( 15 oracle schemas) in fme server 2017. after 15 runs fme server has to stop running when the last schema completes. how can i achieve this in fme server 2017? I am using fme server notifier within fmw file with fme workspace run functionality. But i am not successful.need help.
Ive seen great work is being done to bring FME Server to Docker but im keen to know more about deploying FME server on a kubernetes cluster. I found a github repo for FME server helm charts but there doesnt seem to be much supporting documentation or press releases detailing the progress of this work by Safe. Are these Helm charts in a usable state?
Hi All,I have a workspace which works fine in desktop, and even works fine in our Pre-Production FME Server environment, but when I try to run on our Production FME Server instance I get the error message above. Any ideas? Full log below (have removed elements that showed senitive things like databases and passwords!): FME 2017.1.1.1 (20171014 - Build 17652 - WIN64)ÂÂ ÂÂ FME_HOME is 'C:\Program Files\FME_Server_2017.1.1.1\Server\fme\'ÂÂ ÂÂ FME Engine (node locked-crc)ÂÂ ÂÂ Serial Number: SAFEÂÂ ÂÂ Machine host name is: --ÂÂ START - ProcessID: 8424, peak process memory usage: 34820 kB, current process memory usage: 34820 kBÂÂ ÂÂ ÂÂ FME Configuration: Reader Keyword is `ORACLE_SPATIAL_1'ÂÂ ÂÂ FME Configuration: Writer Keyword is `MULTI_WRITER'ÂÂ ÂÂ FME Configuration: Writer Group Definition Keyword is `MULTI_WRITER_DEF'ÂÂ ÂÂ FME Configuration: Reader type is `ORACLE_SPATIAL'ÂÂ ÂÂ FME Configuration: Writer type is `MULTI_WRITER'ÂÂ ÂÂ FME Configuration: No destination coordinate system set
Hi,On the FME Server trial download page, if I choose the win-64 option, my browser starts downloading FME Server 2017.1.2.1-b17725. But reading the Licensing Walk-Through, I get the impression that I can request a trial license for any version of FME Server starting from main version 2016 and later versions.Question; Will I be able to download and install FME Server 2018.1 from the customer download page, and request a 60-day trial license for my FME Server 2018.1 installation by following the steps in the Licensing Walk-Through? Or are 60-day trials only available for FME Server 2017.1.2.1-b17725 specifically?