1

Using FME 2017 Desktop with ArcGIS 10.2.1 & Oracle 12c.

I am filtering features using a WHERE clause which has a LAST_RUN_DATE being read from a control table.

I am using a SDE reader to get the LAST_RUN_DATE which feeds into another transformer but in some scenarios, like using SQLCreator where there is no input port, it cannot be used unless published as a parameter or hard-coded.

I have now created a published parameter which I am populating before every run - manually.

My question is - can the output of my reader be creating or populating a Published Parameter?

asked Aug 21, 2020 at 7:31

1 Answer 1

5

No, as far as I know you can't update User Parameters when running the workspace. Parameters are designed to set before running the workspace.

If you really really really need this you can workaround it using a WorkspaceRunner to fire a child workspace, which you can start with the parent workspace defined published parameters, fed by attributes.

But why not simply use a SQLExecutor instead, which is the same transformer as the SQLCreator but does have a inputport and can be fed by attributes.

enter image description here

As a pro tip, you also can use a FeatureReader, which is in most cases the same as a specific Reader, but with an inputport to initiate it. If you don't have an initiator, use a Creator to start it.

answered Aug 21, 2020 at 7:53
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.