Questions and Answers

Click on Image to see full size image

Question Piece in Workflow

Context: Workflow

Shows one question to the user in one screen

question - If left blank, the selected Customfield label is shown to the user 

stored in - Select Customfield into which you store the answer to this question

Following fields are available in ALL Question and Choose piece types

Is Required? - condition under which this question becomes mandatory - optional if left blank 

Is Disabled? - condition under which this question is disabled

Default - Default value to be shown to the user

Select Image - image to be shown before the question; Application has an in built library of standard images

Question Piece with Validation in Workflow

Context: Workflow

Shows one question to the user in one screen with validation included

Note how the each piece fits into a other pieces/spaces like a puzzle. 

Split piece fits with question piece and helps validate the answer of that question - here, we check length of ANSWER ( Grouped answer, in case of a Grouped question piece) and reject the value if the answer is too short

We make the question mandatory by putting the TRUE hexagonal piece within the Is Required? box

Grouped Question

Context: Workflow

To be used with the Group piece to show multiple Grouped Questions on one screen

group with heading - Each Group piece represents one screen of the form. Heading of the page in put here

section - One or more questions can be included into separate section on each form screen. Here we should 2 questions on one page and one section

No of columns - Deprecated field

grouped question - As explained in pieces above

Start/End - pieces included to show example in the form of a fully complete workflow

Choose

Context: Workflow, Dashboard Widget, Computed field, Report

choose from - Drop a list of available or generated list values; Here, we are asking user to select a Site; The get piece returns a list of locations of Site type; You can create the list by using one of the available functions in the system OR create a list of your own and use the same.

stored in - Selection from the above mentioned list is stored in a corresponding variable type; Here, it stored it in variable of Location type; You can either select one which is already defined OR you will have to add a variable of Location type which you can then select.

question - Label of the choose question; will default to name of variable

Grouped Choose

Context: Workflow, Dashboard Widget, Computed field, Report

grouped choose from - Drop a list of available or generated list values; Here, we are asking user to select a Site; The get piece returns a list of locations of Site type; You can create the list by using one of the available functions in the system OR create a list of your own and use the same.

stored in - Selection from the above mentioned list is stored in a corresponding variable type; Here, it stored it in variable of Location type; You can either select one which is already defined OR you will have to add a variable of Location type which you can then select.

question - Label of the choose question; will default to name of variable

Answer

Context: Workflow

Answer piece can be used in the way shown in the LHS image. This Answer piece maybe used only in standalone questions - questions which are one per page.

In the LHS example, we check if Length of Answer is less than or equal to 3 chars and return Error if condition is TRUE.

Grouped Answer

Context: Workflow

Grouped Answer piece is used within Group pieces to validate collected by the Grouped Question piece. Given on the LHS is an example usage where we check length of Full Name value typed in by User and reject the answer when its length is less than 4 chars.

Right click and Open Image on another tab to see in full size


Success

Context: Workflow

Success can be explicitly marked as shown in the example on the LHS. In a Split, we can use a TRUE condition branch and return Success 

Error

Context: Workflow

Error piece can be used to check if a certain condition is TRUE and not allow the User to move forward in the workflow. It is a type of form field validation. For e.g. Please refer to the Grouped Answer section above for more details.