Skip to main content
1-Visitor
July 10, 2017
Question

How to execute info * engine tasks..??

  • July 10, 2017
  • 1 reply
  • 1301 views

I browsed xml file from tasks folder I want to execute it. But it is asking for inputs like supporting adapter and object for an Create.xml file. what are these and how to execute the file..??

1 reply

1-Visitor
July 10, 2017

You need to provide a VM/adapter name in your task. The best method is to get the value of wt.federation.ie.VMName from wt.property. It is something like reverse of your server name with a .Windchill appended to it. 

 

<%
String instance = wt.util.WTProperties.getLocalProperties().getProperty("wt.federation.ie.VMName");
%>
<ie:webject name="Query-Objects" type="OBJ">
<ie:param name="instance" data="<%=instance%>"/>
<ie:param name="WHERE" data="name='$(@FORM[]name[])'" default=""/>
<ie:param name="TYPE" data="wt.maturity.PromotionNotice"/>
<ie:param name="ATTRIBUTE" data="*" delim=","/>
<ie:param name="GROUP_OUT" data="PromotionNotice"/>
</ie:webject>