<?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>topic Re: Email Properties Problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177356#M130486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sebastian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You want the creator notified as opposed to the initiator of the workflow event? The workflow included in the advanced workflow includes a notification back to the initiator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;beren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2009 14:44:07 GMT</pubDate>
    <dc:creator>beren</dc:creator>
    <dc:date>2009-02-23T14:44:07Z</dc:date>
    <item>
      <title>Email Properties Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177355#M130485</link>
      <description>Dear people, i have a simple workflow (accept or reject), that approves a document and then sends to the CEO that also approves it, if the CEO rejects it i want the creator of the document to get an email, how can i do this with simple workflow (maybe a script?!??)best regardsSebastian//!!! Update i</description>
      <pubDate>Mon, 23 Feb 2009 12:27:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177355#M130485</guid>
      <dc:creator>thestorm</dc:creator>
      <dc:date>2009-02-23T12:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Email Properties Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177356#M130486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sebastian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You want the creator notified as opposed to the initiator of the workflow event? The workflow included in the advanced workflow includes a notification back to the initiator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;beren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 14:44:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177356#M130486</guid>
      <dc:creator>beren</dc:creator>
      <dc:date>2009-02-23T14:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Email Properties Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177357#M130487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;but i cant use advanced workflow as a business rule &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; thats my problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;im tryin to create a script&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i get the creator by this line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;b&amp;gt;Creator:&amp;lt;/b&amp;gt; ${document.properties.creator}&amp;lt;br&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but how to get his email adress?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;person.properties.email gives me the adress of the current user&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please some1 help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 10:17:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177357#M130487</guid>
      <dc:creator>thestorm</dc:creator>
      <dc:date>2009-02-26T10:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Email Properties Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177358#M130488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;but i cant use advanced workflow as a business rule &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; thats my problem&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can create a script that creates an advanced worklfow &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/3.0_JavaScript_API#Workflow_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/3.0_JavaScript_API#Workflow_API&lt;/A&gt;&lt;SPAN&gt; and that one you can launch as a business rule.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Antonio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 12:28:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177358#M130488</guid>
      <dc:creator>adelatorre</dc:creator>
      <dc:date>2009-02-26T12:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Email Properties Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177359#M130489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;b&amp;gt;Creator:&amp;lt;/b&amp;gt; ${document.properties.creator}&amp;lt;br&amp;gt;&lt;BR /&gt;&lt;BR /&gt;but how to get his email adress?!&lt;BR /&gt;&lt;BR /&gt;person.properties.email gives me the adress of the current user&lt;BR /&gt;&lt;BR /&gt;please some1 help&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in alfresco javascript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var usercreator = document.properties.creator&lt;BR /&gt;var useremail = usercreator.properties.email&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Try it! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Antonio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 12:31:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177359#M130489</guid>
      <dc:creator>adelatorre</dc:creator>
      <dc:date>2009-02-26T12:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Email Properties Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177360#M130490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A system error happened during the operation: Failed to execute script 'workspace://SpacesStore/e540845b-cbc4-418e-8ec5-957c4bb894a4': TypeError: Cannot read property "email" from undefined (AlfrescoScript#2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the script i used was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var usercreator = document.properties.creator&lt;BR /&gt;var useremail = usercreator.properties.email&lt;BR /&gt;// create mail action&lt;BR /&gt;var mail = actions.create("mail");&lt;BR /&gt;mail.parameters.to = useremail;&lt;BR /&gt;mail.parameters.subject = "Dokument wurde abgelehnt";&lt;BR /&gt;mail.parameters.from = "alfresco@alfresco.com";&lt;BR /&gt;mail.parameters.text = "Test blaaaaaaaaaaaaaaaaaa";&lt;BR /&gt;// execute action against a document&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;mail.execute(doc);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;if i use var useremail = seda.properties.email&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please correct the errors below then click OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * A system error happened during the operation: Failed to execute script 'workspace://SpacesStore/e540845b-cbc4-418e-8ec5-957c4bb894a4': ReferenceError: "seda" is not defined. (AlfrescoScript#2)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 12:43:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-properties-problem/m-p/177360#M130490</guid>
      <dc:creator>thestorm</dc:creator>
      <dc:date>2009-02-26T12:43:52Z</dc:date>
    </item>
  </channel>
</rss>

