Questionnaire Configurer
Behavioural Workflow
Status
Several Statuses were defined for the Questionnaire Configurer, which can be found in the table QuestionnaireStatus.
- Created: initial status.
- Enabled: when a previously disabled Questionnaire becomes enabled.
- Sent: when the Questionnaire is sent to be answered (currently not used).
- Disabled: when a Questionnaire is considered disabled (eg: has no questions).
Integration in SourcingFlowDoc
Screen Field Setup
It is possible to configure the Questionnaire visibility (omit, read-only, required) at specific phases in the process.
This setup can be done using the Table ScreenFieldPermission.
When configuring a screen, this setup applies to the Item field code from questionnaireInfo which should be inside a section named questionnaire.
Integration Status
Whenever a user changes and saves a Questionnaire it assumes a Draft state. The Draft state assumes a Final state only after a submit order is executed from the Integration Document. However a cancel order will discard the Draft and Revert it to a previously valid state, which should coincide with the version before entering the Edit phase.
Regarding history consultation, only Final versions will be displayed and should be coherent with the Integration Document version.
SourcingFlow Clone
Performing a clone in the SourcingFlow will produce a new document without Questionnaires.
Example
The following is an usage example of the Questionnaire Configurer integrated in the SourcingFlowDoc:
