---
sourceDocument: 호주 API 참조
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/api-reference

 Release :

    - australia

ft:locale :

    - ko-KR

ft:publication_title :

    - 호주 API 참조

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# ClassificationSolutionStore - 전역

# ClassificationSolutionStore - 전역 {#ariaid-title1}

* 릴리스 버전: Australia
* 
* 업데이트 날짜 2026년 03월 12일
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 소요 시간: 6분

솔루션을 저장하고 검색할 수 있습니다 .{#ClassificationSolutionStoreAPI__mlstore-concept-sdesc-e}

ClassificationSolutionStore API에는 플러그인(com.glide.platform_ml)이 필요 예측 인텔리전스 하며 `sn_ml` 네임스페이스 내에서 제공됩니다.

## ClassificationSolutionStore - add(개체 mlSolution) {#ariaid-title2}

스토어에 새 솔루션 객체를 추가 하고 고유한 이름을 반환합니다. {#ClassificationStore-add_O__mlstore-add-sdesc-e}
주:  
레이블 값은 고유할 필요가 없습니다. 예를 들어 동일한 레이블로 이 메서드를 10번 실행하면 이 메서드는 저장소에 고유한 이름의 개체 10개를 추가합니다.
{#ClassificationStore-add_O__table_vwy_1fr_llb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| ml솔루션 | [분류솔루션](https://servicenow-prod.fluidtopics.net/G9ShyKlE9a7rqZyYhZcqOg#ClassificationSolutionAPI "ClassificationSolution API는 스토어에서 예측 인텔리전스 사용되는 스크립트 가능한 객체입니다.") | [분류솔루션()](https://servicenow-prod.fluidtopics.net/G9ShyKlE9a7rqZyYhZcqOg#ClassifictnSol-ClassificationSolution_O "분류 솔루션을 생성합니다.") 스토어에 추가할 객체입니다. |
[표 1. 매개변수]

{#ClassificationStore-add_O__table_vwy_1fr_llb} {#ClassificationStore-add_O__table_wwy_1fr_llb__entry__2}

| 유형 | 설명 |
|-|-|
| 문자열 | 시스템에서 생성된 솔루션 이름입니다. |
[표 2. 반환]

{#ClassificationStore-add_O__table_wwy_1fr_llb}  
추가하는 방법을 보여줍니다 솔루션 스토어에[ClassificationSolution 사용 - submitTrainingJob()](https://servicenow-prod.fluidtopics.net/G9ShyKlE9a7rqZyYhZcqOg#ClassifictnSol-submitTrainingJob "교육 작업을 제출합니다.") 교육 작업을 스토어에 추가한 후 실행합니다.

    // Create a dataset 
    var myData = new sn_ml.DatasetDefinition({

      'tableName' : 'incident',
      'fieldNames' : ['assignment_group', 'short_description', 'description'],
      'encodedQuery' : 'activeANYTHING'

    });

    // Create a solution 
    var mySolution = new sn_ml.ClassificationSolution({

      'label': "my solution definition",
      'dataset' : myData,
      'predictedFieldName' : 'assignment_group',
      'inputFieldNames':['short_description']

    });

    // Add the solution to the store to later be able to retrieve it.
    var my_unique_name = sn_ml.ClassificationSolutionStore.add(mySolution);

## ClassificationSolutionStore - deleteObject(문자열 이름) {#ariaid-title3}

저장소에서 지정된 솔루션 객체를 제거합니다.
{#ClassificationStore-deleteObject_S__table_rmj_lfr_llb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 이름 | 문자열 | [ClassificationSolution()](https://servicenow-prod.fluidtopics.net/G9ShyKlE9a7rqZyYhZcqOg#ClassifictnSol-ClassificationSolution_O "분류 솔루션을 생성합니다.") 삭제할 객체입니다. 의 이름 |
[표 3. 매개변수]

{#ClassificationStore-deleteObject_S__table_rmj_lfr_llb} {#ClassificationStore-deleteObject_S__table_smj_lfr_llb__entry__2}

| 유형 | 설명 |
|-|-|
| 안 함 |   |
[표 4. 반환]

{#ClassificationStore-deleteObject_S__table_smj_lfr_llb}  
다음 예제는 스토어에서 솔루션을 삭제하는 방법을 보여줍니다.

    sn_ml.ClassificationSolutionStore.deleteObject("ml_sn_global_global_solution");

## ClassificationSolutionStore - get(문자열 이름) {#ariaid-title4}

스토어에서 솔루션 객체를 가져옵니다.
{#ClassificationStore-get_S__table_zvw_v2r_llb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 이름 | 문자열 | 스토어에 있는 솔루션의 이름입니다. |
[표 5. 매개변수]

{#ClassificationStore-get_S__table_zvw_v2r_llb} {#ClassificationStore-get_S__table_aww_v2r_llb__entry__2}

| 유형 | 설명 |
|-|-|
| 객체 | [분류솔루션버전](https://servicenow-prod.fluidtopics.net/Unmnd_Elaxjy9CtjrxDB1g#ClassificationSolutionVersionAPI "ClassificationSolutionVersion API는 저장소에서 예측 인텔리전스 사용되는 스크립트 가능한 객체입니다.") 객체. 객체가 없는 경우 오류를 반환합니다. |
[표 6. 반환]

{#ClassificationStore-get_S__table_aww_v2r_llb}  
다음 예제는 get() 메서드를 사용하여 스토어에서 솔루션 객체를 가져오고 [ClassificationSolution - getActiveVersion()](https://servicenow-prod.fluidtopics.net/G9ShyKlE9a7rqZyYhZcqOg#ClassifictnSol-getActiveVersion "활성 항목을 가져옵니다. ClassificationSolutionVersion 객체입니다.") 및 [ClassificationSolutionVersion - getStatus()](https://servicenow-prod.fluidtopics.net/Unmnd_Elaxjy9CtjrxDB1g#ClssfnV-getStatus_B "교육 완료 상태를 가져옵니다.") 메서드를 사용합니다.

    // Get status
    var mlSolution = sn_ml.ClassificationSolutionStore.get('ml_incident_categorization');

    gs.print(JSON.stringify(JSON.parse(mlSolution.getActiveVersion().getStatus(), null, 2)));

출력:

    {
     "state":"solution_complete",
     "percentComplete":"100",
     "hasJobEnded":"true"
    }

## ClassificationSolutionStore - getAllNames(객체 옵션) {#ariaid-title5}

스토어에 있는 모든 솔루션 정의 기록의 이름을 가져옵니다.
{#ClassificationStore-getAllNames__id_bfn_kwh_wnb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 옵션 | 객체 | 지정된 속성 내에서 결과를 제한하는 옵션입니다. { "label": "String", "domainName": "String", "scope": "String" }; |
| options.label | 문자열 | 옵션입니다. 솔루션 객체의 레이블입니다. |
| options.domainName | 문자열 | 옵션입니다. 솔루션 객체의 도메인 이름입니다. 다음을 참조 [도메인 분리 및 예측 인텔리전스](https://www.servicenow.com/docs/access?context=domain-separation-predictive-intelligence&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US). |
| 옵션.범위 | 문자열 | 옵션입니다. 솔루션 객체에 대한 [애플리케이션 범위](https://www.servicenow.com/docs/access?context=c_ApplicationScope&version=australia&pubname=australia-application-development&ft:locale=en-US) 의 이름입니다. |
[표 7. 매개변수]

{#ClassificationStore-getAllNames__id_bfn_kwh_wnb} {#ClassificationStore-getAllNames__table_aww_v2r_llb__entry__2}

| 유형 | 설명 |
|-|-|
| 배열 | 스토어의 솔루션 객체 이름을 나타내는 문자열 목록입니다. |
[표 8. 반환]

{#ClassificationStore-getAllNames__table_aww_v2r_llb}  
다음 예제에서 getAllNames() 메서드는 저장소의 모든 이름 목록을 반환합니다.

    gs.print(JSON.stringify(JSON.parse(sn_ml.ClassificationSolutionStore.getAllNames()), null, 2));

출력:

    [
      "ml_x_snc_global_global_my_solution_definition_3",
      "ml_incident_assignment",
      "ml_x_snc_global_global_my_solution_definition",
      "ml_x_snc_global_global_my_solution_definition_2",
      "ml_sn_global_global_incident_service"
    ]

다음 예제에서 getAllNames() 메서드는 매개변수에 설정된 값과 연결된 이름만 반환합니다 options .

    var options = {
      'label' : 'my solution definition',
      'domainName' : 'global',
      'scope' : 'global'
    };
    var solNames = sn_ml.ClassificationSolutionStore.getAllNames(options);
    gs.print(JSON.stringify(JSON.parse(solNames), null, 2));

출력:

    [
      "ml_x_snc_global_global_my_solution_definition"
    ]

## ClassificationSolutionStore - update(문자열 이름, 개체 mlSolution) {#ariaid-title6}

저장소의 기존 객체를 매개변수로 전달된 객체로 대체합니다. 제공된 객체 이름은 비어 있거나 일치해야 합니다.
{#ClassificationStore-update_S_O__table_v5p_wxr_llb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 이름 | 문자열 | 업데이트할 솔루션의 이름입니다. |
| ml솔루션 | [분류솔루션](https://servicenow-prod.fluidtopics.net/G9ShyKlE9a7rqZyYhZcqOg#ClassificationSolutionAPI "ClassificationSolution API는 스토어에서 예측 인텔리전스 사용되는 스크립트 가능한 객체입니다.") | [분류솔루션()](https://servicenow-prod.fluidtopics.net/G9ShyKlE9a7rqZyYhZcqOg#ClassifictnSol-ClassificationSolution_O "분류 솔루션을 생성합니다.") 업데이트할 객체 속성입니다. |
[표 9. 매개변수]

{#ClassificationStore-update_S_O__table_v5p_wxr_llb} {#ClassificationStore-update_S_O__table_w5p_wxr_llb__entry__2}

| 유형 | 설명 |
|-|-|
| 안 함 |   |
[표 10. 반환]

{#ClassificationStore-update_S_O__table_w5p_wxr_llb}  
다음 예제에서는 저장소에서 솔루션 개체를 업데이트하는 방법을 보여줍니다.

    var solutionUpdate = new sn_ml.ClassificationSolution({
      'label': 'my solution definition',
      'dataset' : myData,
      'predictedFieldName' : 'assignment_group',
      'inputFieldNames': ['short_description']
    });

    sn_ml.ClassificationSolutionStore.update('ml_sn_global_global_incident_service', solutionUpdate);


