06-06-2013 08:44 AM
@BusinessProcessScoped
public class MyProcessBean implements java.io.Serializable {
// this bean persists its state throughout the whole process instance
private String lastChangingUser;
//getters&setters
}
@RequestScoped
public class MyTaskController {
@Inject MyProcessBean myProcessBean;
public void updateLastChangingUser() {
Principal principal = FacesContext.getCurrentInstance().getExternalContext().getUserPrincipal();
myProcessBean.setLastChangingUser( principal.getName() );
}
}
06-10-2013 11:04 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.