<?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 How to update the data type of process variable ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-update-the-data-type-of-process-variable/m-p/17373#M7687</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A process diagram is configured with variables defined.&lt;/P&gt;&lt;P&gt;Earlier Task due date varible was configured as fixed&amp;nbsp; duration after task creation which used to take system date and variable configured as string data type.But now i want to change data type to date &amp;amp; calculate it based on field value.&lt;/P&gt;&lt;P&gt;I have updated the data type as date in process diagram.&lt;/P&gt;&lt;P&gt;Now I am trying to create a new process via Process Instance api but while passing my json string with type date still it gets stored as string and returns string as response.&lt;/P&gt;&lt;P&gt;I want my task due date based on field date value which is user input from text box.&lt;/P&gt;&lt;P&gt;A listner is configured on task creation which gets task duedate from&amp;nbsp;DelegateTask object which get task due date in incorrect date uin IST format with year 0009.&lt;/P&gt;&lt;P&gt;How do i change the data type of my process variable from string to date?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2019 14:12:37 GMT</pubDate>
    <dc:creator>ssj30896</dc:creator>
    <dc:date>2019-09-19T14:12:37Z</dc:date>
    <item>
      <title>How to update the data type of process variable ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-update-the-data-type-of-process-variable/m-p/17373#M7687</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A process diagram is configured with variables defined.&lt;/P&gt;&lt;P&gt;Earlier Task due date varible was configured as fixed&amp;nbsp; duration after task creation which used to take system date and variable configured as string data type.But now i want to change data type to date &amp;amp; calculate it based on field value.&lt;/P&gt;&lt;P&gt;I have updated the data type as date in process diagram.&lt;/P&gt;&lt;P&gt;Now I am trying to create a new process via Process Instance api but while passing my json string with type date still it gets stored as string and returns string as response.&lt;/P&gt;&lt;P&gt;I want my task due date based on field date value which is user input from text box.&lt;/P&gt;&lt;P&gt;A listner is configured on task creation which gets task duedate from&amp;nbsp;DelegateTask object which get task due date in incorrect date uin IST format with year 0009.&lt;/P&gt;&lt;P&gt;How do i change the data type of my process variable from string to date?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 14:12:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-update-the-data-type-of-process-variable/m-p/17373#M7687</guid>
      <dc:creator>ssj30896</dc:creator>
      <dc:date>2019-09-19T14:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to update the data type of process variable ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-update-the-data-type-of-process-variable/m-p/17374#M7688</link>
      <description>&lt;P&gt;You already have listener, so get the date value in variable and then cast type date in your listener.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 11:47:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-update-the-data-type-of-process-variable/m-p/17374#M7688</guid>
      <dc:creator>amruta_w</dc:creator>
      <dc:date>2019-10-04T11:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to update the data type of process variable ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-update-the-data-type-of-process-variable/m-p/17375#M7689</link>
      <description>&lt;P&gt;not clear on your question. task due date takes a string (form of date), you just need to format your date to ISO8601 format.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 13:30:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-update-the-data-type-of-process-variable/m-p/17375#M7689</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2019-10-04T13:30:00Z</dc:date>
    </item>
  </channel>
</rss>

