Skip to main content
Level 3
Feb 22, 2023 10:36 PM UTC
Solved

Help with filtering via text mode

Hello!  I worked with a consultant to get the code below to show a list of tasks (1 line item per assignee, even if there were multiple assignees on a task) for tasks that have 0 actual hours.  I want to remove the "for tasks that have 0 actual hours" filter, but I can't figure out how.  Removing the first line, or the first 2 lines did not work.  Anyone have ideas?  Thanks in advance!

 

EXISTS:1:$$EXISTSMOD=NOTEXISTS
EXISTS:1:$$OBJCODE=HOUR
EXISTS:1:ownerID=FIELD:assignedToID
EXISTS:1:taskID=FIELD:taskID
assignedToID=$$USER.ID
assignedToID_Mod=in

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Rafal_Bainie
Rafal_BainieAccepted solution
Community Advisor
Feb 23, 2023 3:17 PM UTC

you need assignment report instead, you won't achieve this with task report, but you can easily do this with assignment report. In this report use Assigned To>>Name field.

For any task you will get as many entries as you have assigned users

6 replies

Rafal_Bainie
Community Advisor
Community Advisor
Feb 23, 2023 11:17 AM UTC

Hi Justin,

what you have here is called "exist filters" and their syntax is such that you cannot just have part of it. 
https://experienceleague.adobe.com/docs/workfront/using/reporting/reports/text-mode/create-complex-text-mode-filters-using-exists-statements.html?lang=en

If you need another filter now, than this has to be modified accordingly or removed if you no longer require that Exist filter

Translate
Level 3
Feb 23, 2023 3:08 PM UTC

Thanks Rafal.  Do you know the text code that will achieve what I'm looking for?  I'm looking for a task report that will show all tasks as 1 time item per assignee.  For example if there is a task with 2 people assigned to it, it will show as 2 line items - 1 for each assignee.

Translate
Rafal_Bainie
Community Advisor
Rafal_BainieCommunity AdvisorAccepted solution
Community Advisor
Feb 23, 2023 3:17 PM UTC

you need assignment report instead, you won't achieve this with task report, but you can easily do this with assignment report. In this report use Assigned To>>Name field.

For any task you will get as many entries as you have assigned users

Translate
RandyRoberts
Community Advisor
Community Advisor
Feb 23, 2023 5:34 PM UTC

Hmmm… When I paste that in as is, I get a Whoops! error.Some of this code makes no sense:

EXISTS:1:$$EXISTSMOD=NOTEXISTS EXISTS:1:$$OBJCODE=HOUR

The object code "hour" does exist, it's just zero. This code alone returns nothing in my instance.

EXISTS:1:ownerID=FIELD:assignedToID

OwnerID = AssignedToID returns only primary assignees, not secondary

EXISTS:1:taskID=FIELD:taskID

taskID will always match taskID, this seems redundant

assignedToID=$$USER.ID assignedToID_Mod=in

This will return only tasks assigned to ME

 

Maybe I'm wrong but since this returns an error for me, I'd say it doesn't work.

 

Translate