-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added "Who is in the office now" query (#613)
- Added "Who is in the office now" query which will show all active users regardless of office.
- Loading branch information
1 parent
912747d
commit e51b0af
Showing
2 changed files
with
102 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 49 additions & 49 deletions
98
...esOnLocationDialog/language-generation/en-us/GetCurrentEmployeesOnLocationDialog.en-us.lg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
[Common](common.en-us.lg) | ||
[PeopleList](peopleList.en-us.lg) | ||
|
||
# SendActivity_5SdoY2() | ||
[Activity | ||
Text = ${SendActivity_5SdoY2_text()} | ||
] | ||
|
||
# SendActivity_5SdoY2_text() | ||
- ${ErrorMessage()} | ||
|
||
# SendActivity_MfjfA1() | ||
[Activity | ||
Text = ${SendActivity_MfjfA1_text()} | ||
] | ||
|
||
# SendActivity_MfjfA1_text() | ||
- I couldn't find anyone in the **${dialog.locationEntity}** office at this time. | ||
# SendActivity_0iZBft() | ||
[Activity | ||
Text = ${SendActivity_0iZBft_text()} | ||
] | ||
|
||
# SendActivity_0iZBft_text() | ||
- Please specify a valid location to query. | ||
|
||
# SendActivity_WXpguy() | ||
[Activity | ||
Attachments = ${json(PeopleListByBilled( | ||
if(dialog.foreach.pageindex == 1, CardTitle(dialog.locationEntity, count(turn.billableEmployees.employees)), GetNextTitle(dialog.foreach.pageindex, 10)), | ||
turn.clientDateTime, | ||
if(dialog.foreach.pageindex == 1, true, false), | ||
dialog.foreach.page, | ||
dialog.foreach.pageindex * 10 >= count(turn.billableEmployees.employees), | ||
'', | ||
false, | ||
'GetCurrentEmployeesOnLocation'))} | ||
] | ||
|
||
# CardTitle(location, count) | ||
- ```${location} - All [${count}]``` | ||
|
||
# SendActivity_jhwmNx() | ||
[Activity | ||
Text = ${SendActivity_jhwmNx_text()} | ||
] | ||
|
||
# SendActivity_jhwmNx_text() | ||
- Please specify a valid date to query. | ||
[Common](common.en-us.lg) | ||
[PeopleList](peopleList.en-us.lg) | ||
# SendActivity_5SdoY2() | ||
[Activity | ||
Text = ${SendActivity_5SdoY2_text()} | ||
] | ||
# SendActivity_5SdoY2_text() | ||
- ${ErrorMessage()} | ||
# SendActivity_MfjfA1() | ||
[Activity | ||
Text = ${SendActivity_MfjfA1_text()} | ||
] | ||
# SendActivity_MfjfA1_text() | ||
- I couldn't find anyone in the **${dialog.locationEntity}** office at this time. | ||
# SendActivity_WXpguy() | ||
[Activity | ||
Attachments = ${json(PeopleListByBilled( | ||
if(dialog.foreach.pageindex == 1, CardTitle(dialog.locationEntity, count(turn.billableEmployees.employees)), GetNextTitle(dialog.foreach.pageindex, 10)), | ||
turn.clientDateTime, | ||
if(dialog.foreach.pageindex == 1, true, false), | ||
dialog.foreach.page, | ||
dialog.foreach.pageindex * 10 >= count(turn.billableEmployees.employees), | ||
'', | ||
false, | ||
'GetCurrentEmployeesOnLocation'))} | ||
] | ||
# CardTitle(location, count) | ||
- ```${location} - All [${count}]``` | ||
# SendActivity_jhwmNx() | ||
[Activity | ||
Text = ${SendActivity_jhwmNx_text()} | ||
] | ||
# SendActivity_jhwmNx_text() | ||
- Please specify a valid date to query. | ||
# LogAction_Text_X1smd9() | ||
[Activity | ||
Text = ${LogAction_Text_X1smd9_text()} | ||
] | ||
# LogAction_Text_X1smd9_text() | ||
- [Debug] - dialog.locationEntity = ${dialog.locationEntity} |