I have built an app with a geometry published parameter as input for the user. In my workspace I have the 'Optional' box unchecked, meaning it is a mandatory (not optional) parameter. However, when it is left blank and the app is submitted, I don't get a prompt telling me that it is needed. The job is submitted to server but fails right away, because it doesn't have a location. Other mandatory published parameters give a prompt to the user if they are left blank when the user tries to submit them. Is this a bug that the job is allowed to be submitted when a mandatory geometry parameter is left blank?
Hi @drc43 ,
very strange. Do you get the same behaviour in both FME Desktop and FME Server? What FME Desktop and Server versions are you using?
You can have a look at this Data Distribution Service sample apps (there is also a tutorial), that does something similar to your use case: if you leave the "Area of Interest" parameter empty and run the workspace, the browser shows a message saying that "There was nothing to donwload...", but the error is managed (I mean the workspace does not terminate abnormally).
Hope that helps!
Hi @drc43 ,
very strange. Do you get the same behaviour in both FME Desktop and FME Server? What FME Desktop and Server versions are you using?
You can have a look at this Data Distribution Service sample apps (there is also a tutorial), that does something similar to your use case: if you leave the "Area of Interest" parameter empty and run the workspace, the browser shows a message saying that "There was nothing to donwload...", but the error is managed (I mean the workspace does not terminate abnormally).
Hope that helps!
Hey @davtorgh ,
No, the behavior is different. On FME Desktop, it behaves as expected, with the Run button being greyed out until a value is entered in the Geometry parameter. It's only on Server that it happens, and both in the app and on the Run Workspace page of the UI. Both are v2020.2 build 20787.
Hi @siennaatsafe,
I'm wondering if you or any of your fellow FME staff have any information on this. This is becoming a bit of an issue for me. Thanks.
Hi @siennaatsafe,
I'm wondering if you or any of your fellow FME staff have any information on this. This is becoming a bit of an issue for me. Thanks.
Hi @drc43 ,
I'm sorry but I believe this is a bug. We should be treating the GEOM parameter the same as others. I've moved this question over to a case. I'll file an issue for this and attach it to the case.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.