Creating objects based on scores in a questionnaire assessment
You can configure the Questionnaire Assessment Workflow to create an object, such as an issue, when the score
for the response to a question doesn't meet a set threshold.
Any files that are attached to the answered question are automatically attached to the created
object.
You can create any object type except for Files (SOXDocument) and Links
(SOXExternalDocument).
To perform this task, you must be an administrator with the application permission
SOX > Administration > Workflow.
Procedure
To open the GRC Workflow Designer, click
Open Administration menu
> Solution
Configuration > Workflows.
Click Questionnaire Assessment Workflow.
Select an action between two stages. For example, for a two stage questionnaire
assessment, you can select the action Submit and Close between the
Information Gathering stage and the Closed
stage.
The Action Properties panel
appears.
Expand the Validations and Operations section.
Click New Operation.
In the Operation field, select Custom
action.
Enter a Name.
In the Class Name field, enter
com.ibm.openpages.api.service.local.workflow.actions.QuestionnaireScoreAssessmentAction.
Set the threshold:
Click Add Property.
Enter the Name of the property,
threshold, and a Value, such as
4. When you set the value to 4, an object, such as an issue, is generated
when a score for an answer is less than 4. If you don't specify the
property objectType in step 10, an issue is generated by
default.
The default value of the threshold property is
5.
In the Properties panel, click
Done.
Optional:
If you want to create an object type other
than an issue (the default), set the object type:
Click Add Property.
Enter the Name of the property,
objectType, and a Value, such as
SOXRisk. When you set the value to SOXRisk, a risk is
generated when a score for an answer is less than the set threshold.
The default value of
the objectType property is SOXIssue.
The
objectType property must specify the system name, such as
SOXRisk, rather than the display name, such as Risk.
The object type must be a child of the asset type.
In the Properties panel, click
Done.
In the Operations panel, click Done and
click Publish.
Results
When the questionnaire assessment triggers the custom action, the questionnaire
assessment shows an icon to point out each answer that has a score below the set threshold and an
object, such as an Issue, is created. The low score icon only appears when the
questionnaire assessment is in the Review stage.
In the following example, an issue is created because the
objectType property was not specified.
Figure 1. A section of a questionnaire showing the low score
icon
The following figure shows the Parent and child relationships diagram for
a questionnaire assessment. The relationships are expanded to show an issue as a child of the
resource.
Figure 2. Parent and child relationship diagram showing an
issue