SG-SCCM SAMP Usage scheduled import not creating import set

Aman Trivedi1
Tera Contributor

Hi All,

I am currently troubleshooting an issue with the Service Graph Connector for Microsoft SCCM and wanted to check if anyone else has experienced something similar.

SG-SCCM SAMP Usage scheduled import not creating import set

AmanTrivedi1_2-1782828988421.jpeg

 



After Investigation I found out the below support article.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2422405
It says this scheduled job has a condition that it only run on 2nd day of the month, if we want to run on any other day for testing purpose, we may need to modify the condition. 

condition script:

if (now.getDayOfMonthLocalTime() == 2) {
    answer = true;
    var statement = new sn_sccm_integrate.SAMPUsage2019Util()
        .initializeDatasourceSqlStatement(connectionAliasSysId, datasourceSysId);
}
answer
 

Is anyone facing this scenario earlier, had anyone make changes in the scheduled job script

AmanTrivedi1_1-1782828872176.png

Thanks in advance for all the help. 

0 REPLIES 0