Jose,
An AL that causes multiple cascading submits will give you the last ID created 
by 'that' client....or the parent.  In the case of Filters, you are going to 
get what you are getting.  The only solution in this case is to push a GUID of 
some sort to the EPL record, then do a setfield on that value.

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Jose Manuel Huerta Guillén
Sent: Thursday, October 11, 2012 7:50 AM
To: [email protected]
Subject: Get the recently created ID

** I have the next development problem.

I make a PUSH to a form with `! to force it.

This for has workflow that creates more requests at other forms.

If I use $LAST_ID$ keyword I obtain the ID of the last created request, but not 
the one I just created.

I mean:

I create request EPL000000000042
This request, creates request JIK000000000132 and LLM000000000822

When I use $LAST_ID$ just after the PUSH I would like to read EPL000000000042, 
but instead of it, I obtain LLM000000000822

And this request doesn't have any reference to the original request 
EPL000000000042.

Any solution? 


Jose Manuel Huerta
http://theremedyforit.com/ 


_attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to