Example Function Catalog
This example shows two functions from the standard functions catalog as an example to follow.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <catalog name="Standard"> <category> <name>System</name> <function> <name>currentTimeMillis</name> <class>com.tibco.be.functions.System.SystemHelper</class> <args></args> <async>false</async> <reevaluate>true</reevaluate> <isValidInQuery>true</isValidInQuery> <isValidInBUI>true</isValidInBUI> <helpUrl/> </function> </category> <category> <name>Event</name> <function> <name>createEvent</name> <class>com.tibco.be.functions.event.EventHelper</class> <args>stylesheet, entityArray</args> <isActionOnly>true</isActionOnly> <desc>Create an event using XSLT Mapper. This returns a event entity</desc> <async>false</async> <mapper> <enable>true</enable> <type>xslt</type> <inputElement> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="createEvent"> <xsd:complexType> <xsd:sequence> <xsd:element name="event" type="xsd:anyType" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </inputElement> </mapper> <helpurl></helpurl> <isValidInBUI>true</isValidInBUI> </function> </category> </catalog>
Copyright © Cloud Software Group, Inc. All rights reserved.