Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OVERVIEW:

  • The 'Pop Search and Select' activity allows you to show the results grid in a custom popup inside Oracle Service Cloud and perform search & select operations. In the PopFlow Studio, you can configure the 'Pop Search and Select' activity.

      Image RemovedImage Added

  • After opening 'Pop Search and select' activity, you will get the below configuration panel.

     Image Modified

Default Configuration Parameters:

...

  • To select the 'Data Source' value we need to have either 'HTTPS' or 'GET DATA' activity result.
  • In this example, we will be using 'HTTPS' activity to fetch the data from the API and show the result in 'Pop Search and Select'. To configure the 'HTTPS' activity please refer to the 'HTTPS' activity documents.
  • After configuration of 'HTTPS' activity adds a 'Pop Search and Select' activity on the 'SUCCESS' button of 'HTTPS' activity as shown below.

      Image RemovedImage Added

  • Now configure the Default fields 'Pop Search and Select' activity as shown below.

     Image Modified 


Data Sources:

  • You can add the multiple 'Data Source' to view the different data lists and also you can choose which column you want to show for selected 'Data Source'.
  • After selecting the 'Data Source'. You can add multiple 'Search' by clicking on the 'Searches' button for every 'Data Source'.

       Image RemovedImage Added

  • After clicking on the 'Searches' you will get a search panel to configure the search as shown in the above picture. Enter the search name inside the 'Search Name' field.
  • Select the search type "Filter in data Data Source" if you want the search result faster. This will search in selected 'Data Source'. 
  • Select the search type "Search in new Data Source".This will make a search in the 'Database' if some new value is updated then it will also get the updated value. To achieve this search you need to add the same activity with the same configuration on the Search Button whose 'Data Source' you are using for the search. 

...

      Steps to configure the "Search in new data Source":-

           Image RemovedImage Added

          Step 1: - Select the 'HTTPS' activity 'Save Result In' variable from the options as Data Source inside the 'Pop Search and Select' as shown below.

          Image RemovedImage Added

          Step 2:- Now create the search for the selected Data Source by clicking on the 'Searches' button. Select the "Search in new data Source" option to achieve the server-side searching.

          Step 3: - Enter the custom 'Search Name' or the 'Property' values (search property) inside the 'Enter Property' fields.


          

         step 4: After creating the search you will notice there is a button created with the same name as 'Search Name' (For this example 'Customer Search' is the 'Search Name') on the designer page under the 'Pop Search and Select' activity.

         Image RemovedImage Added

        Step 5:-- Now add the 'HTTPS' activity on the 'CUSTOMER SEARCH' button to achieve the server-side searching. The 'HTTPS' activity should have the same configuration as whose 'Save Result In' variable is selected as a 'Data Source' for the 'CUSTOMER SEARCH' Search inside the 'Pop Search and Select'.

         Image RemovedImage Added

       Steps 6:- 'Save Results In' variable name of 'HTTPS' activity should be the same as Parent HTTP activity.

...

  • After executing the workflow it will pop up a 'Pop Search and Select' screen with the result, Searches and Custom buttons as shown below.

         Image RemovedImage Added

  1. The title of the popup.
  2. The Data Sources which we selected while configuring the 'Pop Search and Select'.
  3. The search field: Enter the correct value and make a search.
  4. The search button:
     a. The activities in the definition (i.e. HTTPS in this example) will be executed when the search button is clicked.
  5. Multiple buttons can be configured. When the button is clicked then the activities define for that button will be executed.
  6. The Searches which we created while configuring the 'Pop Search and Select'.
  7. You can select multiple rows by clicking on the checkbox.
  8. The Column Name of the Popup.

...

  1.      


       Result After the Search.

     

...

 You can

...

search by

...

'name' or

...

'name' and '

...

phone'.

     Image Added