Configuring a Suggestion Assistant on a Form

Suggestion Assistant feature is completely configurable, you can decide which form/page to show the suggestions, you can also specify conditions when the Suggestion is to be shown and define security roles who can view them.

Form Designer

The next step is to add a Suggestion Assistant form element to the Form, to show the suggestions stored in the text field you created.

  • Designer Menu path separator Forms and Views Menu path separator Forms and List Views. Following with the example, open up the Hazard Identification form.
  • Click on the Form Elements, scroll down and you will see a new widget Suggestion Assistant

    suggestion_assistant_form_element

  • Drag and drop the widget into any cell in the Form. Click on the spanner to define the properties.

Field

Explanation

Title

Specify a title for the prompt

Suggestion Test

Select a field from the dropdown that holds the Suggestion Text. For the above example, it will be the ‘{sys} Suggested Immediate Actions’ field.

Default State

You can select the prompt to appear in "Expanded" or "Collapsed" state.

Default selection is "Collapsed".

Color

Specify the Hex Color Code (e.g. #6CB0E5) or the named value (blue).

This color scheme will be applied to the Suggestion Text and the icon.

Icon

Icon to indicate the suggestion prompt.

Specify a Font Awesome Code (e.g. \f672). Must be from Font Awesome version 5 (https://fontawesome.com/v5/search).

Shown When

This is an optional setting.

Clicking on the click to add a condition will load a condition builder where you can define a condition and the system will only show the suggestion prompt when the condition is met

Visibility by Role

You can define which roles have access to view the Suggestive text or which roles must not have access to view the Suggestive text.

  • Click Update in the Suggestion Assistant properties and Save the form.

Publishing the changes

The final step is to publish all the above changes.

Navigate to Designer Menu path separator System Menu path separator Publish to trigger the publish.

After a successful publish, restart the tomcat service.

See Also

Artificial Intelligence

Suggestion Assistant

Configuring a Prompt

How it works