cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry - Identifier Property Auto Increment

Former Member
0 Kudos

What is the best way to auto increment an identifier property in Agentry?  The identifier property will not be saved to the database and will just be used as the key property in Agentry.  I would like for the value to be max(ID) + 1.  Please let me know if there is a way to do this in Agentry.

Accepted Solutions (1)

Accepted Solutions (1)

jason_latko
Advisor
Advisor
0 Kudos

Christopher,

Yes, just use COLLECTION_MAX function in an initial value rule on the transaction property.  It takes parameters for the collection source and the property you want the max for.  Then do a SUM + 1 like you were suggesting.

Jason Latko - Senior Product Developer at SAP

Answers (0)