Skip to main content

Dear all,

I have a (parent) workflow that uses an Excel file as input. The file contains string values which are used to query an API on the internet. Every record contains a different querystring. The actual calls are made by a workspace which is used as a workspacerunner (see the first image).

In that workspace I have exposed returned fields as attributes (see the second image). The problem I am having is that I expext a number of attributes coming out of the workspacerunner, but I only get two, which are the input attributes of the workspacerunner. How do I make the workspacerunner spit out the right attributes?

The WorspaceRunner does not transmit the attributes (or features) that where created in the child workspace, it only transmits whatever went into it (initiating features).

If your parent workspace needs to access the features created inside a child workspace, you will have to store them to some intermediate file format (FFS could be a good choice) and then pick them up after the WorkspaceRunner, e.g. with a FeatureReader.


That did the trick, especially the Featurereader! Thank you.

Kind regards,

Pim


Reply