A space to discuss FME Flow
Recently active
Hi.I have built an automation with some business logic consisting of 4 chained workspaces (W4). I duplicate this automation for each new dataset I need to run, using a single global variable to control the data being handled (SQL Server schema name).However, one customer has 4 such setups, which gives me some problems when coordinating the 4 automation runs, and I would very much like to just have to run a single automation for each customer (with multiple schemas).I’m thinking that I could use the global variable to define a separated text with all 4 schema names, using a single workspace to split this into 4 outputs via an Automation Writer feature type, and start my 4 workspace chain (W4) for each value.However I’m unsure how to merge the 4 W4 runs. How will a Split-Merge block (or Merge action) handle such runs ? The content inside the block is just the 4 chained workspaces, but they’re being run 4 times in parallel.Has anyone attempted this, or have any insight into merging works
Hi,I am struggling to trigger a automation from a custom html-form. It seems that the post-action never gets to the automation in FME Flow. My html-page looks like this:html-formThe html-code is this:html-code When I hit the [Submit]-button I get a white page - no error - nothing is logged! I know the automation works because the API-page gives me this: API-pageWhat I think might be wrong is that on the API-page I have a Token - which I don’t have on my custom html-form! How do I add the token to the HTM-form? Another question is wheather the request body coming from the custom html-form is right since I don’t see it? Thanks in advance.Regards Jakob
When in automations you work with the dynamic workspace runner the workspace field blanks after hitting [apply]. It is annoying and confusing because some times the chosen parameter value is not forgotten and some time it is forgotten!? I believe this is a bug but have not seen any mentioning of this in here. So appologies if this is a known issue expected to be solved in next release!Before [apply]:After [apply]:
I have a workspace app published to FME Flow allowing users to upload files to process and load into a branch version through the portal feature service writer. When other users run the workspace via the app, the new version created shows my user information, along with all of the editor tracking fields. What steps can I take to configure the workspace/workspace app/web connection to utilize the user credentials of the user running the workspace app, ensuring the version and features created reflects their information rather than mine?
Hi,Yeah, this was an old wish, to be able to easily see the difference between the FME Flows on the tabs in a browser when multiple FME Flow servers are running, e.g. for development, testing, acceptance and production (DTAP).See also this question: FME FLOW 2023, Is there a way to change the color of the blue ring logo on the browser tab icon? We took it even one step further - see image below Two simple changes: a different color for the icon on the tab and for the bar on the left hand side.to modify the icon you will need to have access to:<FMEFlowDir>\Utilities\tomcat\webapps\fmeserver\images\favicon-fme-flow.svgThe (one?) good thing about the new FME Flow logo is that it is monochrome, so it is easy to modify favicon-fme-flow.svg (with an SVG editor, for example Inkscape) to set a different color.to modify the color of the sidebar you will have to edit<FMEFlowDir>\Utilities\tomcat\webapps\fmeserver\styles\safe-software-app.min.cssSearch in this minified CSS file for.si
Hi I am getting error message below when running JobHistoryStatisticsGathering in FME Flow. I am using FME Flow 2021If I download the workspace and run it in FME Form, it works OK.Any ideas? 2024-4-26 15:55:20 | JobHistoryReader_TestFilter (TestFactory): Feature specification `TEST_GROUP' in mapping file row `FACTORY_DEF {*} TestFactory FACTORY_NAME { JobHistoryReader_TestFilter } INPUT FEATURE_TYPE JobHistoryReader_TestFilter_INPUTLINE TEST_GROUP TEST { @EvaluateExpression(FDIV,STRING_ENCODED,<at>Value<openparen>timeFinished<closeparen>,JobHistoryReader_TestFilter) CONTAINS_REGEX <backslash>d-<backslash>d<backslash>d:<backslash>d<backslash>d ENCODED } TEST { @EvaluateExpression(FDIV,STRING_ENCODED,<at>Value<openparen>timeFinished<closeparen>,JobHistoryReader_TestFilter) CONTAINS_REGEX <backslash>d<backslash>+<backslash>d<backslash>d:<backslash>d<backslash>d ENCODED } BOOLEAN_OPERATOR
Hello All,I want to complete this in FME similar to how I did it in ArcPro below using Select by Location Calculating the percentage of area in each Grid Determine the number of pixels within each grid Calculate the % of areas within each grid by dividing the number of pixels by 111 111 and multiplying by 100 Generate the density map with density classes: 7 categories Example: if the grid has 35 000 pixels, then the percentage is 31.50%thanks!
In a FME Flow Workspace App can users log in.How can I get the username as a variable in my workspace. Each user shall read and edit diffrent datasetts.
I have a process which creates 4 asc files, and then sends them to a zipped file. At the end of this process, this file is to be emailed. I have an attribute creator which creates the file name as ‘attachment’, as it does contain dynamic elements, before using that attribute as the attachment field in the emailer. When i run it on my local computer, it works perfectly fine, and I get an email with all four files zipped. However, when i run it on FME server, the zip file only contains 1 of the four. Regardless if the files have content or not, they should all write to the folder, and then do, i can see in the fmeserver directory, that all 4 files have been zipped up, but when it is emailed, it just seems to delete three of them. The sampler is there so it only sends one email, but the attribute creator refers to the zipped file, which is created in the system caller, so all four should be sent.
Hi, I have a toolbox in ArcPro that is creating a csv with list of all layers present in webappliction. Is there a way that I can run that script from FME and get the same result? I cannot access the content of the webmap in FME as I am using SingleSignOn to log in into EsriEnterprise.
As we all know, FME supports use of Python in workbenches, either via PythonCaller, scripted parameters, etc. The risk I see though is, that unexperienced user or malicious insider could potentially run Python code with access to Operating System commands (os.system for example) and create some damages (delete shared data folder contents, remove some files or corrupt Engine host, map external drives and copy data there, etc., you name it).What are the best practices to restrict access to this type of Python modules? Is there any built-in functionality in FME Flow that could help to address this security concern?
Hi Could anyone help please? I have created two connections to Microsoft SharePoint, one for SharePoingOnlineConnector and one for SharePoint List Reader/Writer in FME Form.When i use either after uploading to FME Flow i get this error from Flow when running a published Flow App but it seems to work when running directly from the Flow UI SharepointOnlineConnector: Connection 'xx SharePoint Files' does not exist. Check connection parameter and connection definitions in FME options and try again I have gone into the group settings and granted full control to every user group that can use the Flow App, we are using AD authentication and that appears to be working fine. If anyone can assist i would be very grateful Thanks Adrian
I am having trouble setting up an FME Flow Workspace App. We have setup our environment to have many users added to the “fmeguest” group and have them pretty much exclusively use Flow by accessing Workspace Apps. For a while now we have been using the “Requires Authentication” option on our flow apps with “fmeguest” as an Allowed User. However this appears to now not be working. Any time we add any additional allowed user (above the author of the app) and hit ok to host the app, those users are dropped. When we return to the edit screen only the app creator has access again. This means no additional users can gain access to the flow apps, which very much defeats the purpose of them. Just wondering if anyone else has encountered this problem, might be a tricky one for people to replicate to help. We are on FME Flow 2023.1.1.1 Any Ideas are welcome, fire them through and we will give them a go 😊
Uninstalling FME Form (and FME Flow) takes an unusually long time. We’re talking about 15+ Minutes on a powerful desktop PC (i9-10900k @ 3,70 GHz, 32GB RAM, fast SSDs). This is somewhat annoying, as there is still no way to update the program “in place”. Tested with FME Form and Flow 2023.1.2 Build 23641. I wonder what could be the reason? Maybe some kind of Windows real-time protection? Changing the Windows security settings is not an option as these are dictated by the IT department. Edit: I’m unable to create this thread in the “General” category (can’t be selected from the drop-down menu). So please move this thread if it doesn't belong here.
Our FME Server was patched and rebooted, which left it in a bad state. The automations and schedules kept triggering jobs but no jobs were running. It wasn’t noticed over the weekend and we now have over 160,000 queued jobs and I can’t get the FME server to respond (it hangs at the login screen, API calls just hang). I’ve restarted services, the machine etc etc. I think the issue is the fmejobrestore starts restoring all these jobs to the queue when I restart the fme server services. I’d like to cancel all the queued jobs in the back end database. Can I remove the records from the fme_jobs table? Will this cause any issues? Thank you!Kathy
I have finished a fresh install of FME Flow 2023 with a core machine and a distributed engine machine. The distributed engines show up on the web interface but I can’t control them. I can’t tell it how many of them to start (or stop). What additional configuration do I need to do?
Has anyone managed to upload a ZIP file of Cesium 3D Tiles into Cesium Ion through its API? I can upload a CityGML through the CesiumIonConnector but want to try writing Cesium 3D Tiles and uploading the ZIP file. Thanks
I’m trying to debug an issue with the Job Submitter Service (I haven't actually tried any of the other services) .I have a process which runs fine from the FME Server UI (FME Server 2021). I can fill in the parameters (also upload an input file) etc. The jobs runs.If instead I try and run this using the jobsubmitter service via REST call - e.g., http://Host/fmejobsubmitter/Repository/workspace.fmw?parametersThe response is a 404. What is interesting to me is that I’m able to use the URL without the parameters and get back a proper response - that is for example: http://Host/fmejobsubmitter/Repository/workspace.fmw. It seeeeems like the issue is somehow related to the input file, however, in that case I would expect the job to fail rather than return a 404. so to me it seems like there is a problem actually submitting the jobI’ve checked permissions and the user definitely has access to the repository where the workspace is, and in my testing removing the permissions returns a 401 ERROR
Hi,I have a basic outline of how I would do this with FME Rest API, but wondering if anyone else has done it already in a comprehensive fashion, or whether Safe may have already created something for it? @siennaatsafe We are moving from Active Directory to Azure Active Directory (new name: Entra ID) in FME Flow. I just need to be able to move all user content and roles to a new AAD (new name: ME-ID) user.For instance:group: FME from AD already exists, but I am going to import group: FME from AAD and then switch all the content and role capabilities for all the underlying users. Happy to take anyone's learnings as well, just to ensure we don’t overlook anything? Cheers,Todd
Hi All,I am new to FME Flow. We are installing FME Flow 2023.1. We are setting up a two-tier distributed FME Flow environment with a machine which hosts FME Flow Core and Web server, and two separate distributed machines where the workspaces will be executed within the same network. Let’s say I have an automated scheduled job which supposed to run at one of distributed machine at a certain time. For some reasons, the FME Flow Core machine is down at the time when the scheduled job supposed to run. When the FME Flow Core machine down, is the scheduled job still able to start to run at the scheduled time automatically? If not, am I able to start the job manually on the command line on the distributed machine without the FME Flow Core machine available?Your help is great appreciated. Thanks, -John
Hi everyone, is there a way how to integrate Flow Apps through iframe into another web site page. There is a block in CORS setting Flow Apps strict-origin-when-cross-origin. Any idea? Kindly regards
Hello everyone,I have a problem with FME Flow 2023.2.2 and the module xarray 2024.2.0. I need xarray for reading netCDF data and have created a Python script for this in FME Form 2023.2.2. This also runs without any problems. However, when I upload this workspace to FME Flow and start it there, I always get the message that the run has failed.After some research I found out that FME Flow has problems executing the command xarray.open_dataset(). I'll post the script and the logs of FME Form and Flow:import fmeobjectsimport xarray as xrclass FeatureCreator(object): """Template Class Interface: When using this class, make sure its name is set as the value of the 'Class to Process Features' transformer parameter. """ def __init__(self): """Base constructor for class members.""" pass def input(self, feature: fmeobjects.FMEFeature): print("Assign file") file = '/dafis/OpMod/t_file_fine/t_file_fine_2024040300_006_012.nc' print ('File: ' + f
G’day, I have been having all sorts of issues trying to get the Out of the Box backupConfiguration.fmw tool to run via a schedule, I don't think it has worked properly since we installed FME Server about 6 years ago, we have just kind of ignored it and never made repairing it a priority. At one point we recreated the schedule from scratch as a result of me creating this topic (BackupConfiguration.fmw "Unable to retrieve backup from FME Server..." | Community (safe.com)), but that win was short lived. I have only just now realized there is a tab on the admin panel of FME Flow called “Backup & Restore”, and I am wondering if someone can tell me the difference between the two? The Backup & Restore tab has apparently run fine for as long as our logs go back (Sept 2023). Am I duplicating effort by trying to get backupConfiguration.fme to run? Or are they separate things? Just for interest's sake I have attached the log of the most recent run of backupConfiguration.fme including the
How long in terms of days is a log file saved after an Automation is run? is the log file overwritten the next time the same Automation runs? or is the log file archived somewhere? Also, the log files in Resources referenced below, how long are they saved? how often are new ones created and saved?Files & Connections - Resources - Logs - Engine - OldFiles & Connections - Resources - Logs - Core - Old
Often getting error “QSInvalidRequest” while an automation triggering a job at scheduled time