If you are new to the team or have taken over for someone else or you just don't remember which category you put that last workflow in you may be interested in this workflow type search recipe. 


I have found this helpful since I am not the originator of most of our org's workflows and there may be multiple categories a workflow might fit. We are basically using an WorkflowType entity command and building a table. We are using Datatables.net to allow us to make the table searchable.  This recipe is borrowing components of our DataView search created by Jesse McColm.

Step 1. You will need a new page created. For us we created a full width child page of the Workflow Configuration page. In the 'Advanced Settings' for the new page in the in 'Header Content' field we have the following for DataTables.

<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.18/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.10.18/datatables.min.js"></script>
    .padding-bottom-md { padding-bottom: 1em; }

Step 2. Add an HTML block to the new page with the following.  Ensure 'Rock Entity' is enabled in the block settings. ( note: the page number may be different for your environment in the first <td> tag.  This should be the page number for your workflow configuration page. )

<div class="row">
    <div class="col-sm-6">
        <h2><strong>Search for Workflows</strong></h2>
        <div class="alert alert-warning">
            Use the search text box to search for a Workflow by name or description. 
<div class="row">
    <div class="col-md-2 col-md-offset-4 padding-md-all">
        <div class="text-center">
            <input class="form-control" id="searchbox" type="text" placeholder="Search" aria-label="Search">
<table id="test" class="table table-striped table-bordered">
            <th>Logging Level</th>
            <th>Is Active?</th>
        {% workflowtype where:'Id > 0' %}
        {% for workflowtype in workflowtypeItems %}
                <td><a href="/page/136?workflowTypeId={{ workflowtype.Id }}">{{ workflowtype.Name }}</a></td>
                <td>{{ workflowtype.Description }}</td>
                <td>{{ workflowtype.Category.Name }}</td>
                <td>{{ workflowtype.LoggingLevel }}</td>
                <td>{{ workflowtype.CreatedDateTime }}</td>
                <td>{{ workflowtype.IsActive }}</td>
        {% endfor %}
        {% endworkflowtype %}
$(document).ready( function () {
    var dataTable = $('#test').DataTable( {
        "dom": 'lrtip'
    } );
    $("#searchbox").on("keyup search input paste cut", function() {
} );

Steps 1 and 2 will be enough to get a workflow type search page up and running.  We can go a little further and add some buttons to launch the page when needed.  


On the workflow configuration page for the sidebar add a HTML block above the Workflow Tree block and include the following.  ( Note: check those page numbers.  First one should be for the newly created search page and the second one is for the workflow configuration page. Update those colors if needed. )

<div class="well">
        <a class="btn btn-default" href="/page/1677"><span style="color:#ee7725;"><b><i class="fas fa-search"></i> Workflow Search</b></span></a> 
        <a class="btn btn-default" href="/page/136?workflowTypeId=0"><span style="color:#ee7725;"><b><i class="fas fa-plus-square"></i> New Workflow</b></span></a>