Hi,
A process diagram is configured with variables defined.
Earlier Task due date varible was configured as fixed 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 & calculate it based on field value.
I have updated the data type as date in process diagram.
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.
I want my task due date based on field date value which is user input from text box.
A listner is configured on task creation which gets task duedate from DelegateTask object which get task due date in incorrect date uin IST format with year 0009.
How do i change the data type of my process variable from string to date?
You already have listener, so get the date value in variable and then cast type date in your listener.
not clear on your question. task due date takes a string (form of date), you just need to format your date to ISO8601 format.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.