dynamicdan / sn-filesync

2-way sync ServiceNow field values to local files
MIT License
66 stars 37 forks source link

Cant sync tests #53

Open cheipol opened 5 years ago

cheipol commented 5 years ago

I'm trying to sync Tests files but cant find the way. I've create add to my configuration file this:

...
"folders": {
      "tests": {
            "table": "sys_atf_test",
            "key": "name",
            "fields": {
                "js": "script"
            }
        },
.....

It recognize the tests files but it doesn't download any of them, just write a log like this:

12:34:39 - warn: Found but will ignore to protected record: C:/projects/servicenow/testsSync/src/tests/ .... DummyTest.js

I have no protection policy configured in Service Now, and I've tried changing the protection policy from "None", to "Read-only" and to "Protected" but it doesn't work with any of them.

Any idea what is the issue?