Eg :
If company = A and amount <= 10000, it will have 2 approvers
If company = A and amount >= 10001, it will have 3 approvers
Problem
Problem is that I need to reinitialise all the 5 rows back to no selection before I repopulate the correct list again into the array. But I cannot properly clear the previous auto populated values.
If the new approver list is > = to the previous number of rows, then no issue. But if the new approver list is < than the previous number of approver rows, then it will still show the extra approvers from the previous population.
I have tried the below 2 but still not working
id_my_array_fixed_approvers.id_ fixed_appr_title [i].setSelectedValue("");
id_my_array_fixed_approvers.id_fixed_appr_title[i].reset();
See attachement
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/2d845029-f5bc-4d08-811e-ac2f15de3a4a%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
I did tried using reset() as mentioned in my previous attachment (pic also included)
Problem with reset()
Originally, based on criteria, it auto populate 3 approvers. Then I change the values and it auto repolutae to 2 approver. In the form, the reset() seem to be working fine. But after submit and check at it process instance, you will see there is 3 rows of approver in the array and the last row is captured as blank.
By right, the array should show 2 rows (2 approvers) and not 3 rows (with the last row = blank).
I now try to redo the whole thing with addrow and delete row. But i may need to revert back to this ori design if add row and delete row also cannot work.
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/2b1ec537-0766-4fe6-b64b-445fafb041a9%40runmyprocess.com.
Thank you. It is working now