Discovery Pattern Applicative Credentials Not Working

varun kaulapure
Tera Contributor

Hello Experts,

 

We are trying to use the applicative credentials in a pattern. Applicative credentials are correctly configured in the credentials table. Credentials are configured as $$username$$ and $$password$$ in Parse Command Output step with exact ci type.

 

However, during execution, pattern is not able to fetch the actual username and password from credentials table.

In debug mode, if we use the 'Run Command' button, it gives following error - "Failed to retrieve remote data: Failed to execute task, PatternDebuggerTask, with failure message: null"

Similarly, if we use 'Test' step button in debug mode, following error occurs - "An un-categorized system error has occurred: null"

Except username and password all other variables are correctly populated during execution.

If the username and password is hardcoded in the command, it executes successfully.

 

Below is the command - 

"powershell.exe" + $executable + $tip + ":" + $port + $query + " -u '$$username$$' -p '$$password$$'"

 

We are on Tokyo version with latest patterns plugin installed.

Any suggestion would be really helpful.

 

Thanks,

Varun

1 ACCEPTED SOLUTION

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @varun kaulapure 

 

This is a known issue introduced in some tokyo patch but its fixed from T P8 onwards via PRB1547409.

 

Please plan for upgrading the instance and you should not see this above specific error and will be able to debug pattern.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

View solution in original post

5 REPLIES 5

Rahul Priyadars
Giga Sage
Giga Sage

May I know this Command is suppose to do what?

Which system it will connect and what the expected output?

Regards

RP

Hi Rahul,

 

It is used to get additional information on MongoDB.

 

Thanks,

Varun

varun kaulapure
Tera Contributor

Hi Rahul,

 

It is used for MongoDB instance to get additional information on databases.

 

Thanks,

Varun

varun kaulapure
Tera Contributor

Hi Rahul,

 

It is used for MongoDB instance to get additional DB information.

 

Thanks,

Varun