next_value

129 views
Skip to first unread message

prashan...@gmail.com

unread,
Apr 24, 2015, 5:06:46 PM4/24/15
to suppor...@runmyprocess.com
Hi Guys,

We have the below following code. For each and every new process item we are creating new internal reference counter.

${(next_value("internal_ref01") + 1000)?number?string("00000")}


Issue is we don't any any "internal_ref01" variable in our process. Is this variable value coming from runmyprocess..?

How to reset this next_value("internal_ref01") to zero so that we can have the new process item numbers starts from 1.


Thanks
PV

Pray Desai

unread,
Apr 24, 2015, 6:38:28 PM4/24/15
to suppor...@runmyprocess.com, prashan...@gmail.com
Hi Prashant,

This variable doesn't need to be defined anywhere. It can be any unique variable name in the account where counter is tracked. 

So if this variable is already in use, and you want to reset the counter to zero, just replace it with another unique name like

yourappname_COUNTER

We recommend to use your app name along with string "_COUNTER" so that you can keep it unique in all processes where a counter needs to be used.

Regards,
Pray Desai,
Fujitsu RunMyProcess.


--
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/0edd96c1-de96-44b3-90d2-825bfd994105%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

Reply all
Reply to author
Forward
0 new messages