Update State with some conditions

36 views
Skip to first unread message

besumm...@gmail.com

unread,
Oct 20, 2015, 1:13:14 PM10/20/15
to Fujitsu RunMyProcess Developer Community
Hello,

I try do this:

if("[[fornecedor]]" == "XPTO") {
id_estado.setValue("Aguarda revisao");true;
}
else {
id_estado.setValue("Aguarda faturação");true;

}



And If the fornecedor name is XPTO, the name of input field "Estado" change for "Aguarda revisao". But in this case I want use a field that is in array, and is input number. How I can do this?

Pankaj Kumar

unread,
Oct 21, 2015, 4:45:15 AM10/21/15
to Fujitsu RunMyProcess Developer Community

--
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/cfad7c92-3b36-4044-bf4a-b1bbeb04bb44%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

besumm...@gmail.com

unread,
Oct 21, 2015, 5:03:48 AM10/21/15
to Fujitsu RunMyProcess Developer Community
Probably there is some bug because I tried do what you said, but don't work. When I click in button no action is made.

My code:


if("[[array_po.quantidade[P_index] ]]" >= 5) {
id_estado.setValue("Aguarda revisao");true;
}
else {
id_estado.setValue("Aguarda faturaçãoooo");true;

}


Can you help me?
Reply all
Reply to author
Forward
0 new messages