내 커뮤니티 업적 표시줄을 확대합니다.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.
해결됨

How do I find the Task ID for a project in Fusion?

Avatar

Level 1

Hello!


I'm building a Fusion scenario in which there's a trigger field in a custom form attached to a project. Once that trigger gets flipped (and a number of other Fusion actions take place), I'd like Fusion to mark a specific task from the project as complete. 

 

Where I'm running into trouble is how to reference the Task ID for the specific task within the project. 

  • I've got the array of tasks from a Read Record module in the scenario (and the name and Task ID for the task is within that).
  • The Name of the task should always stay the same, so I could filter using that. 
  • The project is created from a template and so the (project) Task in question will be created from a Template Task with a consistent Template Task ID. Not sure if that's useful in finding the Task ID.

Ultimately, I want to end this scenario with a Update Record module, and update the Status of the Task to Complete, but I need to be able to point that module to the right Task. I feel like with the factors above, I should have everything I need to identify or filter down to the right Task, but I can't seem to put it all together.

 

Anyone have a similar situation or ideas on how to resolve?
Thanks for any help!!

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 4

Search on the Template Task ID and Project ID to get the one record and then pass the ID of that task to your final update record.

원본 게시물의 솔루션 보기

5 답변 개

Avatar

정확한 답변 작성자:
Level 4

Search on the Template Task ID and Project ID to get the one record and then pass the ID of that task to your final update record.

Thank you! This did the trick!

Avatar

Community Advisor

If you already have an array of all of the tasks in the project, then this is how I would do it.

1. Add the templateID to come in with your task array

2. To get the task ID, it would look like this:

get(map({task array};ID;templateTaskID;{the task ID from the template});1)

I would do it on a variable module personally, but you could do it directly on the task update module.

Avatar

Level 1

Thank you! I was able to accomplish it (possibly) more simply by adding a Search module to find the right Task ID, and then a Update Record to mark it complete.

Avatar

Level 3

hi @RyanHudgins ,

 

I am also trying to update the status of a field in a particular task. I am trying to retrieve the task ID from the previous module but cannot find any option.

After creating a record in Workfront and changing the status of an AEP attribute using the PATCH method, I want to update the task status in the Workfront project as well. I am using the Search Module (to further update the status using the Update Record module), but while mapping, I couldn't find the Task ID. Which ID should I add to the Search Module's ID field?

 

Please help.

 

Regards,

Alksh