/
workflow
32 lines (30 loc) · 818 Bytes
/
workflow
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
1- user start activity
if activity valid
update activity to todays list of activities
update run badge updater
run application notifier
esle
show error message
2- user Stop activity
update table
update activity list
clear application notifier
clear badge
3- application start
get activity list for today
if any activity running
update badge
update application notifier
set button to stop activity
4- user edit activity
if update information valid
update activity record
if running
update badge
update application notifier
5-browser started
get activity list for today
if any activity running
update badge
update application notifier
set button to stop activity