Adding a pause interval in a character field for a workflow in PWA


In Progressive Web Application (PWA), when a user types in a character field, the relevant helpful resources need to be shown to the user based on what is being typed. If the resources are shown for every letter that the user types, it becomes very cumbersome. To avoid this problem, you can specify a pause interval for a workflow by using the Pause Interval property in Developer Studio. This property specifies the time interval in milliseconds.

When you specify a pause interval for a workflow, after the user presses any key on the keyboard except the Enter key, the PWA pauses for the specified milliseconds before triggering a predefined workflow. However, when the user presses the Enter key, the PWA immediately triggers the workflow without pausing.

Example

Consider a scenario where you have three character fields available on a form, namely Company Name, Company List, and Company Code. Let's assume that for the Company Name field, you have set the value for the Pause Interval property as 3000 milliseconds. Now, if the user types a couple of letters in the Company Name field, the PWA pauses for 3 seconds before triggering the predefined workflow. For example, the PWA pauses for 3 seconds before it populates the corresponding values in the Company List, and Company Code fields.

However, if you press the Enter key after typing the letters in the Company Name field, the PWA doesn't pause for 3 seconds. It triggers the predefined workflow immediately. That is, the PWA populates the values in the Company List, and Company Code fields immediately.


Important

The Pause Interval property accepts only an integer value and is available only for PWA.

To add a pause interval for a workflow

  1. Double-click the character field for which you want to add a pause interval.
  2. In the Properties pane, expand the Display property group.
  3. In the Property column, click Pause Interval.
  4. In the Value column, type an integer value.
    The value is set for this property.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*