Hello people,
how can I get what user has set in a class dialog field? (the class extends runbasebatch, the variable I am interested in is also in a CurrentVersion(1) macro)
i believe it may look something like this: (but this just gives me a 1, i don't know, how to show the value of a dialog field)
static void getSysLastValue(Args _args)
{
container lastValues;
RunBaseBatchExtendedClass extClass = new RunBaseBatchExtendedClass();
;
lastValues = xSysLastValue::getValue(curext(), 'userId', UtilElementType::Class, classStr(RunBaseBatchExtendedClass));
extClass.unpack(lastValues);
info((strFmt('%1', conPeek(lastValues, 1))));
}
thanks