Need to call pre-execution script while running pattern discovery

SantoshL
Tera Contributor

Hello team,

We have created pre-execution script for tomcat war pattern to get few app names from ServiceNow application table. The script runs fine if we run it in background script and give expected output. Once we get expected output from pre-execution script then that will be considered for pattern developed in tomcat war connection section. The tomcat war connection section pattern step gives us the run time app name from tomcat run time environment variables.

The app name which we get from environment variables and one from pre-execution scripts (if matches) will be finally considered for creation of dynamic service map.

The issue here is pre-execution runs as expected in background script but pre-execution script not being called and not producing any logs to debug the issue.

Any help here very much appreciated.

 

BR,

SL

1 REPLY 1

SantoshL
Tera Contributor

Hi team,

Please let me know if we have any updates here. We would like to create dynamic service map using pre service mapping script (top-down discovery) and then using it for pattern. As of now we are getting temp table created while running top-down discovery but its values are undefined from pre service mapping script. 

 

Best Regards,

Santosh Lamkhade