Hi
This is probably a stupid question, but I have created a Process Report and a Tempo Report from this. Unfortunately, I cannot page the grid that results. Can someone suggest what I am doing wrong?
Code below:
a!localVariables( local!pagingInfo: a!pagingInfo( startIndex: 1, batchSize: -1, sort: a!sortInfo(field: "c3", ascending: true()) ), local!refreshCounter: 0, local!datasubset: a!refreshVariable( refreshOnVarChange: { local!refreshCounter }, value: a!queryProcessAnalytics(report: cons!CMN_ALL_TASK_REPORT) ), a!sectionLayout( label: "", contents: { a!gridField( label: "", labelPosition: "COLLAPSED", data: local!datasubset, columns: { a!gridColumn( label: "Task Name", value: a!richTextDisplayField( value: { a!richTextItem( text: { fv!row.c5, " ", a!richTextIcon( icon: "external-link", caption: "(Opens in New Window)", size: "MEDIUM" ) }, link: a!safeLink( uri: rule!CMN_getTaskUrlByTaskId(taskId: fv!identifier) ), linkStyle: "STANDALONE" ) } ) ), a!gridColumn( label: "Status", value: a!richTextDisplayField( value: { a!richTextItem( text: if( fv!row.c1 = 0, "Assigned", if( fv!row.c1 = 1, "Accepted", if( fv!row.c1 = 5, "Paused", if( fv!row.c1 = 8, "Error", "Unknown (code " & fv!row.c1 & ")" ) ) ) ) ) } ) ), a!gridColumn( label: "Assignee", value: a!richTextDisplayField( value: a!richTextItem( text: { if( find("Group:", fv!row.c4) <> 0, a!richTextIcon(icon: "group"), a!richTextImage(image: a!userImage(user: fv!row.c4)) ), " ", rule!APN_displayGroupOrUsername(groupOrUser: fv!row.c4) } ) ) ), a!gridColumn( label: "Assigned", sortField: "c3", value: a!richTextDisplayField(value: fv!row.c3) ), a!gridColumn( label: "Process Instance", value: a!richTextDisplayField(value: fv!row.c2) ) }, pagingSaveInto: local!pagingInfo ) } ))
Thanks
Irene
Discussion posts and replies are publicly visible