You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How can I create a DataMap with all SmartList entries using Groovy?

Does anyone have an idea how can I create a Data Map with all entries from a specific Smart List using Groovy?

My application has the Smart List “SL_BP_Tipo” with 26 entries.

This Groovy script runs successfully, because the FOR from 1 to 26.

However, I would like to create a script to considerer new Smart List members automatically. If I change the script using a FOR from 1 until 30, for example, it returns an error message because smart list value “27” is unrecognized.

I didn’t find a command to get the last ID from a Smart List, or to get all IDs, or to check if an ID is valid or not for a Smart List.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!