You may want to display different thumbnails, based on page work state. For example, you may want to display frame borders for all work states than the 'to be archived' and 'archived' work states.
In such case, you need to create additional page thumbnail options, naming them by the workstate, e.g. ppopt_Not Ready.xml.
Then, in the directory styles, modify the line related to the thumbnail display to something like:
<l:PagePreview
VerticalAlignment="Center"
Stretch="Uniform"
PageId="{Binding Path=[page.id]}"
OptionsName="{Binding Path=[page.workstateRef.name]}"
/>
The above statement tells the directory style to load (generate) the page thumbnail according to the page thumbnail option named as the current page work state.
If the page has the work state "Not ready" and there exists in the database the configuration "ppopt_Not ready", it is used, instead of the default one defined in the EditorialConfig.
If the specified configuration does not exist, the default is used.