How to use date in BPS ( BPMN) forms. I tried to use the native but getting error!

How to use date in BPS ( BPMN) forms. I tried to use the native form type "date" but getting error! when try to submit the user task

[2017-05-19 22:46:02,494] ERROR {} - Exception during service invocation
org.activiti.engine.ActivitiIllegalArgumentException: Converter can only convert string to date

below the xml sample project that I tried


<definitions xmlns="" xmlns:xsi="" xmlns:xsd="" xmlns:activiti="" xmlns:bpmndi="" xmlns:omgdc="" xmlns:omgdi="" typeLanguage="" expressionLanguage="" targetNamespace="">
<process id="myProcess" name="My process" isExecutable="true">
<startEvent id="startevent1" name="Start"></startEvent>
<endEvent id="endevent1" name="End"></endEvent>
<userTask id="usertask1" name="Select Date" activiti:assignee="admin" activiti:candidateGroups="admin">
<activiti:formProperty id="dateRequest" name="Data Pedido" type="date" required="true"></activiti:formProperty>
<userTask id="usertask2" name="ver date" activiti:candidateGroups="admin">
<activiti:formProperty id="dateRequest" name="Check Date Selected" type="date" writable="false"></activiti:formProperty>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow>
<sequenceFlow id="flow2" sourceRef="usertask1" targetRef="usertask2"></sequenceFlow>
<sequenceFlow id="flow3" sourceRef="usertask2" targetRef="endevent1"></sequenceFlow>
<bpmndi:BPMNDiagram id="BPMNDiagram_myProcess">
<bpmndi:BPMNPlane bpmnElement="myProcess" id="BPMNPlane_myProcess">
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
<omgdc:Bounds height="35.0" width="35.0" x="190.0" y="220.0"></omgdc:Bounds>
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
<omgdc:Bounds height="35.0" width="35.0" x="760.0" y="220.0"></omgdc:Bounds>
<bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
<omgdc:Bounds height="55.0" width="105.0" x="350.0" y="210.0"></omgdc:Bounds>
<bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
<omgdc:Bounds height="55.0" width="105.0" x="590.0" y="210.0"></omgdc:Bounds>
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
<omgdi:waypoint x="225.0" y="237.0"></omgdi:waypoint>
<omgdi:waypoint x="350.0" y="237.0"></omgdi:waypoint>
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
<omgdi:waypoint x="455.0" y="237.0"></omgdi:waypoint>
<omgdi:waypoint x="590.0" y="237.0"></omgdi:waypoint>
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
<omgdi:waypoint x="695.0" y="237.0"></omgdi:waypoint>
<omgdi:waypoint x="760.0" y="237.0"></omgdi:waypoint>

1 answer

1 accepted

0 votes
Accepted answer

Could you explain what this has to do with Atlassian applications?

Yes sure I was looking for community help of WSO2 BPS app in this page:

When I click "Online Help" it redirects to atlassian community.

I would like a sample using dates in BPS. If you try my code above will may understand the error.

I am sorry to say that you have landed in the wrong place.

The documentation you are reading is being hosted in "Confluence", which is an Atlassian product.  You have looked for help within your software community, but landed on the help link for Confluence, not one for your community.

The Atlassian community likes to help, but we can only really help with Atlassian stuff.  If your problem was with Confluence, you would get loads of help.  But it is with software than just uses Confluence for its documentation, so  I'm afraid you are looking in the wrong place.

OK :) you can delete this fórum if is possible. Thanks anyway

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Administrators Cleanup

Good morning, After a long weekend cleaning up, I am still in the cleanup mode 😊. I am curious to know: When do you feel the urgency to cleanup your Atlassian Tools? How many times do y...

21 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you