Hi Everyone,
Our requirement is to set a collection values through a scheduled task with a java code.In the collection couple of fields contain the VLV type fields which are already existing.we need to get those values in vlv and set them according to the condition from background.
ValueListTypeIBeanHomeIfc vlvHome = (ValueListTypeIBeanHomeIfc)IBeanHomeLocator.lookup(
iapiSession, ValueListTypeIBeanHomeIfc.sHOME_NAME
ValueListTypeIBeanIfc vlvbean = (ValueListTypeIBeanIfc)vlvHome.findByExternalId(
"eSign_Int_Ext"
);
ValueListTypeIBeanIfc vlvIntValue = (ValueListTypeIBeanIfc) vlvbean.getCollnValueListValue().get(0);
ValueListTypeIBeanIfc vlvExtValue = (ValueListTypeIBeanIfc) vlvbean.getCollnValueListValue().get(1);
setting a value through vlvIntValue.getObjectReference(). Its working in clm script but couldnot able to replicate the same through java code.Can you please help me in this regard.
Thanks in Advance,
Sudheer Lanka