KLeeman
KLeeman

Reputation: 11

Reference Custom Field in Workfront Collection

I have a project report in Workfront where I am trying to reference custom fields defined on a Workfront task. In the example below, both "Custom Flag" and "Num Devices" are custom fields on Tasks.

displayname=Test
listdelimiter=
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF({DE:Custom Flag}="Implementation",{DE:Num Devices},"")
valueformat=HTML

I have no problem referencing Workfront's packaged "tasks" fields in the manner specified above, but any time I try this with a custom field, the column ends up blank.

Any help would be greatly appreciated!

Upvotes: 1

Views: 1674

Answers (1)

michael johnson
michael johnson

Reputation: 757

Since you are referencing another Object your Custom data Syntax is incorrect it should be.

 displayname=Test
 listdelimiter=
 listmethod=nested(tasks).lists
 textmode=true
 type=iterate
 valueexpression=IF({DE:tasks:Custom Flag}="Implementation",{DE:tasks:Num Devices},"")
 valueformat=HTML

if you do not specify tasks in the calculation it is looking for the custom element on the report object in this case Project.

Upvotes: 1

Related Questions