List Box values changes

406 views
Skip to first unread message

sup...@flowian.com

unread,
Aug 10, 2018, 2:19:36 AM8/10/18
to Fujitsu RunMyProcess Developer Community
Hello Team,
When i select value in list and when it goes to other approval screen the values in the list boxes changes.I have also attach the screenshot.
Please help me.
Thanks & Regards,
Shashank
asdsdsa.png
qweqwewq.png

Pankaj Kumar

unread,
Aug 10, 2018, 4:39:48 PM8/10/18
to Fujitsu RunMyProcess Developer Community
Hi Shashank,

Kindly share the steps to reproduce the issue as information provided is not sufficient. Kindly share more details on how we can reproduce the issue to suggest you more 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+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/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/3294f4a3-5dee-4563-84b7-7be43b68bf09%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

Support From_Flowian

unread,
Aug 11, 2018, 12:51:25 AM8/11/18
to Fujitsu RunMyProcess Developer Community
Hello Pankaj,
I have 2 screen for my process.In those screen i have list box in my form which is variable based the values in the list boxes come from collection.When my 1 screen that is initiator select the value in the list boxes and it goes to another screen i.e approver the value changes in List box changes for the approver.
I have one more issue the value displayed in my list boxes are the label not the values.

This is the script which i am using to display the values in Variable based list
function list_ok(result) {
var vb_list = new Array();

for(var i=0;i<result.length;i++) {

vb_list.push({"value":result[i].data,"label":result[i].cluster});
}

var a = new RMP_List();

a.fromArray(vb_list);
RMPApplication.setList("vb_list",a);
}

function list_ko(result) {

//Error while retrieving values

alert("ko " + JSON.stringify(result));

}

var my_pattern = {};

my_pattern.cluster = "[[cluster]]";

col_creditrep.listCallback(my_pattern,{},list_ok,list_ko);

You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/dXxh80O9DTM/unsubscribe.
To unsubscribe from this group and all its topics, 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/.

Gunjan Rajgure

unread,
Aug 11, 2018, 2:41:36 AM8/11/18
to Fujitsu RunMyProcess Developer Community
Hello Shashank,

I am able to reproduce your issue but only label values are set in variable based list.
In this is the script you can set data to "label" whatever data you want to display in Variable based list.

for eg.   vb_list.push({"label":result[i].data,"value":result[i].cluster});

Please do feel free to contact us for any other query you have.


Thanks & Regards,
Gunjan Rajgure
Fujitsu RunMyProcess Support






--
Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support

Support From_Flowian

unread,
Aug 11, 2018, 2:51:25 AM8/11/18
to Fujitsu RunMyProcess Developer Community
Hello Gunjan,
I have done that it is working but my concern is that when my screen changes from initiator to approver the Initiator selected values changes in the approver screen.
I have also attached the screen shot.

Thanks & Regards,
Shashank

Gunjan Rajgure

unread,
Aug 11, 2018, 5:05:18 AM8/11/18
to Fujitsu RunMyProcess Developer Community
Hello Shashank,

Need some information :
Are you loading data into List Widget from same collection and on both screen you are loading same data into it?
Waiting for your response.


Thanks & Regards,
Gunjan Rajgure
Fujitsu RunMyProcess Support
On Sat, Aug 11, 2018 at 12:21 PM, Support From_Flowian <sup...@flowian.com> wrote:
Hello Gunjan,
I have done that it is working but my concern is that when my screen changes from initiator to approver the Initiator selected values changes in the approver screen.
I have also attached the screen shot.

Thanks & Regards,
Shashank

Support From_Flowian

unread,
Aug 11, 2018, 5:37:04 AM8/11/18
to Fujitsu RunMyProcess Developer Community

sup...@flowian.com

unread,
Aug 11, 2018, 5:54:19 AM8/11/18
to Fujitsu RunMyProcess Developer Community
> 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/3294f4a3-5dee-4563-84b7-7be43b68bf09%40runmyprocess.com.
>
> For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
>
>
>
>
>
>
>
> --
>
> Fujitsu - RunMyProcess
>
> ---
>
> You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
>
> To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/dXxh80O9DTM/unsubscribe.
>
> To unsubscribe from this group and all its topics, 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/CADHrCayc3Q_GiRPUTd-gX9jn7zGKL%3DzGNpuehaXwJjWJ7-MrXA%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
>
>
>
>
>
>
>
> --
>
> 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/CAH09%3D__Xfk6mO31X5efHh1A8fn8mZtfR6BYKgfPnkOENbMdDRA%40mail.gmail.com.
>
>
>
> For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
>
>
>
>
>
> --
>
>
> Thanks & Regards
> Gunjan Rajgure
> Fujitsu - RunMyProcess Support
>
>
>
>
>
>
>
> --
>
> Fujitsu - RunMyProcess
>
> ---
>
> You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
>
> To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/dXxh80O9DTM/unsubscribe.
>
> To unsubscribe from this group and all its topics, 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/CA%2B3gzEhr1J7LHj7MNoUmRXNSCaRw3nH7b1d18TeeYZHwjQEXDA%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
>
>
>
>
>
>
>
> --
>
> 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/CAH09%3D_91371G-aN-ht_1KdyqzkajOHmjc-WGZ9ukTAqRaDVWOA%40mail.gmail.com.
>
>
>
> For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
>
>
>
>
>
> --
>
>
> Thanks & Regards
> Gunjan Rajgure
> Fujitsu - RunMyProcess Support

