Home
    Ejemplo

    El siguiente ejemplo muestra como poblar el archivo de configuración para poder realizar la integración entre ASMS y ServiceNow. Inicie con un archivo de configuración totalmente limpio como se muestra a continuación:

    {
        "urgency": [
            {
                "table": "",
                "mapping": [
                    {
                        "value": "",
                        "id": 0
                    }
                ],
                "field": ""
            }
        ],
        "impact": [
            {
                "table": "",
                "mapping": [
                    {
                        "value": "",
                        "id": 0
                    }
                ],
                "field": ""
            }
        ],   
        "case": [
            {
                "table": "",
                "externalIdField": "",
                "definition": {
                    "itemType": "",
                    "typeRegister": {
                        "type": "",
                        "searchBy": "",
                        "key": ""
                    },
                    "service": {
                        "type": "",
                        "searchBy": "",
                        "key": ""
                    },
                    "project": {
                        "type": "",
                        "searchBy": "",
                        "key": ""
                    },
                    "category": {
                        "type": "",
                        "searchBy": "",
                        "key": ""
                    },
                    "applicant": {
                        "type": "",
                        "searchBy": "",
                        "key": ""
                    },
                    "responsibleGroup": {
                        "type": "",
                        "searchBy": "",
                        "key": ""
                    },
                    "responsible": {
                        "type": "",
                        "searchBy": "",
                        "key": ""
                    }
                }
            }
        ],
        "model": [
            {
                "state": [              
                    {
                        "value": "",
                        "id": 0,
                        "commentary": {
                            "Key": "",
                            "value":""
                        }
                    }
                ],
                "id": 0,
                "additionalFields": [           
                    {
                        "id": 0,
                        "field": {
                            "type": "",
                            "key": "",
                            "SearchBy": ""
                        },
                        "mapping": [
                            {
                                "id": 0,
                                "value": ""
                            }
                        ]
                    }
                ]
            }
        ],
        "typeRegister": [
            {
                "value": "",
                "reference": "",
                "id": 0
            }
        ],
        "service": [
            {
                "value": "",
                "reference": "",
                "id": 0
            }
        ],
        "project": [
            {
                "value": "",
                "reference": "",
                "id": 1
            }     
        ],
        "category": [
            {
                "value": "",
                "reference": "",
                "id": 0
            }
        ],
        "applicant": [
            {
                "value": "",
                "reference": "",
                "id": 0
            }
        ],
        "responsibleGroup": [
            {
                "value": "",
                "reference": "",
                "id": 0
            }
        ],
        "responsible": [
            {
                "value": "",
                "reference": "",
                "id": 0
            }
        ]   
    }
    


    Para continuar con el ejemplo descrito, siga los pasos a continuación:

    1. Ver Mapeo de urgency ↪

    2. Ver Mapeo de impact ↪

    3. Ver Mapeo de case ↪

    4. Ver Mappings ↪

    5. Ver Mapeo de model ↪