the code that I have for generate number is:
${next_value("internal_ref")?number?string("0")}
--
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/dd634b81-73ab-4ab4-8246-c2f065840aa5%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
I have one field that save the reference number of order.
I put that for default the value was: "XPTO". When I click submit I want that the number automatically change for "12345". Now when I click submit button, the number stay "XPTO". Somebody can 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/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/30ace4bf-8ad0-4063-9840-0d3a5887203f%40runmyprocess.com.
${next_value("ref")?number?string("12345")}
Do you understand?
--
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/4093e6ea-bb76-4651-bd64-cc9fcdf63ed5%40runmyprocess.com.
if (RMPApplication.validate())
{
id_red.setValue("12345");true;
}
else
{
id_estado.setValue("XPTO");true;
}
Right?
But my goal is not put the number 12345 is put the number generated automatically with condition that I refered that I have in output variable. Do you understand?
if (RMPApplication.validate())
{
id_ref.setValue("12345");true;
}
else
{
id_ref.setValue("XPTO");true;
}
}
--
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/80b22c7e-b562-43f1-9964-a90ff23f04bb%40runmyprocess.com.
http://docs.runmyprocess.com/Developer_Guide/Composite_API/Composite_API_Example
But is a bit complex to understand. Can you explain me more or less what I should do? Thank you.
http://docs.runmyprocess.com/Developer_Guide/Web_Interface/Design/API_Listener
https://groups.google.com/forum/#!topic/runmyprocess/Ypo5ora4rzQ