View this page in the latest version of Appian. Display Autoscaled Process Tasks in a Grid with Task Links Share Share via LinkedIn Reddit Email Copy Link Print On This Page Tip: Interface patterns give you an opportunity to explore different interface designs. Be sure to check out How to Adapt a Pattern for Your Application. Goal Display a user's tasks from both standard and autoscaled processes in a read-only grid and allow them to click on a task to navigate to the task itself. This design pattern is not recommended for offline interfaces because reflecting immediate changes in an interface based on user interaction requires a connection to the server. This scenario demonstrates: How to use a!queryTaskList() to query tasks from both standard and autoscaled processes. How to display a user's tasks in a read-only grid. How to convert task data into clickable task links with a!processTaskLink(). This recipe queries both standard and autoscaled tasks assigned to the logged-in user. To build the same grid for standard process tasks only, see Display Standard Process Tasks in a Grid with Task Links. Expression 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 a!localVariables( local!tasks: a!queryTaskList( fields: {"taskId", "taskName", "status", "priority", "dueDate"}, pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 100, sort: a!sortInfo(field: "dueDate", ascending: true) ), contextUsers: loggedInUser() ), a!gridField( label: "My Tasks", data: local!tasks.data, columns: { a!gridColumn( label: "Task", sortField: "taskName", value: a!linkField( links: a!processTaskLink( label: fv!row.taskName, task: fv!row.taskId ) ) ), a!gridColumn( label: "Status", sortField: "status", value: fv!row.status ), a!gridColumn( label: "Priority", sortField: "priority", value: fv!row.priority ), a!gridColumn( label: "Due Date", sortField: "dueDate", align: "END", value: fv!row.dueDate ) }, rowHeader: 1, pageSize: 20 ) ) Test it out Sort and (if you have enough tasks) page your grid. Click on a task's name to view the task form. Feedback Was this page helpful? SHARE FEEDBACK Loading...