Creating and organizing workspaces. How to use Workbench.
Recently active
I have multiple shape files from different owners classified in sub-directories. All Owners have shape reader entries in my workbench. Every once and a while some readers don't read the file and so I loop input. Testing the input in the workbench with the inspector option works well so the data is there. I need to recreate the reader.How can I test non read input from these readers and terminate the workbench before going any further. When I put a counter after the reader it isn't triggered so that doesn't work.
Hi! I'm using FeatureReaders in my workspace, and when adding a Writer, I would like to use Copy from Reader option to get the feature types and their attributes to the Writer, but I can't because it seems Copy from Reader works only for Readers. Am I missing something, or is it not supported yet?Also I can't get the attribute types and lengths from an FeatureReader (Copy Attributes From Transformer), and I need to have a Reader, copy attributes from its feature type.
I'm trying to create a zip file when the workspace completes that containing sub-directory and file in the root coming from file output by FMEServerJobSubmitter.
Hello everybody,I want to make my FME workbench executable from outside of FME. What expected is something like a program you can open by double click. After that a window should be opened where you can enter a few user parameters. By clicking another button the FME workbench should be runned and the user parameters should be used in that workbench then. Do you have any experiences with that? Is there a feature in FME that allows something like that?Best regards, Felix
I have a colleague with FME who wants to batch run a few processes using workspace runners. The first workspace reads multiple Excel spreadsheets and runs successfully when started on its own, not using the workspace runner, but when trying with the workspace runner it fails at the reading stage with no further information on the error - including in the child workspace's log file. I don't have the workspace here to add, but any general ideas as to why this may fail would be helpful - if I can get further details I will do.
Can a reader be enabled or disabled in run-time based on certain conditions? Or a more general case: can a set of bookmarked transformers/components in a workspace be enabled or disabled in run-time based on some conditions?Thanks in advance,George
I need to read from a file with multiple records only the columns name that start with a prefix and convert them into a list to do some processing after with those column names. This is what I've got so farThis is the output with the column names that I need. But I need to convert those into a list to do some processing for every column name. How could I achieve that?Thanks
I have a workbench with a scripted Parameter for a temporary folder. The python start up script creates it. The workbench does it's stuff and empties the folder. All this works fine; folder created, data moved to it, processed, then removed.The shutdown script waits 5 seconds, then tries to delete the folder. I get an "[Error 5] Access is denied:" message (FME 2015 32 bit).Can anyone help determine why this cannot be deleted, please?
I have an FME Cloud instance and would like to scale up by increasing the number of engines.How do I do that, and how many engines can I have? Is there an extra cost?Also, what is the optimum number of engines, and what does that depend on?
Dear all,I have a problem which I cannot solve. I'm pretty new to FME and can't seem to find out a solution for my problem. I have a csv table with attributes such as parcel land numbers and land owners with addresses and so on. I need to export this data to a different files organized by land parcel number. So output is textual files (attribute created with text editor) with data like land parcel no. 2, owners no.1, 2,3 and so on (name, address), area size of the land parcel, things like that. So there will be as many files as there are land parcels. I've stuck because cannot seem to get all the parcel owners for one land parcel number. I get only first one and that's all for that land parcel. I've tried to work it out with list but really don't understand how that works in fme. The other solution is to try looping through that attributes but also stuck there. How do I get all the owners for each land parcel number. Thanks in advance for the help.Best regards
I'm having some difficulty trying to use a private parameter as a path for a Data Reader. The difficulty stems from the fact that the value in the parameter is not literal but is calculated at run time (based on date). The parameter name is SourcePath and its value is a concatenation of a literal string and two other private parameters, which are based on a date. At runtime the value in SourcePath would look something like this:P:\\GIS Development\\Vicmap_Downloads\\2017\\20170606\\The workspace itself is very simple, consisting of a Directory and File Pathnames Reader, and a corresponding File Copy Writer. The reader obtains a listing of files in the directory, as specified in the SourcePath parameter. It then supplies this list of files to the File Copy Writer to perform the copy/paste. If I set the Data Reader folder path to a literal string then the workspace runs fine. However this is not workable as the path must be determined at runtime because it's based on current
Hello FME-community, I want to upload a workspace to FME Server and ensure this workspace always runs with a default priority of 50.Is there a way to set the default priority when publishing the workspace to FME Server?ORCan you change the default priority of workspaces once they are published at FME Server? I know you can assign a priority when launching a workspace by the FMEServerJobSubmitter transformer, but this is not my intention in this case.
Hi @NatalieAtSafe,From this Q&A;: SMTP errorThe issue has been filed as C125117 (PR76958) and I was notified that it has been fixed in FME 2017.1 Beta already. I confirmed that the original issue has been resolved in FME 2017.1 Beta with Python 3.5, but the fixed Emailer newly causes this error when running with Python 2.7. I think the error apparently indicates that the implementation of the Emailer in FME 2017.1 Beta doesn't conform to Python 2.7 specifications.Emailer: <type 'exceptions.TypeError'>: character mapping must return integer, None or unicode Nearly two months have passed since I reported the error above, but it has not been resolved yet in the latest Beta build 17498.Could you please check the current status of the PR?
Hi all, I'am trying to update some atributes in features from Smallworld using fme_db_operation but my writters doesn't enable this field to exposed it, neither the "Parameters" box. I'm using FME Desktop 2011, Smallworld 4.1 and i got the next message in my log about Sworldswaf: "Trying to find a DYNAMIC plugin for reader named `SWORLDSWAF' FME API version of module 'SWORLDSWAF' is '3.1 20031010', which is older than the current with FME internal API version '3.6 20101014'. An updated plug-in may be available from the provider. " Do you know if it's possible to do the Update, Delete and Insert operations with Smallworld 4 Writters using my tools described? How I could use this kind of operations for Smallworld database? Thanks. Regards, Diego O.
Hello,I want to replace point coordinates (X and Y) with .3ds file and write to CityGML instance document as City furniture feature. Please let me know how to do this task in FME workbench v16.0.
Hi, can you please have a look at this issue and see if it's a bug that needs fixing?https://knowledge.safe.com/questions/42262/to-use-comma-in-variable-of-workspacerunner.htmlMy colleague stumbled into the exact same issue last week. We had to work around it by substituting the comma for something else, then using a StringReplacer in the child workspace to restore the value.
Hi @NatalieAtSafe,I am using FME(R) 2016.0.1.0 (20160130 - Build 16174 - WIN64) desktop. In child workspace, i have changed the publish parameter type to 'Text (Multiline)'. In parent workspace, when i am passing two numbers comma separated in workspace runner, Comma automatically gets replaced by '<comma>'. Eg. I am passing '123,345' but it is passing '123<comma>345' to child transformer.
I have 8000 polygons of varying areas and shapes. I want to divide these into equal area polygons.I am looking for a similar functionality to the land parcel editor in ArcGIS. My shapes look something like this. I have already considered the options where we intersect the shapes with a fishnet. This doesn't suit my purpose as I end up small clippings on the edges. Also the number of newly created polygons will depend on the size of the original polygon. What I am hoping to achieve with the expert advice from FME gurus here is to divide each of the polygon into 4 parts having equal areas. Thanks in advance.
I've heard that there are some users out there doing really cool things with python scripted parameters to help move workspaces between different FME Desktop installs and FME Server as well!!I'd love to know what FME users have been up to on this front! Please share your solutions.
Hi,I have published a workbench to FME server(2016) as job submitter service.This service will be called from an oracle table trigger (using utl_http.write_text(req, message)) and then the FME webservice will call the workbench(2016) in which i am sending a message to another webservice using HTTPCaller transformer's Post method.Now the question is:1.How to handle in case my FME call from the oracle trigger was failed for any reason like the FME server down or something else?2.How to handle if the HTTPCaller to the webservice from the workbench is failed for some reason?Is there a proper way to handle this issues? Any help would be much appreciated.Thanks,Mari...
The LogFiles in FMEServer are put in separately folder, depending on thenumber of digits, see https://docs.safe.com/fme/html/FME_Server_Documentation/Content/ReferenceManual/About_Log_Files.htm“<LogDir>\engine\current|old\jobs\<number>\job_<value>.logWhere valueis the job ID and number is the job ID group,which increments by thousand. Logs for job IDs from 0 - 999 are grouped into a0 directory, Logs for job IDs from 1000 - 1999 are grouped into a 1000directory, and so on.”Is there an variable on FMEServerfor this <number>? I need this in my Shutdown-Python-Skriptto get the logfiles independent from the number of digits.Here my Shutdownscipt:import shutilimport fmedatei = r"job_$(FME_JOB_ID).log"number = r"1000"src = r"C:/ProgramData/Safe Software/FMEServer///resources/logs/engine/current/jobs\\" + number +"\\" + dateidest = r"$(OUT_COMBINATION)"shutil.copy(src, dest)
I'm trying to use a string that contains $() (dollar, left parenthesis, right paranthesis) via a published parameter in a HTTPCaller.I'm having trouble using a text/string like that because, depending on the transformers used,either the part "$()" simply disappears, orFME throws an error: "Undefined macro `' dereferenced"I tried to create a feature using the PythonCreator and also Creator + AttributeCreator, however both fail with the error mentioned above. Screenshot of my test workspace:I thought about escaping the string but that didn't work either (no error, but backslashes "\" remain in the text):\$()\$\(\)What is the right encoding or escaping sequence here? I tested FME Desktop 2015.1 and 2016.0.
Hi All, I'm starting to use FME server and notification service. I managed to publish a workspace notifying some information by email when it's completed (with a TextFile writter...). It works when I manually run the workspace from the FME server. Now I would like to send the same notification when the workspace complete, but on a scheduled way. It seems to ignore notification information specified when publishing the workspace. And in the schedule parameters page you can define what Topic it should post to but not what data to post (and so you cannot specify that you want to post the output of the TextFile writter), it posts the standard information (job id, time infos, etc.). Is there a way to solve this problem ? Maybe I missed something... Thank you!
I'm looking for a solution to make my workspace a lot more dynamic for my use. I'm working on a easy to set up workbench where MariaDB (MySQL-compatible) Spatial reader and writer are connected with an AttributeManager in between. I would like to add my fmw to the server with some parameters that can set the Table list as prompt input data. The SourceDataset_MYSQL is already a prompted parameter but i cannot find a way to set the Table list/table name as a parameter. Any idea how to set this?http://docs.safe.com/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/mysql/MYSQL_reader.htmConstraints -> Table List
Hi,We are building a data extraction tool based on FME Server. This application build a form dynamically based on the published parameters. It needs to work in french and in english. Since i18n isn't possible on parameters descriptions and alias, we need to rely on a custom format that we put in the descriptions. The application has an additionnal step of parsing the descriptions to get the french or the english names/descriptions depending on the current language of the user.Is there any plan to support i18n on parameter names and descriptions?Is there a different way to manage that then the one we use?Thanks!