You are here:
Add the Custom Number Generator to an OmniScript
Use an OmniScript to add the custom policy numbering to your policy creation experience.
- Drag a Remote Action onto the Structure panel.
- In Remote Class, enter UniqueIdGeneratorService.
- In Remote Method, enter generateUniqueId.
- Under Remote Options, click Add New Key/Value Pair.
- In the first field, enter ObjectId.
-
In the second field, enter the ID for the object type you selected in step 7
of the task above.
For example, for policy numbers, enter %assetId%.
-
Add another key/value pair as follows:
-
First field: ObjectSetting
-
Second field: Account
-

