Imports:
com.wm.app.b2b.server.InvokeState
com.wm.app.audit.IAuditRuntime
Service:
InvokeState is = InvokeState.getCurrentState();
IAuditRuntime ar = is.getAuditRuntime();
String context = ar.getContextStack();
IDataCursor pipelineCursor = pipeline.getCursor();
IDataUtil.put(pipelineCursor,“context”, context);
pipelineCursor.destroy();
This returns a string list of context IDs. One problem with this is that the string of context ids are not necessarily in order. I would like a way to explicitly take the context ID that I want (i.e. root/parent/current). Can anyone make this happen?
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods