<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: How to Read, Write and Modify Variable with pure groovy script? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-read-write-and-modify-variable-with-pure-groovy-script/qaa-p/12098412#M4519978</link>
    <description>&lt;P&gt;Hello Jeremy, &lt;/P&gt;&lt;P&gt;It's not possible to handle variables using groovy scripts. But it's possible to modify headers and properties. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2019 16:02:59 GMT</pubDate>
    <dc:creator>Sriprasadsbhat</dc:creator>
    <dc:date>2019-10-02T16:02:59Z</dc:date>
    <item>
      <title>How to Read, Write and Modify Variable with pure groovy script?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-read-write-and-modify-variable-with-pure-groovy-script/qaq-p/12098411</link>
      <description>&lt;P&gt;Is this possible to do?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 15:58:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-read-write-and-modify-variable-with-pure-groovy-script/qaq-p/12098411</guid>
      <dc:creator>former_member619008</dc:creator>
      <dc:date>2019-10-02T15:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read, Write and Modify Variable with pure groovy script?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-read-write-and-modify-variable-with-pure-groovy-script/qaa-p/12098412#M4519978</link>
      <description>&lt;P&gt;Hello Jeremy, &lt;/P&gt;&lt;P&gt;It's not possible to handle variables using groovy scripts. But it's possible to modify headers and properties. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 16:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-read-write-and-modify-variable-with-pure-groovy-script/qaa-p/12098412#M4519978</guid>
      <dc:creator>Sriprasadsbhat</dc:creator>
      <dc:date>2019-10-02T16:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read, Write and Modify Variable with pure groovy script?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-read-write-and-modify-variable-with-pure-groovy-script/qaa-p/12098413#M4519979</link>
      <description>&lt;P&gt;Hi Jeremy&lt;/P&gt;&lt;P&gt;You can use a Content Modifier to create a property with the contents of the variable:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1738504-property.png" /&gt;&lt;/P&gt;&lt;P&gt;(The Type could also be Global Variable, of course.)&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1738505-write-variable.png" /&gt;&lt;/P&gt;&lt;P&gt;As Sriprasad points out, you can't do all of this in code.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 19:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-read-write-and-modify-variable-with-pure-groovy-script/qaa-p/12098413#M4519979</guid>
      <dc:creator>MortenWittrock</dc:creator>
      <dc:date>2019-10-02T19:01:24Z</dc:date>
    </item>
  </channel>
</rss>

