Pulling a Specific Job Role via Text Mode | Community
Skip to main content
New Participant
August 24, 2022
Solved

Pulling a Specific Job Role via Text Mode

  • August 24, 2022
  • 3 replies
  • 3593 views

I need help pulling a specific information for a column for one of our job roles. What would I use as a text mode in order to pull "Creative Project Manager" job role from our database? I am pulling a project report to know which PM's are on which project without having to go into each project. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Richard_Le_

Primary


Try this instead:

 

displayname=PM's On This Project
listdelimiter=<br>
listmethod=nested(projectUsers).lists
textmode=true
type=iterate
valueexpression=IF({user}.{roleID}="INSERT ROLE ID HERE",{user}.{name})
valueformat=HTML

That should work. 

3 replies

New Participant
August 24, 2022

Hi,

 

You will be able to achieve this with the following text mode:

 

listdelimiter=<br>
valueexpression=IF(CONTAINS(“Creative Project Manager”,{user}.{role}.{name}),{user}.{name})
listmethod=nested(projectUsers).lists
valueformat=HTML
displayname=PM's On This Project
textmode=true
type=iterate

Using the above code, Workfront will return any members of the project team (i.e., anyone assigned to tasks, the owner, or sponsor) who have Creative Project Manager as their primary role.

 

Best Regards,

Rich. 

 

New Participant
August 24, 2022

I tried this and the column is still showing blank, even though when I click into the jobs, there are users listed as Creative Project Manager. So I am not sure why it is not pulling their name. 

New Participant
August 24, 2022

Do these users have Creative Project Manager set as their primary role in the system, or are they secondary roles?

New Participant
August 24, 2022

You will probably need a task report and show a column for assignments.  Then you can filter via Assignment Roles > ID to narrow it down to Creative Project Manager.

New Participant
August 24, 2022

Will I still be able to pull all of the fields in the picture? 

 

New Participant
August 24, 2022

You should be able to get to all project fields from a task report.

New Participant
August 24, 2022

How is the PM indicated on your projects, via a custom field or are they the owner?  If they're on a task on the project then you may be able to use assignments.

New Participant
August 24, 2022

They are not the owners of the project but they are one of many assigned to multiple tasks.