PT
Español
English
Português
    Definição

    O exemplo a seguir mostra como preencher o arquivo de configuração para integrar entre o ASMS e o ServiceNow. Comece com um arquivo de configuração totalmente limpo, conforme mostrado abaixo:

    {
        "workOrder": [
            {
                "table": "",
                "reference": "",
                "dataSource": "",
                "definition": {
                    "note": {
                        "type": "",
                        "key": ""
                    },
                    "subject": {
                        "type": "",
                        "key": ""
                    },
                    "description": {
                        "type": "",
                        "key": ""
                    },
                    "service": {
                        "type": "",
                        "searchBy": "",
                        "key": "",
                        "defaultValue": {
                            "id": 0,
                            "value": ""
                        },
                        "onError": [
                            {
                                "action": "",
                                "message": "'{0}'"
                            }
                        ]
                    },
                    "priority": {
                        "type": "",
                        "defaultValue": {
                            "id": 0,
                            "value": ""
                        },
                        "onError": [
                            {
                                "action": "",
                                "message": ""
                            }
                        ],
                        "key": ""
                    },
                    "client": {
                        "type": "",
                        "searchBy": "",
                        "searchAfls": "Email,Name",
                        "defaultValue": {
                            "id": 0,
                            "value": ""
                        },
                        "onError": [
                            {
                                "action": "",
                                "message": ""
                            }
                        ],
                        "key": ""
                    },
                    "company": {
                        "type": "",
                        "searchBy": "",
                        "defaultValue": {
                            "id": 0,
                            "value": ""
                        },
                        "onError": [
                            {
                                "action": "",
                                "message": ""
                            }
                        ],
                        "key": ""
                    },
                    "location": {
                        "type": "",
                        "key": ""
                    }
                }
            }
        ],
        "model": [
            {
                "reference": "",
                "services": [ 0 ],
                "state": {
                    "key": "",
                    "mapping": [
                        {
                            "value": "",
                            "id": 0
                        }
                    ]
                },
                "additionalFields": [
                    {
                        "id": 0,
                        "field": {
                            "key": "",
                            "searchBy": ""
                        },
                        "mapping": [
                            {
                                "id": 0,
                                "value": ""
                            }
                        ],
                        "value": {
                            "id": 0,
                            "value": ""
                        }
                    }
                ]
            }
        ],
        "client": [
            {
                "value": "",
                "reference": "",
                "id": 0
            }
        ],
        "company": [
            {
                "reference": "",
                "value": "",
                "id": 0
            }
        ],
        "priority": [
            {
                "reference": "",
                "value": "",
                "id": 0
            }
        ],
        "service": [
            {
                "reference": "",
                "value": "",
                "id": 0
            }
        ]
    }
    

    Para prosseguir com o exemplo descrito, siga as etapas abaixo:

    3. Visualizar o mapeamento de ordens de trabalho

    4. Visualizar mapeamentos

    5. Exibir mapeamento de modelo