...
Default activities are associated with very specific actions, done by user. The purpose of default activity and time is in creating creation of new Time Tracking Item with specific a specified default activity and specific specified default time that was spent on it.
Creating a default activity.
The creation process is done by calling out an API endpoint of Time Tracking Service
The user will POST an object that includes an Activity Id and Time In Minutes.
Implementing a Feature Flag
Feature Flag is a True/False variable, simply telling the system if it should be using the specific feature.
The flag is usually located inside configuration, so it can be turned On and Off without rebuilding the source code.
In WLM Demo Portal we implement the flag by putting it inside "If" condition.
The flag is located inside configuration and is being initialized on every call to an appropriate page.