Expand my Community achievements bar.

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.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

What status code do I use for pulling "In Progress - Pending Approval" tasks in a report?

Avatar

Level 7

I'm working on a milestone report showing which Gates are Not started, In progress, and Complete.  I have that working, but I noticed tasks that are "In Progress - Pending Approval" don't pull the way "In Progress" tasks do. 

I looked around Experience League and tried adding an additional IF statement that looks for the status "INP:A", but that broke my entire column.  Does anyone have ideas?  

(The built in Milestone report doesn't meet our needs.)

Original, working column:  

displayname=Gate 1 Status
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF(IF(CONTAINS("Gate 1 Approval",{name}),{status})="CPL","Complete",IF(IF(CONTAINS("Gate 1 Approval",{name}),{status})="INP","In progress",IF(IF(CONTAINS("Gate 1 Approval",{name}),{status})="NEW","Not started")))
valueformat=val

 

Attempt that led to a blank column:  

displayname=Gate 1 Status
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF(IF(CONTAINS("Gate 1 Approval",{name}),{status})="CPL","Complete",IF(IF(CONTAINS("Gate 1 Approval",{name}),{status})="INP","In progress",IF(IF(CONTAINS("Gate 1 Approval",{name}),{status})="INP:A","Approval requested",IF(IF(CONTAINS("Gate 1 Approval",{name}),{status})="NEW","Not started")))
valueformat=val

 

Partial screenshot of report

ChloeWY_0-1687357210512.png

 

Thank you!  

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Chloe,

 

You're right, "INP:A" is the right status to use for "In Progress - Pending Approval". However the syntax of your IF statement is not quite right. Try the following instead:

 

displayname=Gate 1 Status
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF(CONTAINS("Gate 1 Approval",{name}),IF({status}="CPL","Complete",IF({status}="INP","In progress",IF({status}="INP:A","Approval requested",IF({status}="NEW","Not started")))))
valueformat=val

 

Let me know if that works.

 

Best Regards,

Rich. 

 

View solution in original post

4 Replies

Avatar

Community Advisor

I think you just need to add ":A" after the status. I know that "NEW:A" is New and waiting for approval.

 

TIP: if this solved your problem, I invite you to consider marking it as a Correct Answer to help others who might also find it of use.
If you like my content, please take a moment to view and vote on my Idea Requests: https://tinyurl.com/mysocalledideas

Avatar

Correct answer by
Community Advisor

Hi Chloe,

 

You're right, "INP:A" is the right status to use for "In Progress - Pending Approval". However the syntax of your IF statement is not quite right. Try the following instead:

 

displayname=Gate 1 Status
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF(CONTAINS("Gate 1 Approval",{name}),IF({status}="CPL","Complete",IF({status}="INP","In progress",IF({status}="INP:A","Approval requested",IF({status}="NEW","Not started")))))
valueformat=val

 

Let me know if that works.

 

Best Regards,

Rich. 

 

Avatar

Community Advisor

Thanks Richard, I didn't even look at the IF statement.

Avatar

Level 7

This worked, thank you so much!