Explore basic text mode for filters in Workfront

TIP

In this video, you will learn about:

  • Text mode
  • Camel case
  • Some text mode code blocks you can use in your report filters

“Understand basic text mode for filters” activities

Task - Filter out tasks where I’ve marked “Done with my part”

The following text mode will exclude tasks where a user has marked “Done with My Part.” All you have to do is create a task filter, add any filter rules you want, then switch to text mode and paste the code below after any text mode you see in the filter.

WARNING
This is not intended for use in Calendar filters.
EXISTS:1:$OBJCODE=ASSGN
EXISTS:1:taskID=FIELD:ID
EXISTS:1:status=DN
EXISTS:1:status_Mod=notin
EXISTS:1:assignedToID=$USER.ID

Task - Show me all tasks awaiting my approval

approvalProcessID_Mod=notblank
currentUserApproversMM:ID=$USER.ID
currentUserApproversMM:ID_Mod=in
currentUserApproversMM_Join=allowingnull

Task - Show me all tasks I have approved

Create a task report with whatever filters you want, then go to the Filter tab and click on Switch to Text Mode. Add this code to whatever is already there:

approvalProcessID_Mod=notblank
approverStatuses:approvedByID=$USER.ID
approverStatuses:approvedByID_Mod=in

Task - Show me all tasks that have at least one cross project predecessor

predecessorsMM:ID_Mod=notblank
predecessorsMM:projectID=FIELD:projectID
predecessorsMM:projectID_Mod=ne

Task - Show me all tasks I assigned to others

Create a task report with whatever filters you want, then go to the Filter tab and click on Switch to Text Mode. Add this code to whatever is already there:

WARNING
This is not intended for use in Calendar filters.
EXISTS:1:$OBJCODE=ASSGN
EXISTS:1:taskID=FIELD:ID
EXISTS:1:assignedByID=$USER.ID

This will show you all tasks where the logged in user assigned at least one of the current assignees. If assignees were assigned by multiple people only the name of the first person who assigned someone will appear as “Requested By” on the task landing page.

Task - Show me all tasks that are Complete - Pending Approval

status=CPL:A
status_Mod=in

Issue - Show me all issues that are Complete - Pending Approval

status=CPL:A
status_Mod=in

Project - Show me all projects that are Complete - Pending Approval

status=CPL:A
status_Mod=in

Note - Show me all comments I’m tagged in

tags:userID=$USER.ID
tags:userID_Mod=in

Parameter/Custom Field Report - Show me custom fields that are not attached to a custom form (very useful in cleanup efforts)

EXISTS:A:$EXISTSMOD=NOTEXISTS
EXISTS:A:$OBJCODE=CTGYPA
EXISTS:A:parameterID=FIELD:ID
recommendation-more-help
workfront-learn-help-main-toc