Expand my Community achievements bar.

Join us LIVE in San Francisco on November 14th for Experience Makers The Skill Exchange. Don't miss out on this free learning event!

Task Report showing approvers by stage

Avatar

Level 3

I'm trying to create a task report that groups by task then by approval stages. In essence it would show each approval stage as its own line item along with approvers and the statuses of their decisions. Giving insight into who hasn't completed their stages.  I haven't figured how to group by approval stages as it doesn't appear to be native field for grouping.

1 Reply

Avatar

Level 3

Hi @OmahaOmaha 

 

"showing approval stages" in a task reports is mixing apples and oranges: In WF reports you can only report on/list one object. 

 

2 choices: 

Use the built in "Approvers and statuses" field in the task report: Shows the the current pending approvals

approvers-statuses.png

Or roll your own by iterating over the approverStatuses collection

iterate approval statuses.png

 

Iteration code:

valueexpression={approvalStep}.{name}+" - "+{stepApprover}.{role}.{name}+{stepApprover}.{team}.{name}+{stepApprover}.{user}.{name}+{stepApprover}.{wildCard}+": "+if({status}="NA","Not assigned yet",if({status}="AA", "Awaiting Approval",if({status}="AD", "Approved", if({status}="RJ","Rejected",""))))+if(isblank({approvedByID}),""," ("+{approvedBy}.{name}+")")
listdelimiter=<hr>
textmode=true
listmethod=nested(approverStatuses).lists
valueformat=HTML
type=iterate