Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
5 subscribers
Views
1673 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi All, How does filter work in Tempo Tasks report? Any examples or tutoria
sankethv
over 10 years ago
Hi All,
How does filter work in Tempo Tasks report? Any examples or tutorial will be appreciated. ...
OriginalPostID-115503
OriginalPostID-115503
Discussion posts and replies are publicly visible
Parents
0
sankethv
over 10 years ago
How does filter work in Tempo Tasks report? Any examples or tutorial will be appreciated. The current filter is not working.
Below is the sample code
=load(
local!pi: a!pagingInfo(startIndex: 1, batchSize: 20),
local!categoryFilter: 1,
with(
local!ds: rule!epGetDataSubset(pagingInfo: local!pi,filters: if(
isnull(local!categoryFilter),
{},
{field:7, operator: "EQUAL", value: local!categoryFilter-1}
)),
a!dashboardLayout(
firstColumnContents: {
a!dropdownFieldByIndex(
label: "Category Filter",
choiceLabels: {"All", "BMW", "Audi", "Merc"},
value: local!categoryFilter,
saveInto: {
local!categoryFilter,
local!pi << rule!updatePagingInfo << rule!returnFirstInput(local!pi, _)
}
),
a!gridField(
label: "My Tasks",
instructions: "A list of all tasks for the current user.",
columns: rule!epActiveTasksReport_Columns(local!ds),
value: local!pi,
saveInto: local!pi,
totalCount: local!ds.totalCount
)})
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sankethv
over 10 years ago
How does filter work in Tempo Tasks report? Any examples or tutorial will be appreciated. The current filter is not working.
Below is the sample code
=load(
local!pi: a!pagingInfo(startIndex: 1, batchSize: 20),
local!categoryFilter: 1,
with(
local!ds: rule!epGetDataSubset(pagingInfo: local!pi,filters: if(
isnull(local!categoryFilter),
{},
{field:7, operator: "EQUAL", value: local!categoryFilter-1}
)),
a!dashboardLayout(
firstColumnContents: {
a!dropdownFieldByIndex(
label: "Category Filter",
choiceLabels: {"All", "BMW", "Audi", "Merc"},
value: local!categoryFilter,
saveInto: {
local!categoryFilter,
local!pi << rule!updatePagingInfo << rule!returnFirstInput(local!pi, _)
}
),
a!gridField(
label: "My Tasks",
instructions: "A list of all tasks for the current user.",
columns: rule!epActiveTasksReport_Columns(local!ds),
value: local!pi,
saveInto: local!pi,
totalCount: local!ds.totalCount
)})
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data