Legacy Dev Forum Posts

 View Only

Sign Up

Evaluation form ID & Context ID

  • 1.  Evaluation form ID & Context ID

    Posted 06-05-2025 18:22

    Trystan | 2022-06-16 01:14:45 UTC | #1

    Hello,

    I have some questions regarding the Quality Management API Evaluation forms.

    1. Does an evaluation form get a new ID each time it is modified, but the context ID stays the same? If so the modified date is the creation date?
    2. Each time an evaluation form is modified, do all of the question group IDs and question IDs change?

    Thank you.


    tim.smith | 2022-06-16 20:18:03 UTC | #2

    I've gotten some feedback from the QM dev team:

    1. Editing a form won't change its id. However, when a form is published, we create a new copy of it that's unpublished and has a new id. That new form is then the one shown in the editor. The new unpublished form will have different form id, question group ids, question ids, and answer ids. The contextId doesn't change, correct. All published versions and the one unpublished version have the same contextId.
    2. When creating a form, we use random ids. When modifying a form, we will save whatever ids are provided on the update request body. So, it's possible to make the ids change on purpose. However, the UI uses the existing values in the request, so by default we keep the ids when just modifying.

    system | 2022-07-17 20:18:03 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 15170