Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to fetch the value entered in a Dynamic Choice List using Groovy Script and set in another field — 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

How to fetch the value entered in a Dynamic Choice List using Groovy Script and set in another field

Received Response
11
Views
1
Comments
in Sales 1 comment

Summary:

How to fetch the value entered in a Dynamic Choice List using Groovy Script and set in another field

Content (required):

How to fetch the value entered in a Dynamic Choice List using Groovy Script and set in another field.

Currently using below. But, here the value of x is coming up as null. Pls suggest.

def x = getAttribute('CustomerProductItem_c')

println('Value of x is : '+x)

setAttribute('ItemNumberTrans', x)

Both "CustomerProductItem_c" and "ItemNumberTrans" are dropdowns, where ItemNumberTrans is Oracle Standard field.

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


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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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