What's new in Customer Journeys?

Connect and learn more!
updating custom attribute using groovy — Cloud Customer Connect
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

updating custom attribute using groovy

Accepted answer
21
Views
5
Comments
edited Nov 29, 2023 4:01PM in Planning 5 comments

Summary:

I am trying to update custom attribute based on the value user selects in smartlist.Basically in the form, user is allowed to choose Approval status.

On saving the form, Custom attribute will be updated based on the selected value. Below code is throwing error. Could you please help as what I am doing wrong.


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Set<String> editedProjects=[]

 println("Firststep")

operation.grid.dataCellIterator("ProjectApprovalStatus").each { DataCell cell -> 

  if(cell.edited)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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