Creating and organizing workspaces. How to use Workbench.
Recently active
I have a set of features with name and value attributes that need to be written to a file, but only if certain conditions are met. i.e. one or more of the values meet certain conditions. If one or more of the values satisfies the condition, then all the features need to be written to the file. Is there a way to set conditions on one or more feature, that if satisfied, will allow the entire set of features to be written to a file? Example below:If minimum relative humidity <= 25 or the KBDI > 600, then write all the features to a six features to a file.
Whenever I run my child workspace by itself I get correct results on my translation written to a SQL Server table.If I run this workspace from its parent workspace I lose attributes coming from a specific output stream going into a featuremerger with multiple suppliers..Top picture is result from child workspace; bottom is if child is ran from a runner. At the bottom I lost values to HTTP response success, FeatureLayerCount and Selected Features.These 3 attributes come from junction 6d: Workflow stats. I added a Feature holder before featuremerger hoping that can solve the issue but it did not.Seeking ideas or anyone who have similar experiences with workspacerunner.Thanks!
I'm getting this following error while connecting to oracle database and reading shape and metadata from oracle table2020-01-23 14:34:22| 2.1| 0.0|ERROR |BADNEWS: An error occurred while fetching from query `SELECT SDO_VERSION FROM DUAL' : OCI_NO_DATA StatusInfo *STFDB_OCIStatement::fetch(STK_UInt32, STK_UInt32 &)(foundation/framework/util/dbwrap/ocistmt.cpp:661) - StatusInfo *STFDB_OCIStatement::fetch(STK_UInt32, STK_UInt32 &)(foundation/framework/util/dbwrap/ocistmt.cpp:661)For every sql query in the workspace, I get following error message ORA-01002: fetch out of sequence StatusInfo *STFDB_OCIStatement::fetch(STK_UInt32, STK_UInt32 &)(foundation/framework/util/dbwrap/ocistmt.cpp:661) - StatusInfo *STFDB_OCIStatement::fetch(STK_UInt32, STK_UInt32 &)(foundation/framework/util/dbwrap/ocistmt.cpp:661) Query runs fine and fetches result but there are a lot of errors I notice. Is this complaining about Oracle Instant Client ? Any input related on this would be appr
I've just had a support request which reminded me of an issue I had a few months ago using a looping transformer to page through HTTP requests, where I was ending up with more data than expected. The cause was the reusing a list attribute and I'd like the communities opinion on whether this behavior is a bug or just something to be aware of.You can see what is happening with a simple workspace likewhen the _list attribute is reused in the second AttributeSplitter it is not getting cleared before hand so it is retaining the 4 and 5 from the first AttributeSplitter.It's easy to correct once you know what is happening but it can cause some head scratching to debug, particularly in a looping transformer. Should anything that creates a list clear out any existing data first or are their situations were this behavior is wanted?
Hello guys i am still new ,may be the question is basic but i need help .after i knew which is passed or failed ,i want to make condition now .if passed has output so mergd passed and failed together (i mean i want to have the original input again then connect with multipe transformers to do something but if has only failed and passed has no output , so merge also but go to another multiple transformers to do sth. else .thanks for help
Hi!I have a workspace that I want to stop with a terminator if no features leaves a transformer. I have tried to download the "NoFeaturesTester" transformer from FME Hub but nothing happens when I try bringing it into my workspace. I have downloaded plenty transformers from FME Hub earlier without any problems.
Hi, Goal of this workbench was to be able to expose the property sets attributes of a Civil dwg, without knowing the attribute names. I am only interested in the property sets starting with a fixed prefix. I have started from some python code I found here: python attribute namesTopic is related to:https://knowledge.safe.com/idea/18842/bulkattributeexposer-expose-all-possible-attribute.html https://knowledge.safe.com/questions/32777/how-to-expose-all-attributes-in-generic-way-any-ma.html Since I don't know the attribute names beforehand, I have to use a dynamic writer. First I was trying to avoid this, since I am not familiar with the dynamic workflow, so I was writing everything to a json string, so that I was able to write all desired output. But now I am trying to use the dynamic writing functionalities.I have 2 questions:1/ the attribute names in the shapefile output are too short (have a length of only 1-3 characters). How can I fix this?2/ Is it possible to put all exposed at
Hello,I'm stuck and I hope someone can nudge/push me in the right direction :-)This is a table where I keep the "Aanschafdatum" (purchase date), "Afschrijftermijn" (depreciation period), "punten" (points), "JarenInGebruik" (Years in use).I want to set the "punten" in the columns 2019, 2020, 2021, 2022, 2023, 2024 and 2025 according to "JarenInGebruik". Here's a little example: Is that possbible? If so, what are the transformers that I can use?Was thinking about AttributeCopier but I can't get my head around the others... TIA-Jonathan
i have name with special characters so i need to select which is containing special characters.NamesÇaõeshLoõeshNaveeõSaÇdaÇNaggattuHigh way 54Local-Street Select like yellow highlighted data only Note Exclude: Pure numericPure AlphabetsCombination of Alphabets, numeric and Spacescombination of Alphabets, numeric and hi-fen.
for example:TableA has attributeA and keyA. TableB has attributeB and keyB.if keyA is found in keyB, copy attributeA to attributeB. Don't create a new record; just populate attributeB in TableBThere's a 1 to many relationship between TableA and TableB.Does this require multiple transformers and if so which ones and how would they be setup?
I'm running the WSR with 7 concurrent processes. Is there a way to add information to the opend cmd window to identify which window belongs to which processes?I need to terminate from time to time a cmd as it's hanging but I can't identify know which window belongs to which process and I need to guess.In a batch file I would add TITLE parameter in it. Can something similar be set for WSR? Below screenshot shows 7 CMD's but no distinction between them is possible:The provided command is too long to check in the taskmanager. The part to see the difference can't be set on the monitor:
I have a workspace reading a polygon which is buffered and send to several featurereaders that read data from several sources (shapefiles, WFS, dwg,…).Data is selected within this searchpolygon (using a spatial filter in the featurereaders) and the selection is written again using featurewriters.All the summary-ports of the featurewriters are going to a featureholder (from the hub): when all data is read, written and ready a new process of map production starts based on the original polygon.This works very well, except when there is no data to select from a certain datasource/featurereader, then I get this error:2019-12-10 09:54:57| 1.1| 0.0|ERROR |FeatureWriter_11 (WriterFactory): Internal Error: Failed to thin feature table2019-12-10 09:54:57| 1.1| 0.0|ERROR |Internal Error: Failed to thin feature table Is this something buggy or excepted behavior? What is the best way to ‘catch’ this situation and still go on with the map production flow when all other data is written?A simplified w
I've used a method in the past with a WorkspaceRunner to pass a timestamp value into the log file name parameter of a second workspace to ensure that I always get a unique logfile for each rn of the same workspace. But, that's only any good when I can trigger the process in this way. Right now, what I want to be able to do is to use a scripted parameter ideally to generate a unique log file name that is say a concatenation of the workspace name and the start time so like: FMEBatchRun_2014-03-12T12:01:52.log. Is a scripted parameter the best option for this and if so, can anyone help me with the syntax as I'm not much good (any good really) at writing python... Thanks, Dave
In FME Server 2019 + a new feature 'Automations' was introduced. Among other things this features allows you to create Schedules, however the Schedules only page still exists as well. After a successful restore should I convert all my existing Schedules into Automations? Moving forward how do I decide when I should be using the Schedules page vs building an Automation?
Hi Everyone,We are trying to execute FME workspaces in batches of eight in parallel to avoid license limit issue. The requests are received dynamically above 8 by a java/ python program but the processing should be done in batches of 8 always. Ideally the requests above 8 should go in queue and wait for the last batch of 8 to finish.
attribute transfer from input to another input ? two input no public attribute?how to do ?
Hello, I have the following question: I would like to automate a process that involves running an ArcGIS Python script and then 5 FME workspaces. I thought about doing this with 6 workspaces, which I call using the WorkspaceRunner. For this to work, I would have to use the ArcGIS Python interpreter for the first workspace and after that the FME Python interpreter. Is it possible to set this as an option in each Workspace? I know it is possible to change the standard Python interpreter in the FME Options, but is it also possible to define it separately in different FMW files?Thanks a lot for your help in advance!
The attached workspace contains of two parts. In part 1 I transform an excel document which contains many records of clients and products. Some clients have had only one product, others might have had 10. The result is also an excel document in which each client has only one row. In the row the order of al te products is displayed in time starting with the first product and ending with the last product (in time).In part 2 some checks are done on the data. For example some products of the same categorie may not be handed out within a short time period. The workspace does the trick, but is quite slow. I think things could be made more efficient using loops. I've done some research on the internet but can't find the solution yet. Any help would be appreciated.
I'm looking for ideas to help me get around a problem with hanging FME Process. I've found (at least one case) where FME is hanging with a difficult geometry - I've tried a few things to fix the geometry, however, I haven't had much luck (I'm going to pass it on to support for them to look at).The process is being called web API and it's expecting a response back when completed, either failed or successful - I am just using Fail topic to send back a response. I decided to add in a 'tm_ttc' directive to make the job timeout instead of running forever. It works great, however, now the Failure topic isn't getting triggered and I can't let the tool know to wait for a response. It's the same when the job is canceled manually from the FME Server web ui. Any ideas on this one? Cheers
I thought I would check here first to see if anyone has seen this issue - before I log it with support.The Column Aligned Text (CAT) reader embedded in a Feature Reader is missing the fme_dataset and fme_basename attributes - even though they are specifically exposed. I am using FME Desktop version 2019.2 (build 19801 – WIN32).This was working fine in the last version of 2018.Thanks in advance.Mike B.
HelloI have to deal with a data versioning issue.Do you know if any tools of data management are available with FME ?What do you advise me to version data according to a software version?Thanks
When delivering workspaces to a customer or a user, I really want the workspace to run without feature caching turned on. With FME 2019.1 the feature caching is turned on by default. Does anyone know of a way to set this behaviour in the workspace file like a worksapce parameter? Issues come when the user want to run the process again, FME 2019.1 is clever and hides the input parameters, however, not all of them. When clicking run again sometimes there is the option to select new data, however, the other options are not there. This results in unexpected behaviour (like dropping a database table instead of inserting into it...oops!) The user actually needs to Re-Run the whole workspace which is also now not the default. I've been getting a lot of support request because of the workspace producing unexpected results. I've also documented it and made it as clear to the customers as I can, however, the issue still comes up with users who are not familiar to FME. I'd really l
I have attribute, that contains mostly 3 street names (there are 1 to 4 street names per attribute).Street names are in finnish, but I would need them also in swedish. I have csv-file that contains street names in finnish and swedishSingle street name would be easily changed with AttributeValueMapper, but how can I change 3 in same attribute?for example "Mikael Lybeckin tie (Kasavuorentie-Bredantie)" => "Mikael Lybecks vägen (Kasabergsvägen-Bredavägen)"This solution is quite close ebygomm Python script
I have a filed like Language and Values as English, French, Italian, Hindi and EtcBut i don't know how many languages are present in that field.Challenge: I would like to export separately for each language.