Skip to main content
12-Amethyst
May 8, 2024
Question

How to read Attribute value using form processor and perform further process

  • May 8, 2024
  • 2 replies
  • 1054 views

RS_10128209_0-1715170649302.png

How to read attribute value named as, "Part Number" from the WTDocument creation page and perform further operation using form processor

expected - Read attribute value if it contains value then need to create WTPart with same number as passed in this attribute.

 

2 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
May 13, 2024

Hi @RS_10128209 

In your processor, there is NmCommandBean input variable, this variable contains all what you need from the wizard

// NmCommandBean nmcb
public FormResult doOperation(NmCommandBean nmcb, List<ObjectBean> var2) throws WTException
{
nmcb.getChecked();
nmcb.getText();
nmcb.getTextArea();
}

PetrH

Community Moderator
May 27, 2024

Hi @RS_10128209,

 

I wanted to follow up with you on your post to see if your question has been answered. 
If so, please mark the appropriate reply as the Accepted Solution. 
Of course, if you have more to share on your issue, please let the Community know so that we can continue to help you. 

 

Thanks,
Anurag