You can perform a search using "workflow state" on the search screen of the model to which the workflow is applied.
It is an example of narrowing down only "decided" data.
The flow state is 4 patterns.You can search by "Not Applied", "Application/Approval", "Resolution", "Reject".
Prepare the item "Flow state search".(The item name is optional.)
We will set the referenced model as "flow state search item (jfcflowstatus_search_m)".This is the model that the system provides as standard.
Although you can choose the input type, it is recommended to use the check box because you can search by specifying more than one state.
Activate "Search control> Workflow> Search in flow state" for this item.
This section explains how to search and display only the decided data.We use a submodel for this purpose.
Create a submodel of the "Vacation Request" model.First, select the target model.
Select "Submodel" from the gear icon.
A submodel has been prepared.
For submodels, the main model information is specified on the screen.
A submodel can not define a workflow.Therefore, cancel the workflow setting.(The role of this submodel is the one specialized exclusively for the display and search of the flow state to the last.)
In this case, we intend to narrow down with just the settlement data, so fix the initial value of search to "3".The choice model "flow state search item (jfcflowstatus_search_m)" provided by the system has the following values.
This "flow state search" item itself is a hidden item when searching.This will not be displayed on the search screen.
Place this submodel in the menu.I will change the title and color as well.
This is an example of searching by workflow state in submodel.