Setting the Values in Multiselection List

463 views
Skip to first unread message

sarita...@flowian.com

unread,
Jul 22, 2016, 2:38:33 AM7/22/16
to Fujitsu RunMyProcess Developer Community
Hello Team,

We have one multiselection list. Using multiselection list we can select multiple values at a time.

We want to set the multi selection list using the values which I have selected in past and saved in collection.

For eg In my List I do have ["small","medium","large","elarge"] values.

And Now I want to set the List with the values ["large","medium"].

I do have these values which I want to set to list in array. The problem is that I am not able to set those values to the list.

Could you please help me..?

Thanks In advance

Regards,
Sarita

Murali

unread,
Jul 22, 2016, 3:07:55 AM7/22/16
to Fujitsu RunMyProcess Developer Community, sarita...@flowian.com
Hi Sarita,

Please refer to below user-guide links and update your code as per requirement.

https://docs.runmyprocess.com/Developer_Guide/Collection/Collections_To_List
https://docs.runmyprocess.com/User_Guide/Development_Environment/Toolbox/Web_Interfaces/Widget/List_Widget

Hope this helps.

Regards,
Murali
Fujitsu RunMyProcess Support

sarita...@flowian.com

unread,
Jul 25, 2016, 3:11:12 AM7/25/16
to Fujitsu RunMyProcess Developer Community, sarita...@flowian.com
Hello Murali,
We do not want list to be formed from collection values. we have a subset of values which are already present there in the custom list[MultiSelectionList]. In that subset there can be more than one values which needs to be set in the multi selection list.

Basically I want to set the multiple values to the list which is multiselection list.

I do not found any function in the given documentation links which fulfill above requirement.

Thanks and Regards,
Sarita

Pankaj Kumar

unread,
Jul 27, 2016, 3:24:55 AM7/27/16
to Fujitsu RunMyProcess Developer Community
Hi Sarita,

You want to auto select a subset of values from a custom list. For this please use the below code on List "post loaded script" button

RMPApplication.setVariable("list_variable_label_name",["label_to_select_1", "label_to_select_2", "label_to_select_3"]);


Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support


--
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/08ed9430-a8ac-4d88-b33f-421f890ed33d%40runmyprocess.com.

sarita...@flowian.com

unread,
Jul 27, 2016, 6:31:06 AM7/27/16
to Fujitsu RunMyProcess Developer Community, sarita...@flowian.com
Hello Pankaj,

Given solution is not woarking.I am not able to set the values of custom list.
Could you please help me?

Pankaj Kumar

unread,
Jul 27, 2016, 6:59:50 AM7/27/16
to Fujitsu RunMyProcess Developer Community, sarita...@flowian.com
Hi Sarita,

Please refer to attached screen-print for more understanding on this.


Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

--
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/.
1.png
2.png
3.png
4.png

sarita...@flowian.com

unread,
Jul 27, 2016, 7:57:25 AM7/27/16
to Fujitsu RunMyProcess Developer Community, sarita...@flowian.com
Hi Pankaj,

Thanks a lot for the solution. It is working.

Regards,
Sarita

sagar....@flowian.com

unread,
Apr 1, 2017, 4:28:13 AM4/1/17
to Fujitsu RunMyProcess Developer Community, sarita...@flowian.com
Hello Team,

I do have one array widget and in that I have taken a multiselection list. How can we set the list to multiple values like [val1, val2 ].

Same query as that of above but in this case the muli-selection list in in array widget.

Could anyone please guide me doing that.

Thanks and regards,
Sagar

Abhilash Sambhare

unread,
Apr 5, 2017, 2:44:07 AM4/5/17
to Fujitsu RunMyProcess Developer Community
Hi Sagar,

Good Day.

Apologies for delay in response.

To set the values of multiselection list into array widget,you can use the below syntax

id_array1.id_List[0].setVariableValue("varL", ["ccL", "aaL"])
id_array1.id_List[0].setSelectedLabel('["ccL", "aaL"]');

where
id_array1- Identifier of array widget.
id_List-identifier of list to be set into array widget.


Thanks & Regards,
Abhilash Sambhare
Fujitsu-Runmyprocess Support.

--
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+unsubscribe@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/.

Abhilash Sambhare

unread,
Apr 7, 2017, 2:14:20 AM4/7/17
to Fujitsu RunMyProcess Developer Community
Hi Sagar,

Awaiting for your response.

Thanks & Regards,
Abhilash Sambhare
Fujitsu Runmyprocess Support

sagar....@flowian.com

unread,
Apr 7, 2017, 2:16:32 AM4/7/17
to Fujitsu RunMyProcess Developer Community
Hello Abhilash,

The given solution works. Thank you very much for the support.


Regards,
Sagar

Reply all
Reply to author
Forward
0 new messages