Hello Dojo,
Is there any way in automation to get the configured input data from a particular service template?
Kind regards,
Ana
Ana Pinho [SLC] [DevOps Advocate] Posted new comment 19th September 2024
Hi Ana,
I don't know my understand is correct but using following codes, you can find input data definition from PreRequiredData[].
ServiceFilter filter = new ServiceFilter { NameFilter = "Service Template Name" };
Service service = engine.FindServiceTemplates( filter ).FirstOrDefault();
service.ServiceInfo.TemplateDefinition.PreRequiredData[] contains necessary data.
Hideyuki Imaida [DevOps Advocate] Answered question 22nd July 2024
I ended up not needing this. Decided to go on a different route. Not sure the if the answer below works.