---
schema_version: "1"
id: c9a984552515908c864087f11dbf49b6d00b6f5458e04084a1e2d7acbf180568
title: Manage the Upload
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi-dev-guide-ext-data/guides/concept/bi-ext-data-manage-upload.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-ext-data/guide/bi-ext-data-manage-upload.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: eaa1081c7c9fb6a81b216db6cbb2c38d0d89f8698403fb37c7a440a44391ee25
products:
  - Analytics External Data API Developer Guide
  - analytics
---

# Manage the Upload

After you’ve created a header and uploaded the data parts by using the `InsightsExternalData` and InsightsExternalDataPart objects, update the Action field on the header object to `Process` to start processing the data.

The following example sets the Action field and updates the row in the InsightsExternalData object.

```nolang
SObject sobj = new SObject();
sobj.setType("InsightsExternalData");
sobj.setField("Action","Process");
sobj.setId(parentID); // This is the rowID from the previous example.
SaveResult[] results = partnerConnection.update(new SObject[] { sobj });

for(SaveResult sv:results)
    if(sv.isSuccess())
        rowId = sv.getId();
```

When the Action field is set to `Process`, a dataflow job is created and marked active. You can monitor the Status field of the header object to determine when the file upload is completed. After the Action field is updated to request processing, no user edits are allowed on the objects.
