Appendix 6: Build Criteria Query in SNOW UI

Appendix 6: Build Criteria Query in SNOW UI



Appendix 6: Build Criteria Query in SNOW UI


You can build Criteria Query or alernatively create filters in SNOW UI and copy Criteria Query from the UI. This is especially useful for complex query criteria with one or more AND, OR criteria.


  1. The following is a screen shot of the Incident Application. You can see the filter sign on top of the column headings. It shoes the filter Active=True has been applied on All incidents.



  1. You may right click on the filter and click Copy query to copy the Criteria Query.



  1. You may paste this as Criteria Query in the plugin step.
  1. active=true
  1. You may right click on   to see the Filters menu. In Filter menu the first option is to Edit personal filters. The rest are the out of the box or user created filters. You may click Edit existing filters or create new filters. 
  2. Click Edit personal filters.




  1. Once you click Edit personal filters you can see your filters. Click New to create a new filter.



  1. The following screen appears.
  2.  
    Provide a Title. In Choose field Select Short description, in oper select is and in value type RPA. Click OR.



  1. In the second OR condition select Opened on Today. Click Submit.



  1. MyCriteriaFilter is now visible in the filter list. 
  2. Click Incident menu on the left navigation to see All incident records.




  1. Click  . Select Filter menu and then select MyCriteriaFilter.



  1. You can now see the filtered list with MyCriteriaFilter applied. You can see the filter applied: Short_description=RPA or Opened Today.


  1. Right click on the filter and click Copy query.



  1. The Criteria query is as follows:

short_description=RPA^ORopened_atONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()


  1. You may now use it in the Plugin step.




      Links to better reach 

            Bot Store

             EPD