Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Why set Minimum and Maximum Records?

On an Actionflow's  input connection point(s), a minimum and maximum number of records that the Actionflow receives before it runs can be defined. If the received records are not within the set minimum/maximum threshold, the Actionflow will not run.

This can be useful for: 

  • Ensuring at least one record is selected before proceeding with an edit

Setting Minimum and Maximum Records

  • Click on the  input node to open its  Properties tab
  • Expand the Validation section
  • Enter a number for Minimum Records and/or Maximum Records
  •  Apply and Close the properties 

Worked Example

Here's a worked example using the Shop Data (available from the Learning Centre).

In this example, we are using:  

  • Shop Staff screen containing a grid of the Shop Staff data - this screen was created using the Tile with Buttons template

If you are completing this chapter as part of the Actionflow course and using a training instance, the data and screens have already been pre-loaded into the Actionflow Intermediate Application. For this example, we'll be working on the grid on the Shop Staff screen.

GIF/SCREENSHOT OF FINISHED RESULT

Configuring a Maximum Records Threshold

In this example, we'll set a maximum number of records that can be edited at once.

  1. Open the Shop Staff screen
  2. Open the Actionflow on the Edit button
  3. Click on the  input node to open its  Properties tab
    1. Expand the Validation section
    2. For Maximum Records, enter 1
    3.  Apply and Close the properties
  4. Close the Actionflow
  5. Close and reopen the Shop Staff screen to ensure the changes have taken effect
  6. To see the Actionflow in action, select multiple records on the Staff grid using the tick boxes, then click Edit
  7. An error message will show


  • No labels