A space to discuss FME Flow
Recently active
import arcpyimport docxfrom datetime import datetimeimport osfrom docx.shared import Inches# Define the pathsinputfilename = r"Y:\GIS\FieldSummary_TEMPLATE.docx"outputfolder = r"Y:\GIS\GeneratedDocuments"sde = r'\\test\gis\ACCS_rw.sde'# Set the workspace to the SDE connectionarcpy.env.workspace = sde# Define the full feature class pathfeature_class = os.path.join(sde, 'FieldWork')# Define field mappingfield_mapping = { "<<PROJECT_NAME>>": "PROJECT_NAME", "<<FIELD_DATE>>": "FIELD_DATE", "<<ARCH_CREW>>": "ARCH_CREW", "<<PERMIT>>": "PERMIT", "<<DIVISION>>": "DIVISION", "<<METHOD>>": "METHOD", "<<DIST_EXIST>>": "DIST_EXIST", "<<DESCRIPTION>>": "DESCRIPTION", "<<DIST_REQ>>": "DIST_REQ", "<<HISTORY>>": "HISTORY", "<<SUB_OB>>": "SUB_OB", "<<ARCH_OB>>": "ARCH_OB", "<<REC>>": "REC"}# Define the feature
I have arcgis pro only on my pc. The FMEServer machine also has Pro only. I am able to successfully run a workbench that accesses .gdb's to read/write on my desktop and on the server desktop. However, when I publish to server and try to run from the repo or with an automation, I get the following error. Unable to connect to the File Geodatabase at 'XXXXXXX.gdb'. Make sure the correct filename was specified, and that the Geodatabase wasn't saved with a newer version of ArcGIS than the one installed locally. The error number from ArcObjects is: '-2147024893'. The error message from ArcObjects is: {} I have forced the workbench to translate as 'Pro' instead of auto. The Pro licence on server is authed correctly. FME desktop and server versions are 2022.1 and 2022.1 respectively and the .gdbs were created prior to these versions of FME being used so there is no issue there. I have also had this error at another workplace and it is driving me crazy. Any po
Using FME Server 2021.1 Build 21607 - win64, we have applied the Security Update: FME Flow Privilege Escalation Vulnerability using this link https://support.safe.com/hc/en-us/articles/31265482270349-Security-Update-FME-Flow-Privilege-Escalation-Vulnerability but even after applying the patch and re-starting FME services and even rebooting the hosting VM we are still seeing this message! I know it is possible to just click on X and close this notification on admin page but I noticed that other team members who didn't close the notification still seeing that on page!Should we ask everyone to ignore it! shouldn't system automatically clear it?
Hey guys,Why do I get the error (some texts replaced for security reasons):Failed to load http://fme-serverdomain.com/fmedatadownload/repository/workspace.fmw?param1=somefile&param2=sometext&opt_responseformat=json&token=123456789&detail=high: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://someotherdomain.com' is therefore not allowed access.although I configured CORS to allow all hosts
Does anyone have a decent and free FME Desktop licence monitoring tool? At the moment, I have very little visibility how much of our licence we're using on a daily basis, and whether we're short of licences some of the time or more regularly.Two options I have tried, neither of which is ideal:Using the logfile on the licence server. This gives all the logins and logouts, and I assume even the attempts. But I don't have direct access to this file, so I need my IT department to send it to me on a regular basis. Plus, the first few lines of the logfile clearly state that it's not recommended for usage monitoring.The second option is described in https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop_Admin_Guide/FMEInstallation/Monitoring_Floating_License_Use.htm , where you set up a lmutil command. This I can put in a batch file, which I can run at regular intervals, and then spits out a time-stamped text file. It kind of works, but as it's on my machine,
Hello ,I would like to automate data extraction from FME Server using UiPath.Currently, I manually select each city from FME Server and extract an Excel file containing the required data for each city ,then i place the extracted Excel file in a specific folder for the UiPath to process and perform tasks using the data , UiPath reads the IDs from the Excel file for processing. I'm wondering if it's possible to establish a connection directly between UiPath and FME Server, perhaps using a REST API, to directly retrieve the data and work on it without manually downloading each Excel file. Is this possible, and how can it be implemented?Thank you in advance!
Using ArcGIS Enterprise 11.3 and FME Server, I am trying to create a Portal Organization Webhook. While I am able to ping the VM on Portal VM and also navigate to the webhook URL in Poral machine browser, I am getting this error Unable to create or update webhook. Non reachable URL : 'https://xxxxxxxx/fmerest/v3/automations/workflows/4c2cbc0e-3df1-4cbe-9154-b866fe5b6a09/2274b9f3-c600-2ead-a2bc-a20dab4d8db0/message' has been specified for the webhook with name or id 'Check_Item_Name' Can someone please let me know what I am missing here
I’m sure I read somewhere you cannot have multiple triggers (of a certain type) in an automation, but I don’t know if this was only valid for some old versions of FME Server.The thing is that a customer has FME 2022.2.2 and asks us to give them indications to build an automation (they’re not giving us access to their FME Server, which makes everything a bit tedious). I planned to have 2 webhook triggers, each of them would execute a workspace and both workpaces would be connected to the same ‘Send email’ external action. Each workspace would have 2 additional ports with the ‘email to’ and a pdf to attach to the mail to send.Now, is this possible in a 2022.2.2 automation or should I build 2 separate automations?Thanks!
When you create a Gallery App you have the option to add URL's. By default these will open in a new tab when clicked. It would be nice to have an option to choose between a new tab or to open in the current tab.I now have a Gallery App with URL's to other Gallery Apps. In each Gallery App I put one URL to return to the main Gallery app. After navigation in this a little bit I'm stuck with multiple open tabs.
In FME(R) 2024.1.1.0 (20240729 - Build 24619 - WIN64) when connecting to FME Flow (same build), the download will only show the first 100 workspaces in a repository, any thoughts on why or workaround ? I know I can use the Flow UI to download, but using Form is way more efficient.
Hi,I’m attempting to run a workspace on FME Flow Hosted from within another workspace with an HTTPCaller using a webhook URL.The child workspace will eventually return a URL link to a zip file as it uses the DataDownload service.The workspace can take some time to run (> 5mins) as the data can be quite large.My issue is that I want to run the job synchronously so I’m able to retrieve the URL within the parent script to send it within an email, but the HTTPCaller always times out if the child script takes longer than 300s to run even if I set the timeout values to anything over 300s or even 0 (wait indefinitely). It is successful if the child script runs quickly (<300s).This is a problem as most instances will take longer than 300s.I don’t understand why it times out if it goes over 300s even if I tell it to wait longer.Is this a bug? If so, is there a work around or is it on the path to being fixed?Thanks
Hello,I’m looking to trigger a workspace with a webhook which generates zipped data using the data download service which then provides that data link URL in a customized email to the user.I’ve setup an Automation to be triggered by a webhook which will run a workspace that generates the data (and outputs the information for the email with an Automation writer). I’ve got this launching another script that uses the first script’s JOBID along with an HTTPCaller to get the URL link which is then output using an Automation writer. This is finally passed through a Log and then on to an Email external action that uses the email information and the URL to generate a custom email with the download URL.However, when I trigger the automation, no URL is generated (even though the process works) as the workspace is not run with the Data Download service. I assume it defaults to Job Submitter. Is there a way to run a workspace in an Automation and make it use the data download service?If not, how c
I have a workbench that work fine on desktop and server with the job submiter.But if i use it with a workspace app on FME Flow 2022, the optional user parameter must be set. I cannot leave blank. any idea why or how to correct that problem.thanks! Edit : My app has the “authentification” activated. if I desactivate the “authentification”… app works fine.
We just upgraded our on-prem Flow (from 2023.2 to 2024.2.2) and are now are dead in the water --all scheduled workbenches will not run, but seem to be valid --after restoring from the backup (I even tried reinstalling the successfull backup again, but it failed on the second try). I then tried re-uploading the workbenches to the new Flow version from the Form workbenches (both old and new versions) but can not access the repositories to save them there to re-schedule them in the new Flow. Yikes. Help. Please.
Hello community,I am currently facing problems uploading files to FME Flow. Previously I was handling this with a “FMEFlowResourceConnector”. One of our instances was now updated to version FME Flow 2024.2 (Build 24783 - win64).As the transformer “FMEFlowResourceConnector” was deprecated in FME 2024.1.0 (and it anyway refused to work with the transformer) I tried to go directly through the Flow REST API with a POST request. My request:/fmerest/v3/resources/connections/{connection}/filesys/{path}In my concrete example:/fmerest/v3/resources/connections/FME_SHAREDRESOURCE_DATA/filesys/Test I get this as a response:"message": "Error communicating with FME Flow host XXXXXX.\nContact your FME Flow administrator who can investigate the log files for further details.\nAlso see: http://fme.ly/e100007#error-communicating-with-fme-server-hostConnection refused: connect" However, when I try the same approach on my local installed Flow (same version), it works using this POST request. Does anyone h
Hi all,I removed/deleted several automations in FME Flow (Server), I stopped most of them, but probably not all. All these automations were monitoring the same folder, and for some reason they are still running and processing jobs.How can I completely delete them?I have already tried restarting FME services and restarting the server, but that didn't solve the issue.
Hello FME Community users, I am trying to upgrade FME FLow from 2024.0.3 to 2024.2.1. I looked into this article https://docs.safe.com/fme/html/FME-Flow/AdminGuide/Upgrade-in-Place-Same-Machine.htmJust wondering if there is a better compared to install/uninstall as mentioned above. Such as done on ESRI side.
I created an FME Flow cleanup task for a folder under Resources/Temp. However, cleanup isn’t happening on my test folder because FME Flow isn't resolving to the correct path for the FME_SHAREDRESOURCE_TEMP parameter. The path on the server is D:\ProgramData\Safe Software\FMEFlow\resources\temp\, which matches the path for the FME_SHAREDRESOURCE_TEMP parameter listed in the fmeServerConfig.txt file. The error in the system cleanup log states “Path not found for system cleanup:D:\ProgramData\Safe Software\FMEFlow\resources\system\temp\AA_Test.” - same but with “system” folder added in the path. Should I be using a different parameter? I'm unclear why the path for FME_SHAREDRESOURCE_TEMP is different in the system cleanup task from what is listed in fmeServerConfig.txt file.
We are trying to update our on-prem FLOW (from version 2023.2) and I have successfully created the backup but am unable to determine the location of where the file was saved to. The FLOW interface does not provide any clues as it does not indicate the target directoy (please see attached screen grab). And doing a seach on my C and D drives with keyword ‘.fsconfig’ yelds no results. Where does the backup file get saved to? Thanks!
An automation reads a message from a JMS queue and should trigger a workspace, the message content is passed as an automation parameter. This message is valid json, however we’ve had some cases where the message is something along the lines of{ "ID": "1234", "Notes": "Careless typing} includes a right hand curly brace"}This is valid json but the job fails with a status of FME_FAILURE and a statusMessage of "extra characters after close-brace". How should the message be passed to the workspace if json like the above example leads to failure to submit?
HelloWhat are the prerequisites to be able to run Automation on a FME Flow instance?When I try to build and test/run an automation I keep getting an error:Unable to assemble automation. There was an issue with component "Workspace". Subscriber configuration does not exist.It does not really matter what I add as action in the Automation. I keep getting this similar error.The FME Flow I am using is running in a Kubernetes environment on an Azure cloud with one Engine using version 2024.1.In the end my question is is it the set up that does not allow Automatons or is there possibly something missing in my installation? Or any other reason that I can not see? Unfortunately I was unable to find any thing in the documentation or any where that could explain this
This question came up at my office today. Can I have two FME Flow engines at different versions installed on the same Windows Server? I’m guessing that the answer is no but I wanted to get official verification on that.
Hei,on the webside about Troubleshooting SharePoint Web Connections and Services – FME Support CenterIt says “If the application is single tenant then you should have the directory (tenant) id in the URL instead.”Unfortunately, I can’t see where to find/change this URL. Where should I register the tenant ID?Can somebody point me in the right direction?Thank you.
Hello,I am working on converting point cloud data from the E57 format to the LAS format. However, I’ve encountered an issue with the intensity component.In the original E57 file, the intensity values range between 0 and 1. After the conversion, the intensity values in the LAS file become a constant integer with five digits.I would appreciate any guidance or suggestions on how to retain the original intensity format during the conversion process.
HTML Pages created with FME use an external stylesheet:<html> <head> <title>Report</title> <meta charset="UTF-8"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" rel="stylesheet"> </head> <body> ...... </body></html>This is somewhat of a problem when FME Flow has no access to this location, as HTML pages displayed from FME Flow Apps in that case will show without this stylesheet, thus maiming the layout.Are there alternatives for using this external stylesheet, like placing a copy of it somewhere on the FME Flow machine? Then the <head> of the HTML page could point to this local stylesheet.The stylesheet contains a lot of information, so adding the contents of the stylesheet to the header of the HTML file does not look like a viable option.