Skip to Content
0
Jul 03, 2020 at 02:21 PM

Changing a node value

113 Views

Hello SAP community,

I want to make a modification on a Property Value stored in a Content Modifier placed just before the Groovy Script.

  • Property Name: PropertyID
  • Property Value (Example): FA163EBCE69E1EDAAF8EE63AFB543D3E

Could someone help me to create a Script that will:

  1. Get the PropertyID Value
  2. Change the Value to Lowercase
  3. Add dashes in the positions: 9,14,19,24 (For this example, the final value will be "fa163ebc-e69e-1eda-af8e-e63afb543d3e")
  4. Save this value in a new Property so I can use it in the next steps

Thanks a lot for your help.

Regards,

Nadir