Hi.
I have a workflow in which I am creating a dynamic PopupInput. Here is some pseudo code similar to that what I am using:
import commvault.msgs.App.XMLSchema;
import commvault.msgs.App.InputControlType;
XMLSchema input = new XMLSchema();
input.setDefaultValue("Default");
input.setInputName("INPUT1");
input.setHidden(false);
input.setListType(false);
input.setControlType(InputControlType.TEXTBOX);
input.setDisplayName("Display Name");
input.setRequired(false);
activity.getForm().getEntries().add(input);
This works well so far. But I am struggling to get the output of the PopupInput because the entry “INPUT1” seems to not exist. I tried a few things within a “Script” activity or even in the OnComplete Script of the PopupInput. For example I iterated through “activity.getForm().getEntries()” but the entry “INPUT1” did not exist. But nothing has been working.
Does anybody know how to get the value of my entry? (Remember: That is just pseudo code. In reality I am generating many input fields completely dynamically and cannot generate a static PopupInput.)