<?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 Show due dates from Tasks in calendar in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138959#M37199</link>
    <description>&lt;P&gt;Hi! I need to create a task that requires to complete a doc, with a due date.&lt;/P&gt;&lt;P&gt;But that due date should be added to the calendar automatically.&lt;/P&gt;&lt;P&gt;Is there any way to do that?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2024 17:21:53 GMT</pubDate>
    <dc:creator>atoyos</dc:creator>
    <dc:date>2024-01-30T17:21:53Z</dc:date>
    <item>
      <title>Show due dates from Tasks in calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138959#M37199</link>
      <description>&lt;P&gt;Hi! I need to create a task that requires to complete a doc, with a due date.&lt;/P&gt;&lt;P&gt;But that due date should be added to the calendar automatically.&lt;/P&gt;&lt;P&gt;Is there any way to do that?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 17:21:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138959#M37199</guid>
      <dc:creator>atoyos</dc:creator>
      <dc:date>2024-01-30T17:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Show due dates from Tasks in calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138960#M37200</link>
      <description>&lt;P&gt;There is no default way to add this.&lt;/P&gt;&lt;P&gt;You need some customization to add calendar entry on workflow start.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 11:49:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138960#M37200</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2024-02-01T11:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Show due dates from Tasks in calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138961#M37201</link>
      <description>&lt;P&gt;Could you give me some example for add calendar event?&amp;nbsp;&lt;BR /&gt;I've looking how to add an event listener in the workflow but I'm not sure if it has to be javascript or java code.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 23:26:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138961#M37201</guid>
      <dc:creator>atoyos</dc:creator>
      <dc:date>2024-02-06T23:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Show due dates from Tasks in calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138962#M37202</link>
      <description>&lt;P&gt;You need to use&amp;nbsp;CalendarService to add entry.&lt;/P&gt;&lt;P&gt;You can use server side javascript code also.&lt;/P&gt;&lt;P&gt;Ref :&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/64459998/alfresco-calendar-event-using-server-side-javascript" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/64459998/alfresco-calendar-event-using-server-side-javascript&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 10:27:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138962#M37202</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2024-02-07T10:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show due dates from Tasks in calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138963#M37203</link>
      <description>&lt;P&gt;Hi! Now i'm trying to add a listener implemented with java, but I can't make it work.&lt;/P&gt;&lt;P&gt;If I put like this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; &amp;lt;userTask id="alfrescoUsertask1" name="Alfresco User Task" activiti:assignee="${initiator.properties.userName}" activiti:formKey="wf:activitiReviewTask"&amp;gt;
      &amp;lt;extensionElements&amp;gt;
        &amp;lt;activiti:taskListener event="create"  delegateExpression="${workflowTaskListener}"/&amp;gt;
      &amp;lt;/extensionElements&amp;gt;
    &amp;lt;/userTask&amp;gt;&lt;/PRE&gt;&lt;P&gt;And I added&amp;nbsp;@Component annotation to the&amp;nbsp;WorkflowTaskListener class.&lt;/P&gt;&lt;P&gt;Also tried to define the bean in service-context.xml like this:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&amp;lt;&lt;SPAN&gt;bean &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="workflowTaskListener" &lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;="com.someco.bpmn.WorkflowTaskListener" &lt;/SPAN&gt;/&amp;gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;so I have this error:&lt;/P&gt;&lt;PRE&gt;Caused by: org.activiti.engine.ActivitiException: Unknown property used in expression: ${workflowTaskListener}
	at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:53)
	at org.activiti.engine.impl.bpmn.listener.DelegateExpressionTaskListener.notify(DelegateExpressionTaskListener.java:44)
	at org.activiti.engine.impl.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:34)
	at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
	at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
	at org.activiti.engine.impl.persistence.entity.TaskEntity.fireEvent(TaskEntity.java:740)
	... 243 more
Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'workflowTaskListener'
	at org.activiti.engine.impl.juel.AstIdentifier.eval(AstIdentifier.java:83)
	at org.activiti.engine.impl.juel.AstEval.eval(AstEval.java:50)
	at org.activiti.engine.impl.juel.AstNode.getValue(AstNode.java:26)
	at org.activiti.engine.impl.juel.TreeValueExpression.getValue(TreeValueExpression.java:114)
	at org.activiti.engine.impl.delegate.ExpressionGetInvocation.invoke(ExpressionGetInvocation.java:33)
	at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
	at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
	at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:50)
	... 248 more&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if I define the taskListener like this:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&amp;lt;&lt;SPAN&gt;userTask &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="alfrescoUsertask1" &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;="Alfresco User Task" &lt;/SPAN&gt;&lt;SPAN&gt;activiti:assignee&lt;/SPAN&gt;&lt;SPAN&gt;="${initiator.properties.userName}" &lt;/SPAN&gt;&lt;SPAN&gt;activiti:formKey&lt;/SPAN&gt;&lt;SPAN&gt;="wf:activitiReviewTask"&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;  &amp;lt;&lt;SPAN&gt;extensionElements&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;    &amp;lt;&lt;SPAN&gt;activiti&lt;/SPAN&gt;&lt;SPAN&gt;:taskListener &lt;/SPAN&gt;&lt;SPAN&gt;event&lt;/SPAN&gt;&lt;SPAN&gt;="create" &lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;="com.seco.bpmn.WorkFlowTaskListener"&lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;  &amp;lt;/&lt;SPAN&gt;extensionElements&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;&amp;lt;/&lt;SPAN&gt;userTask&lt;/SPAN&gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;It gives me an NullPointer error in the listener class because I want to autowire a Service:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;public class &lt;/SPAN&gt;&lt;SPAN&gt;WorkflowTaskListener &lt;/SPAN&gt;&lt;SPAN&gt;implements &lt;/SPAN&gt;&lt;SPAN&gt;TaskListener &lt;/SPAN&gt;{&lt;BR /&gt;&lt;BR /&gt;  &lt;SPAN&gt;private static final &lt;/SPAN&gt;&lt;SPAN&gt;Log &lt;/SPAN&gt;&lt;SPAN&gt;logger &lt;/SPAN&gt;= &lt;SPAN&gt;LogFactory&lt;/SPAN&gt;.&lt;SPAN&gt;getLog&lt;/SPAN&gt;(&lt;SPAN&gt;WorkflowTaskListener&lt;/SPAN&gt;.&lt;SPAN&gt;class&lt;/SPAN&gt;);&lt;BR /&gt;&lt;BR /&gt;  &lt;SPAN&gt;@Autowired&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;private &lt;/SPAN&gt;&lt;SPAN&gt;CalendarService &lt;/SPAN&gt;&lt;SPAN&gt;calendarService&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;P&gt;Aclaration: I'm working with project created with maven sdk alfresco.&lt;/P&gt;&lt;P&gt;Please help, I don't know what else to try.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:27:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138963#M37203</guid>
      <dc:creator>atoyos</dc:creator>
      <dc:date>2024-02-08T17:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Show due dates from Tasks in calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138964#M37204</link>
      <description>&lt;P&gt;Hi! I finally found the solution:&lt;/P&gt;&lt;P&gt;I added this xml:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;BR /&gt;  &amp;lt;&lt;SPAN&gt;bean &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="my.activitiBeanRegistry"  &lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;="org.springframework.beans.factory.config.MethodInvokingFactoryBean" &lt;/SPAN&gt;&lt;SPAN&gt;depends-on&lt;/SPAN&gt;&lt;SPAN&gt;="activitiBeanRegistry"&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;    &amp;lt;&lt;SPAN&gt;property &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;="targetObject"&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;      &amp;lt;&lt;SPAN&gt;ref &lt;/SPAN&gt;&lt;SPAN&gt;bean&lt;/SPAN&gt;&lt;SPAN&gt;="activitiBeanRegistry" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;    &amp;lt;/&lt;SPAN&gt;property&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;    &amp;lt;&lt;SPAN&gt;property &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;="targetMethod" &lt;/SPAN&gt;&lt;SPAN&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;="put" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;    &amp;lt;&lt;SPAN&gt;property &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;="arguments"&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;      &amp;lt;&lt;SPAN&gt;list&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;value&lt;/SPAN&gt;&amp;gt;workflowTaskListener&amp;lt;/&lt;SPAN&gt;value&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;ref &lt;/SPAN&gt;&lt;SPAN&gt;bean&lt;/SPAN&gt;&lt;SPAN&gt;="workflowTaskListener" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;      &amp;lt;/&lt;SPAN&gt;list&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;    &amp;lt;/&lt;SPAN&gt;property&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;  &amp;lt;/&lt;SPAN&gt;bean&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;  &amp;lt;&lt;SPAN&gt;bean &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="workflowTaskListener" &lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;="com.someco.bpmn.WorkflowTaskListener" &lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt;&lt;SPAN&gt;="activitiCreateTaskListener"&lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/&lt;SPAN&gt;beans&lt;/SPAN&gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;Where&amp;nbsp;&lt;SPAN&gt;WorkflowTaskListener is my new Listener.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks all!&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Feb 2024 20:40:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138964#M37204</guid>
      <dc:creator>atoyos</dc:creator>
      <dc:date>2024-02-16T20:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Show due dates from Tasks in calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138965#M37205</link>
      <description>&lt;P&gt;&lt;SPAN&gt;About showing due dates from Tasks in your calendar—I get why that's super handy. It's like having everything in one place, right? &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 23:50:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138965#M37205</guid>
      <dc:creator>Merdemerey</dc:creator>
      <dc:date>2024-07-01T23:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Show due dates from Tasks in calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138967#M37207</link>
      <description>&lt;P&gt;Absolutely agree with you!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 15:00:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/show-due-dates-from-tasks-in-calendar/m-p/138967#M37207</guid>
      <dc:creator>tompaulson</dc:creator>
      <dc:date>2024-09-17T15:00:56Z</dc:date>
    </item>
  </channel>
</rss>

