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

Not able to retrieve smart list values from datagrid.datacell

Summary:

Hello, we need to retrieve smart list values from a grid. The smart list has entry ID of 1,2,3 and corresponding label and Names. we need to retrieve the name however the code errors out on the line - String SLProjLabel = SLProjStatus.getEntry(PStatus).getName(). The rule deploys but errors during run time.

String Protus = rowcells[1].getData()
int PStatus = Protus.toInteger()
String SLProjLabel = SLProjStatus.getEntry(PStatus).getName()

The code is attached below. Any help will be highly appreciated. The code works good if the above 3rd line is commented out and it prints the numerical entry ID of the (String Protus = rowcells[1].getData())

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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