Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

How to upload a document to workfront? I don't have a "Related Record ID" but it requires one.

Avatar

Level 2

Screenshot 2025-07-09 at 3.24.23 PM.png

Using the Workfront module-Upload Document it requires a related Record ID BUT using the API you don't need that.

I don't have a related record ID, I just want to upload the file. How do you upload a file without that record ID?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

When you use the API directly and don't specify a relatedRecordID it will use the API user as related record.

 

You can verify this by using Fusion's ReadARecord module: If you select referenceObjID and referenceObjectName it will show your name/ID on those documents you "just" uploaded. 

 

So if you don't need to associate a doc with a business object such as project or task etc, you need to supply a user. 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

When you use the API directly and don't specify a relatedRecordID it will use the API user as related record.

 

You can verify this by using Fusion's ReadARecord module: If you select referenceObjID and referenceObjectName it will show your name/ID on those documents you "just" uploaded. 

 

So if you don't need to associate a doc with a business object such as project or task etc, you need to supply a user. 

Avatar

Community Advisor

Sven is correct,

Document is a relative object in Workfront and doesn't exist on it's own. Therefore one of the fields is always not-empty:

taskID

issueID

userID

projectID

programID

portfolioID

if you don't know where to store document you can use your ID (userID) for the field related record ID, this is equivalent of opening Documents page and uploading there random document. Such doc gets by default assigned to you.
I hope this helps