> For the complete documentation index, see [llms.txt](https://1spatial.gitbook.io/fme-form-beginner/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1spatial.gitbook.io/fme-form-beginner/form-basics/data-inspection/form-basics-exercise-4.md).

# Form Basics - Exercise 4

<table><thead><tr><th width="176">Exercise Details</th><th>Partial Runs</th></tr></thead><tbody><tr><td><strong>Locality</strong></td><td>Melbourne, Australia</td></tr><tr><td><strong>Data</strong></td><td>Waste Collection (GeoJSON)<br>Property Boundaries (ESRI Shapefile)</td></tr><tr><td><strong>Overall Goal</strong></td><td>Perform Partial Runs</td></tr><tr><td><strong>Demonstrates</strong></td><td>Run to and from a transformer and inspect the results</td></tr><tr><td><strong>Start Workspace</strong></td><td>C:\FMETraining\Workspaces\FormBasics-Ex4-Begin.fmw</td></tr><tr><td><strong>End Workspace</strong></td><td><em>None</em></td></tr></tbody></table>

In the previous exercise, we inspected the data from our generated workspace and added a second dataset. Additionally, we added a background map and changed the style of the display.

Now, a colleague has made a change to our workspace, to add a **modifier** value to the output dataset, with the name of the individual producing the output.

Our job is to take this updated workspace and use Partial Runs to confirm the updates works as intended.

***

{% stepper %}
{% step %}

## Start FME Workbench

Start FME Workbench, if it is not already open.

Open the provided workspace: `C:\FMETraining\Workspaces\FormBasics-Ex4-Begin.fmw`
{% endstep %}

{% step %}

## Run To Transformer

Upon opening the recently updated workspace, we can see that an additional component has been added:

<figure><img src="https://389204382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVUkuwJpcffqBXPX4PVge%2Fuploads%2Fgit-blob-7f517fd2759b42c12234c1e15ace16a5014d14b6%2Fform-basics_exercise-4_updated-workspace.png?alt=media" alt=""><figcaption></figcaption></figure>

This new component between our Reader and Writer Feature Types is a **Transformer**, something that we are going to learn a lot about in our upcoming transformers.

This transformer is adding a new attribute (field in our data) named **modifier** and assigning it a value. If you look closely at the top of the Writer Feature Type, you can see this new attribute in the list.

To confirm that this attribute is being created and populated, let's run to the new transformer.

Click on the AttributeCreator transformer and select the **Run To** option on the mini-toolbar that appears:

<figure><img src="https://389204382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVUkuwJpcffqBXPX4PVge%2Fuploads%2Fgit-blob-2246c35772398ab8e116ecf39f1791e61b238676%2Fform-basics_exercise-4_run-to.png?alt=media" alt=""><figcaption></figcaption></figure>

After selecting Run To, a data cache should be available on the transformer, shown by the green eye symbol:

<figure><img src="https://389204382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVUkuwJpcffqBXPX4PVge%2Fuploads%2Fgit-blob-7caf31f6cd1eefc50cc370d5a3187c2921c44efc%2Fform-basics_exercise-4_data-cache.png?alt=media" alt=""><figcaption></figcaption></figure>

Select this data cache to open it in Data Preview (or Data Inspector, if you have configured that as the default option).

Using the Table View window, we can in fact confirm that the new attribute exists and is populated:

<figure><img src="https://389204382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVUkuwJpcffqBXPX4PVge%2Fuploads%2Fgit-blob-2a3e0816707e71bbdc77a0bccb8736eea0c5d5ae%2Fform-basics_exercise-4_new-attribute.png?alt=media" alt=""><figcaption></figcaption></figure>

Hopefully after this training, everyone will feel like an *FME Wizard*!
{% endstep %}

{% step %}

## Run From Transformer

Now that we have confirmed that the new attribute is correct, we can push the updated data to the output.

Select the AttributeCreator transformer again and locate the **Run From** button on the mini-toolbar:

<figure><img src="https://389204382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVUkuwJpcffqBXPX4PVge%2Fuploads%2Fgit-blob-5b6ed4f0e2028de812e2299ab98bbf315f5ac747%2Fform-basics_exercise-4_run-from.png?alt=media" alt=""><figcaption></figcaption></figure>

The features will be pushed to the writer subsequently, updating the output writer.

Viewing the output file by opening it directly in Data Inspector or selecting 'View Written Data' on the Feature Type will allow you to confirm that the new attribute has been added.
{% endstep %}
{% endstepper %}

***

{% hint style="success" %}
**CONGRATULATIONS**

*By completing this exercise, you have learned how to:*

* *Partially run features to a specific object on the canvas*
* *Use feature caching to inspect transformer results*
* *Run from a specific object on the canvas*
  {% endhint %}
