Auto sequence ID generation

552 views
Skip to first unread message

ranja...@gmail.com

unread,
Mar 13, 2016, 3:03:13 AM3/13/16
to Fujitsu RunMyProcess Developer Community
Hi,

I am trying to generate the auto generated sequence id for each request. I found some method like ${next_value("any_string")}. But it is not working for me. My field type is string
I have defined it in START output variables

Please check attached file

auto sequence id.png

Pankaj Kumar

unread,
Mar 13, 2016, 3:31:02 AM3/13/16
to Fujitsu RunMyProcess Developer Community
Hi Ranjan,

Please refer to below links for understanding on "next_value" function.

In "Budget Approval Tutorial" please refer to paragraph "How to modify the syntax of the budget approval requests reference number?"


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...@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/fef65627-c270-4317-bbad-639acfe14321%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

ranja...@gmail.com

unread,
Mar 14, 2016, 12:50:07 AM3/14/16
to Fujitsu RunMyProcess Developer Community
Hi Pankaj,

I have used as follows in output variables of START:
Name Value
adr_req ADR${next_value("ref_no")?number?string("0000")}

Hope above syntax is correct, but its not working.

Pankaj Kumar

unread,
Mar 14, 2016, 4:34:12 AM3/14/16
to Fujitsu RunMyProcess Developer Community
Hi,

Plase try "next_value" method as follows:-

ADR${next_value("internal_ref")?number?string("0000")}

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

ranja...@gmail.com

unread,
Mar 14, 2016, 8:20:08 AM3/14/16
to Fujitsu RunMyProcess Developer Community
Hi,

I tried same way but not working. Even I tried Budget approval, but internal ref. is not generating any number. It is in test mode. Is there any other changes I need to do?

Pankaj Kumar

unread,
Mar 15, 2016, 2:44:07 AM3/15/16
to Fujitsu RunMyProcess Developer Community
Hi,

Please share the error you are getting in process using the method, also you can check generated id in Launched Process "Computed Parameter" tab.

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

On Mon, Mar 14, 2016 at 5:50 PM, <ranja...@gmail.com> wrote:
Hi,

I tried same way but not working. Even I tried Budget approval, but internal ref. is not generating any number. It is in test mode. Is there any other changes I need to do?
--
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/.

ranja...@gmail.com

unread,
Mar 16, 2016, 3:01:53 AM3/16/16
to Fujitsu RunMyProcess Developer Community
It is not giving any error or not generating the number. The field is blank and proceeding next step.

ranja...@gmail.com

unread,
Mar 16, 2016, 8:26:19 AM3/16/16
to Fujitsu RunMyProcess Developer Community, ranja...@gmail.com
On Wednesday, March 16, 2016 at 11:01:53 AM UTC+4, ranja...@gmail.com wrote:
> It is not giving any error or not generating the number. The field is blank and proceeding next step.

Hi Pankaj,

Sorry, its coming in computed parameter tab
request_number ADR0000

ranja...@gmail.com

unread,
Mar 17, 2016, 1:00:33 AM3/17/16
to Fujitsu RunMyProcess Developer Community, ranja...@gmail.com
In debug mode the autogenerated value is coming in computed parameter, but it is not showing in its field when application is running.

When I open the app as test mode, the field is blank.

Muralikrishna Kummaragunta

unread,
Mar 17, 2016, 2:10:05 AM3/17/16
to Fujitsu RunMyProcess Developer Community, ranja...@gmail.com
Hi Ranjan,

Please not that 'adr_req' is calculated/populated in the web-interface after the process as been triggered and will be made available for next screen .

"Internal Ref.: internal reference of your request. This reference is created automatically when a new request is submitted."

You can validate the value population by referring to the page from the Web interface Report after submitting the request.

Hope this helps.

Regards,
Murali
Fujitsu RunMyProcess Support

Reply all
Reply to author
Forward
0 new messages