cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Post Select Validation Logic for Custom Action - Remove Objects

Rohaan
13-Aquamarine

Post Select Validation Logic for Custom Action - Remove Objects

Hello All,

I have a requirement to add a custom action which will remove Objects in resulting Items table on 

wt.workflow.work.WorkItem -> Resulting Objects Table

Rohaan_1-1707715664679.png

I need help on how to apply Post Select Validation Logic to remove only required Object type from the Selected Objects in the Table?

 

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire I
(To:Rohaan)

Hi @Rohaan 

Do you remove the objects from wizard table or review detail page?

if it is regular table in detail page you can use preProcess method to check if the correct types are selected. 

public FormResult preProcess(NmCommandBean nmCommandBean, List<ObjectBean> list) throws WTException

PetrH

View solution in original post

1 REPLY 1
HelesicPetr
22-Sapphire I
(To:Rohaan)

Hi @Rohaan 

Do you remove the objects from wizard table or review detail page?

if it is regular table in detail page you can use preProcess method to check if the correct types are selected. 

public FormResult preProcess(NmCommandBean nmCommandBean, List<ObjectBean> list) throws WTException

PetrH

Announcements

Top Tags