I wouldn’t have thought to look in a pricing calculator for a row ID generator, but that’s where Siebel provides one. Get Next RowId is an out-of-the-box method on SIS OM PC Service. It takes no input arguments and returns a new, unique Siebel row ID in an output argument named RowId.
Using it in a workflow
- Create a string process property called
New Row Id. - Add a Business Service step. Select
SIS OM PC Serviceas the service andGet Next RowIdas the method. Leave Input Arguments empty. - Under Output Arguments, set Property Name to
New Row Id, Type toOutput Argument, and Output Argument toRowId.
A later workflow step can now use [&New Row Id] in an expression.
One detail to keep in mind when debugging an insert: if New Row Id has a value, you know the ID was generated. To find out whether the record was saved, check the step that performs the insert.
No comments:
Post a Comment