cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Read, Write and Modify Variable with pure groovy script?

0 Likes
1,452

Is this possible to do?

View Entire Topic
MortenWittrock
SAP Mentor
SAP Mentor

Hi Jeremy

You can use a Content Modifier to create a property with the contents of the variable:

(The Type could also be Global Variable, of course.)

Then, add a Script step modifying the property. Finally, use a Write Variables step to store the contents of the property back into your variable:

As Sriprasad points out, you can't do all of this in code.

Regards,

Morten