<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Documentation or Guidance on Writing Groovy Scripts for Liferay Objects</title>
  <link rel="self" href="https://liferay.dev/es/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123398839" />
  <subtitle>Documentation or Guidance on Writing Groovy Scripts for Liferay Objects</subtitle>
  <id>https://liferay.dev/es/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123398839</id>
  <updated>2026-04-17T21:40:40Z</updated>
  <dc:date>2026-04-17T21:40:40Z</dc:date>
  <entry>
    <title>Documentation or Guidance on Writing Groovy Scripts for Liferay Objects</title>
    <link rel="alternate" href="https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123398838" />
    <author>
      <name>Muthanna Alhassan</name>
    </author>
    <id>https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123398838</id>
    <updated>2025-05-15T15:42:51Z</updated>
    <published>2025-05-13T06:26:01Z</published>
    <summary type="html">&lt;p&gt;Dear Liferay Support Team,&lt;/p&gt;
&lt;p&gt;I’m currently working on implementing custom workflow logic using
  Groovy scripts within Liferay, specifically targeting Liferay Objects.
  While I’ve reviewed the available documentation, I’m finding it
  challenging to locate comprehensive and up-to-date resources that
  explain how to effectively write Groovy scripts that interact with
  Liferay’s API—particularly when working with custom Objects and
  accessing their fields, services, or associated classes.&lt;/p&gt;
&lt;p&gt;I would greatly appreciate it if you could provide or direct me to:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Official or recommended documentation for writing Groovy scripts
      in the context of Liferay workflows.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Examples or best practices for accessing and manipulating Liferay
      Object data within Groovy scripts.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;A reference or list of commonly used Liferay service classes and
      how they can be accessed in workflow conditions or actions.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Having a clearer understanding of how to properly access object
  attributes and utilize Liferay’s internal classes will significantly
  help streamline our development process and avoid common pitfalls.&lt;/p&gt;
&lt;p&gt;Thank you in advance for your assistance and support.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;</summary>
    <dc:creator>Muthanna Alhassan</dc:creator>
    <dc:date>2025-05-13T06:26:01Z</dc:date>
  </entry>
</feed>
