Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#139213 - 11/26/07 05:01 PM Generate a dynmice record id
baba Offline
Stealth Member

Registered: 03/01/07
Posts: 79
Hi All,
I am planning to generate a Dynamic ID Which increments by 1 for Every record.
For first record its 1 and goes on for next record 2 and then 3 and so on.

Any ideas.

Top
#139214 - 11/26/07 05:07 PM Re: Generate a dynmice record id [Re: baba]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
Yes, use the Request ID field or an Oracle sequence.
_________________________
Vincent.

Top
#139215 - 11/26/07 06:05 PM Re: Generate a dynmice record id [Re: Vincent_RIEDWEG]
baba Offline
Stealth Member

Registered: 03/01/07
Posts: 79
Thanks for the reply. I know Request ID is the unique iD but i also need an other field which has the unique id and gets an Increment of 1 for every new record.

I have created a integer field for this purpose and a filter which increments every time when submitted but it always shows up 1 with it.

Thanks in Advance

Top
#139222 - 11/27/07 12:39 PM Re: Generate a dynmice record id [Re: baba]
baba Offline
Stealth Member

Registered: 03/01/07
Posts: 79
Any Ideas.

Top
#139225 - 11/27/07 01:03 PM Re: Generate a dynmice record id [Re: baba]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
Yes, a SQL sequence... \:\)
_________________________
Vincent.

Top
#139227 - 11/27/07 01:31 PM Re: Generate a dynmice record id [Re: Vincent_RIEDWEG]
baba Offline
Stealth Member

Registered: 03/01/07
Posts: 79
Cant we do it using a Remedy Workflow.

Top
#139228 - 11/27/07 01:42 PM Re: Generate a dynmice record id [Re: baba]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
Yes, using a set field. Try to set by filter your field by the value of the Request ID field at submit time.
_________________________
Vincent.

Top
#139230 - 11/27/07 02:13 PM Re: Generate a dynmice record id [Re: Vincent_RIEDWEG]
baba Offline
Stealth Member

Registered: 03/01/07
Posts: 79
I tried this but it doen't work.
Here is the Workflow
Filter
Execute on Submit
1) Set fields
Current transaction
ID = Request ID

OTher way tried

2) Set fields
from that form
Request ID != NULL
ID = Request ID

I know second option doesnt work as this doesn't have Request ID when submitted but i dont know why 1st not working.Let me know if you have any idea

Top
#139242 - 11/28/07 07:01 PM Re: Generate a dynmice record id [Re: baba]
baba Offline
Stealth Member

Registered: 03/01/07
Posts: 79
Any ideas

Top
#139257 - 11/30/07 07:25 PM Re: Generate a dynmice record id [Re: baba]
satish143 Offline
Stealth Member

Registered: 07/13/06
Posts: 132
Waiting if anybody can send there ideas as i have the same issue


Edited by satish143 (11/30/07 07:26 PM)

Top
#139258 - 12/02/07 12:08 AM Re: Generate a dynmice record id [Re: satish143]
Matt Reinfeldt Offline
Old Hand
***

Registered: 06/12/01
Posts: 1419
Loc: Madison, WI
Why don't you use the same idea of the arschema form? Try creating a data form with a schema (form) name field and an integer field to hold the last value used for that form. When you create a record in your form (let's call it form 'A' for now), get the current counter value from your new form, bump it up by 1, and push that value back to your counter form (the new one). This will allow you to use the same functionality across multiple forms, if you need to.

Just a thought.
_________________________
Matt Reinfeldt
I belong to the following Professional Networks:
http://www.naymz.com/search/matt/reinfeldt/1524717
http://www.linkedin.com/in/mreinfeldt

Top
#139295 - 12/04/07 03:02 PM Re: Generate a dynmice record id [Re: Matt Reinfeldt]
baba Offline
Stealth Member

Registered: 03/01/07
Posts: 79
Thank you.

Top
#139453 - 01/17/08 03:55 PM Re: Generate a dynmice record id [Re: baba]
baba Offline
Stealth Member

Registered: 03/01/07
Posts: 79
Thank you verymuch I got it.

Thanks,
Baba

Top
#139454 - 01/17/08 08:44 PM Re: Generate a dynmice record id [Re: baba]
Matt Reinfeldt Offline
Old Hand
***

Registered: 06/12/01
Posts: 1419
Loc: Madison, WI
Glad to hear it!
_________________________
Matt Reinfeldt
I belong to the following Professional Networks:
http://www.naymz.com/search/matt/reinfeldt/1524717
http://www.linkedin.com/in/mreinfeldt

Top
#139485 - 01/24/08 03:37 AM Re: Generate a dynmice record id [Re: satish143]
dipti Offline
Stealth Member

Registered: 11/01/06
Posts: 39
U can use GUID

Thanks
Dipti

Top
#139487 - 01/24/08 12:44 PM Re: Generate a dynmice record id [Re: dipti]
thwe Offline
Stealth Member

Registered: 03/11/04
Posts: 188
Loc: Germany
GUID is the best option if it has not to be visible for users.

If you want create a ID based on Request ID use a filter on submit which does a push field on the form where the qualification is 'Request ID' = $Request ID$. You could set the id within the push field or trigger other workflow (filter) which sets the id.

Top
Page 1 of 2 1 2 >