am trying to do particular task am define some contract and designed the UI.I want to get API values into Form .
so am used below coding in groovy script
${import org.ow2.bonita.facade.IdentityAPI;
import org.ow2.bonita.facade.identity.User;
IdentityAPI api = apiAccessor.getIdentityAPI();
User user = api.findUserByUserName(processInstance.getStartedBy());
User manager1 = api.getUserByUUID(user.getManagerUUID());
return manager1.username;
}
→ am not getting the value into UI Form.