Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Process refresh : API from ProcessTemplate SVO
 

API from ProcessTemplate SVO

The following APIs are provided from the ProcessTemplate SVO.

APIs provided by ProcessTemplate SVO

*public HashMap validateForUpdate(String xmlfile)
wherein xmlfile can be the absolute path to the new XML file, or the entire XML file as String.
HashMap contain the following keys:
*RESULT — the value is "true" or "false".
If the value of RESULT is "false", then the additional keys are traversed to get the information why the validation failed.
*public void replace(String xmlfile)
wherein xmlfile can be the absolute path to the new XML file, or the entire XML file as String. If the xmlfile is null, then the process XML is obtained from the OEBPS_HOME\ebmsapps\<processname>\processtemplates\processname.xml, where <processname> is the name of the process.