Saturday, September 4, 2010

Refreshing a task flow in ADF

Add the following code to refresh a taskflow from a managed bean.

BindingContext bctx = BindingContext.getCurrent();
BindingContainer bindings = bctx.getCurrentBindingsEntry();
DCTaskFlowBinding taskflowBinding = null;
taskflowBinding = (DCTaskFlowBinding) bindings.get("--taskflow id here");
taskflowBinding.refresh();

No comments:

Post a Comment