Lists With Dependencies

158 views
Skip to first unread message

besumm...@gmail.com

unread,
Oct 20, 2015, 11:11:01 AM10/20/15
to Fujitsu RunMyProcess Developer Community
Hello,

I have two lists. One of list in header and another in one array.
What I want?

For example, when I select the first field of list I want the in the list that is in array, appear just some of fields of list. Somebody can help me?

Sweta Suman

unread,
Oct 21, 2015, 3:49:43 AM10/21/15
to suppor...@runmyprocess.com
Hi,

I guess you want to create linked lists. Based on data selection of first_list second_list should be populated. To do this you can refer below tutorials - 



Please revert back if I misunderstood your requirement.


--
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 http://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/c8812ff7-489f-4574-be7b-fb06dec31602%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Thanks,
Sweta 
Fujitsu RunMyProcess

besumm...@gmail.com

unread,
Oct 21, 2015, 5:14:13 AM10/21/15
to Fujitsu RunMyProcess Developer Community
Yes, is more or less this, but I don't understand how I can do this. I want something more simple, without create a collection. Can you help me?

Sweta Suman

unread,
Oct 23, 2015, 4:39:48 AM10/23/15
to suppor...@runmyprocess.com
Hi,

Let's take an example that you have two list and based upon data selection of list1 list2 should be populated. To bind two list using script follow below steps -

Step1- Take a list1 type "custom" having value_variable as list1 and identifier as id_list1 and list2 type "variable based" having list_variable as vb_list.(screenshot list_config)

Step2- Take a js widget which listen to list1 and write below script -(screenshot js_)
 
var mylist =id_list1.getSelectedLabel();          // get selected label from list1
var temp = new Array();                               // initializing an array
var a = new RMP_List();                             // initializing a RMP_list
if( mylist== "label1")                                  //check for condition 
{
temp.push({"label":"test1","value":"test"},{"label":"test2","value":"test"});            // pushing value to array
a.fromArray(temp);                                                                                        // array to list
RMPApplication.setList("vb_list",a);                                                              // setlist
}
else
{
temp.push({"label":"test3","value":"tes3t"},{"label":"test4","value":"test4"});
a.fromArray(temp);
RMPApplication.setList("vb_list",a);
}

Please refer screenshot for better understanding.

Hope this helps you.

On Wed, Oct 21, 2015 at 2:44 PM, <besumm...@gmail.com> wrote:
Yes, is more or less this, but I don't understand how I can do this. I want something more simple, without create a collection. Can you help me?
--
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 http://groups.google.com/a/runmyprocess.com/group/supportforum/.
list_config.png
js_.png

besumm...@gmail.com

unread,
Oct 26, 2015, 6:29:50 AM10/26/15
to Fujitsu RunMyProcess Developer Community
Works ;) Thank you very much.

besumm...@gmail.com

unread,
Oct 26, 2015, 6:54:52 AM10/26/15
to Fujitsu RunMyProcess Developer Community, besumm...@gmail.com
And if I have more than option?

I try do this:

if( mylist== "Mbit")
{
temp.push({"label":"Hardware","value":"hardware"});
a.fromArray(temp);
RMPApplication.setList("array_po.vb_list",a);
}

if( mylist== "Optimized")
{
temp.push({"label":"Outsourcing","value":"outsourcing"});
a.fromArray(temp);
RMPApplication.setList("array_po.vb_list",a);
}

if( mylist== "ITSector")
{
temp.push({"label":"Licenciamento","value":"licenciamento"});
a.fromArray(temp);
RMPApplication.setList("array_po.vb_list",a);
}
else
{
temp.push({"label":"","value":""});
a.fromArray(temp);
RMPApplication.setList("array_po.vb_list",a);
}

But appear white lines in some options. Can you help me to optimize this?

Murali

unread,
Oct 26, 2015, 7:35:48 AM10/26/15
to Fujitsu RunMyProcess Developer Community, besumm...@gmail.com
Hi,

Thanks
a lot for your email.

The latest queries would require professional  consulting/support hours, as they are application specific.
I cordially request you to let us know your RMP Account ID to which we would bill these hours.
If such an arrangement is not in place, kindly provide us with your company details and the Point of Contact to whom we can connect our Sales Team.

Awaiting your reply.

Regards,
Murali

Fujitsu RunMyProcess Support


besumm...@gmail.com

unread,
Oct 27, 2015, 11:02:47 AM10/27/15
to Fujitsu RunMyProcess Developer Community, besumm...@gmail.com
Hello,
I already paid for license. Please help me to solve the problem. How I can optimize this?

gpel...@runmyprocess.com

unread,
Oct 29, 2015, 6:31:45 AM10/29/15
to Fujitsu RunMyProcess Developer Community, besumm...@gmail.com
On Tuesday, October 27, 2015 at 4:02:47 PM UTC+1, besumm...@gmail.com wrote:
> Hello,
> I already paid for license. Please help me to solve the problem. How I can optimize this?

Hello,
This community is an interactive exchange platform held by the RMP teams, with active involvement from some customers. It could not, in any way, substitute for RMP service "SUPPORT" which representes a separate activity.
Also, I suggest you to contact your RMP account manager who will suggest you a suitable support model according to your needs.

Best regards
Gilles PELIZZO
Global Delivery Manager

Reply all
Reply to author
Forward
0 new messages