Runtime components : Service engine : The references : Change the flow event
  
Change the flow event
There are 2 overloading methods to change the flow event.
public void changeEvent(String nextEventName, KeyedCollection input, KeyedCollection output) throws Exception
public JSONObject changeEvent(String nextEventName, HashMap<String, Object> input) throws Exception
They have almost the identical function, change the current flow event < nextEventName >.
You can use KeyedCollection as the input and output data.
You can also use HashMap<String, Object> as the input data in the application that is NOT aware of UDTT Context Data. Then you can access the output data in JSON format with getJsonData().
Go up to
The references