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.
Tagged:
0