Skip to main content

I have a set of self-service data conversion apps on our FME Flow (2024). As of now these are workspace apps with a data download service for the user to upload the input data and download the results. I would like to expand on this a little by doing some quality checks on the data and give user feedback on some potential problems. I have started testing on setting up the workspace apps with data streaming services and building HTMLreports for user feedback. The main problem is that I struggle to see how to provide both. The data download app won’t show the HTML report, and the data streaming app won’t provide a download.

 

I have looked at this demo article, as it seems to provide what I need: https://support.safe.com/hc/en-us/articles/25407459193613-HTML-Page-with-Link-to-Download-Excel-File-FME-Flow-App

My problem here is that this demo shows a workspace where the input data is already uploaded to the server resources, while I want to run this for user uploaded data. Are there any tips on how I can achieve this? Can I trigger the webhook from part 2 with user uploaded data?

 

One way you could do that is by splitting the quality verification process of the actual conversion service you want to provide.
Each with their respective workspace.

Your workspace app would run the quality check workspace with data streaming. This workspace would return an HTML report either that the dataset has issue or is correct.

But if the dataset is correct, the HTML Report would include a button/hyperlink to run your second conversion workspace with Data Download webhook and the correct user parameters.

And if you’re interested in making custom HTML reports, I would suggest you to take a look at this Custom Transformers ecosystem that I’ve made !

It might be helpful with those reports (there’s a BRGButton that you could use to run the second workspace !)


Reply