Internal Reference Number

267 views
Skip to first unread message

banerjee...@gmail.com

unread,
Jul 20, 2015, 1:59:12 AM7/20/15
to suppor...@runmyprocess.com
Hi Team,

For my application i need to generate an a reference number,for each ticket, i know how to generate a reference number, but according the needs the reference number should in dd/MM/YYYY format, of the current month on which the ticket is logged in.

For example: 20150101001

Can you please tell me how to do this?

Regards
Somjit

Sweta Suman

unread,
Jul 20, 2015, 4:45:15 AM7/20/15
to suppor...@runmyprocess.com
Hi Somjit,

If you are using date widget then pass string_date_variable in freemarker function next_val as ${next_value("string_date_variable")?number?string("0")}.

Then you can append result of next_val with string_date_variable using freemarker script to get resultant reference number in 20150101001 format.

<#assign ref ="${string_date_variable}"+ "${x}">
${ref}

Please refer attachment for better understanding.

Hope this helps you.


Somjit

--
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/16a43a68-168d-4749-859d-26178b0dea87%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Thanks,
Sweta 
Fujitsu RunMyProcess Support
attachment.png

Somjit Banerjee

unread,
Jul 20, 2015, 5:17:29 AM7/20/15
to suppor...@runmyprocess.com
Hi Sweta,

Thanks for the help, its working.

Regards
Somjit

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/dlfM0TN63HM/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 http://groups.google.com/a/runmyprocess.com/group/supportforum/.
Reply all
Reply to author
Forward
0 new messages