Expand my Community achievements bar.

Latest Community Ideas Review is Out: Discover What’s New and What to Expect!

Pass a document to a created task from a request

Avatar

Level 1

I have a scenario that creates a task from a request (issue) when a custom field is selected. The problem I'm having is how to pass the attached document from the request (issue) to the new task. Does anyone know if this can be done?

 

I'm able to see the document ID in the Watch Record module (first image), but it doesn't appear when mapping the data (second image). 

 

douglasca_1-1712770447912.png

 

Screenshot 2024-04-10 at 12.37.06 PM.png

 

Topics

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

5 Replies

Avatar

Level 10

Hello Douglas, 

 

I created something similar a while ago and will try to find the blueprint of the scenario later.

In general the Workfront modules in Fusion sometimes lack of some functionality or do not provide all available fields.

 

I would put a Read a record module after the Watch record module to fetch the documents of the original issue and go on from there.

 

 

Regards

Lars

Avatar

Level 1

Thank you for responding Lars! I've tried this approach but still can't get the document ID to show in the mapping, just the collection ( [1] ).

Avatar

Level 5

I don't know if I'm being overly simplistic, so forgive me. But I've done something similar and just jerry rigged a quick example Scenario. 

 

JohnJOSullivan_0-1712944283578.png

 

I have a Search module looking for issues being created in a test project. If it has documents on it, a task is created in the same project.

 

JohnJOSullivan_1-1712944344239.png

JohnJOSullivan_0-1712944717326.png

 

JohnJOSullivan_2-1712944410252.png

 

The documents array is then iterated out so I can grab each document's ID.

 

Then, I use the Misc Actions module to move the documents from the Issue to the Task.

 

JohnJOSullivan_3-1712944448462.png

 

And, in my example, I zap the issue after it's done.  

JohnJOSullivan_4-1712944545661.png

 

Is this more or less what you're looking to do?

Avatar

Level 4

Remember that if you want to leave the original on the issue, you can use a download doc module and then upload doc module onto the task, although always put docs at the project level. 

Avatar

Level 1

Thank you for the response, and your suggestion looks perfect. I'm still trying to make it work for my scenario, but this definitely has me moving in the right direction!