Category / Section
8.2 Adding States for a context type
Published:
Updated:
You can use Context States to define the progress of work in a context. Some of the more typical states are listed in the picture below. Others may be “Ready for inspection”, “Ongoing approval”, etc. You can define as many context states as you wish. Some prefer to use just one or two states, such as “Ongoing” and “Completed”.
The states and their colors are set in the Context Type editor’s 2 – States tab:
Press [Add State] to add a new state section. In the picture above there are 3 state sections listed from top to bottom.
- Use the arrows in the top left corners of each section to move a state up or down in the state list
- Press the X in the top right corner to remove a state
- Fill in the State name to be shown in the app. This name and the Helptext can be in any language you choose to use
- The Helptext will be shown if a state is disabled and someone tries to select it anyway
- The Progress Value entered here will be shown next to the state name.
- You have to select a Color from the dropdown list to be able to save the template
- Check Default if this state should be automatically selected when no other state is chosen by the users
- Check Hide <context type> in app when this state is selected to remove the context from the user’s Zegeba app when this stage – usually the last one – is reached
Note that from Zegeba v 4.4, you do not have to use any context states if you prefer this. Just delete the empty state “card” in the State tab.