The BPMAdapter runtime interface
Custom activity action methods may accept an object of type BPMAdapterRuntime. BPMAdapterRuntime is an interface that provides access to some IPA server functions from within Custom Activity code. An object implementing BPMAdapterRuntime is passed to methods in the custom adapter that have BPMAdapterRuntime as their first and only parameter.
The current functionality of BPMAdapterRuntime is listed below:
com.lawson.bpm.adapter.sdk
Interface BPMAdapterRuntime
Method summary | |
---|---|
String | getActivityCaption() Get the caption given to the activity in Designer |
Void | setConnectorOutputVariables (boolean
terminating, int errorCode, int
informationCode, String returnMessage,
Object outputData)
Set the Connector output of the activity |
Void | writeToLog (String string)
Write a string to the IPA log |
Void | writeToErrorLog (String
string)
Write a string to the IPA error log |
String | getActivityName()
Get the activity’s name in Designer |
Object | substituteVarsAsObjects(String
varExpression) If the string contains a variable name in the form "<!varname>", returns the variable as an object, otherwise returns a String |
String | substituteVars(String varExpression)
Substitute any variables in the form "<!varname>" and return a String representation |
Void | setGlobalVariable(String varName,
Object varValue) Set a global variable in IPA |