Hello Gunjan,

I am loading data into List Widget from same collection and i am loading same data into it.
But when i select value the value on first screen the selected value changes for next approver screen it shows the last value which is present in my collection.

Thanks & Regards,
Shashank

Shraddha Pangantiwar

unread,
Aug 11, 2018, 8:24:52 AM8/11/18
to Fujitsu RunMyProcess Developer Community, sup...@flowian.com
Hi Shashank

Good day.

The script you have written is looking fine. We checked your issue from our end and it is working fine.
i.e., when any value is selected from the list on screen-1, then the same or selected value is showing on the approval screen or screen-2.

It would be helpful for us if you share the screen-shots of the configuration done in the process.

Best regards
Shraddha Pangantiwar
Fujitsu RunMyProcess Support

Gunjan Rajgure

unread,
Aug 12, 2018, 1:56:08 AM8/12/18
to Fujitsu RunMyProcess Developer Community, sup...@flowian.com
Hello Shashank,

I am able to reproduce your issue and not facing issue that you are facing. In my WI what values are set in first screen (in list widget) are available on next screen's list widget.
Same values are populated on next screen. No change of value found on next screen.


Please do feel free to contact us for any other query you have.


Thanks & Regards,
Gunjan Rajgure
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/.

shashan...@flowian.com

unread,
Aug 13, 2018, 1:00:59 AM8/13/18
to Fujitsu RunMyProcess Developer Community, sup...@flowian.com
Hello Gunjan,

The values remain same but the value which i select on "screen 1" does not remain same for screen 2 it show the last value from my list.

Thanks & Regards,
Shashank

shashan...@flowian.com

unread,
Aug 13, 2018, 1:22:41 AM8/13/18
to Fujitsu RunMyProcess Developer Community, sup...@flowian.com
Hello Shraddha,

I have attached image of selected list box value of "screen 1" and the selected value changes it show the last value in list box of "screen2".

Thanks & Regards,
Shashank

shashan...@flowian.com

unread,
Aug 13, 2018, 1:24:13 AM8/13/18
to Fujitsu RunMyProcess Developer Community, sup...@flowian.com, shashan...@flowian.com
screen1.png
screen2.png

Pankaj Kumar

unread,
Aug 13, 2018, 6:42:01 AM8/13/18
to Fujitsu RunMyProcess Developer Community, sup...@flowian.com, shashan...@flowian.com
Hi Shashank,

Since you are making below query,

var my_pattern = {};
my_pattern.cluster = "[[cluster]]";

So when you are pushing the values in array, please use below code and check if your issue still persists?

vb_list.push({"value":result[i].data,"label":result[i]. data });

Awaiting your feedback on the result of above suggested changes.

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

shashan...@flowian.com

unread,
Aug 13, 2018, 8:08:49 AM8/13/18
to Fujitsu RunMyProcess Developer Community, shashan...@flowian.com
Hello Pankaj,

Thank you,the issue is solved now it is working fine.
But can you tell me why was that issue.

Thanks & Regards,
Shashank

Pankaj Kumar

unread,
Aug 14, 2018, 4:42:45 AM8/14/18
to Fujitsu RunMyProcess Developer Community
Hi Shashank,

You are fetching the data from collection using query based on "cluster" value. The result will have the same value of " cluster" for all the record, however you are setting the "cluster" as a value so all data that you were pushing in the array have the same value, due to which in next screen it is displaying the last record.

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

On Mon, Aug 13, 2018 at 5:18 PM, Support From_Flowian <sup...@flowian.com> wrote:
Hello Pankaj,

Thank you,after doing that it is working fine now the selected value of list appear on screen 2.
But can you tell me why that issue was coming instaed of pushing you told to push data also as value.
My issue is solved.

Thanks & Regards,
Shashank

Reply all
Reply to author
Forward
0 new messages