Assessment Instance Questions not showing the questions after Assessment Instance is Created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2024 11:30 PM
I have a requirement where a surveys needs to be triggered to a particular group as soon as the incident is marked as Resolved.
As we can't directly use the group to trigger the survey, so I used a flow designer to trigger the Survey to the group members of the group. The Assessment Instance is getting created as expected, but unfortunately when I impersonate to a user whim the Survey is Assigned, he is not able to see the survey under 'My Assessment and Survey' tab,
Can someone please help me where I am going wrong in implementing this solution.
Flow Designer:
Assessment Instance which got created from above flow:
No questions are showing in the above screenshot and also after impersonating to 'administrator', I am not able to see the Survey under 'My assessment and Survey' module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2024 12:41 AM
For the UI page:
For the Flow:
Step 1
Create the asmt_assessment_instance record
Step 2
Do a lookup to the asmt_metric_category table where 'type' is the sys_id of your created survey record.
Step 3
For each item in your lookup
Step 4
do a look up to the asmt_metric table where 'category' is the sys_id of your 'for each'
Step 5
For each on that look up
Step 6
Create the asmt_assessment_instance_question records where fields are:
Source table = assessment metric type
Source = sys_id of the metric type from record created in step 1
Category = sys_id of for each record of step 3
Instance = sys_id of the record created in step 1
Metric = sys_id of for each record of step 5
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2024 02:37 AM - edited ‎08-03-2024 02:40 AM
Thank you very much for the detailed solution and explanantion 😊
I tried implementing the flow in my PDI and it is working fine as expected if the survey needs to be trigerred to a particular user but I need to trigger the survey the survey to a the group members of a prticular group. I tired implemnting the flow on the same logic but unfortunately It did not worked. The assessment is getting triggered to the user but the Assesment Questions are not visible to the user. Can you please help me with the same.
Please find below screenshots for the flow I created.
Alos, if any one of the user from the group completes the assesmsent, then the other Assessment Instance assosciated with the current Incident record should be cancelled automaticallyfor the other users.
Thank you in advance again for your help and support.