03-25-2013 10:10 AM
<userTask id="usertask1" name="User Task" activiti:assignee="${assignee}">
<extensionElements>
<activiti:formProperty id="firstName" name="First Name" expression="${firstName}" writable="false"></activiti:formProperty>
<activiti:formProperty id="lastName" name="Last Name" expression="${lastName}" writable="false"></activiti:formProperty>
<activiti:formProperty id="groupName" name="Group Name" expression="${groupName}" writable="false"></activiti:formProperty>
<activiti:formProperty id="decision" name="Do you approve the request ?" type="enum" required="true">
<activiti:value id="true" name="Yes"></activiti:value>
<activiti:value id="false" name="No"></activiti:value>
</activiti:formProperty>
<activiti:taskListener event="complete" class="net.simplyfiIT.workflow.EndListener"></activiti:taskListener>
</extensionElements>
</userTask>
{"decision":true}
03-25-2013 12:49 PM
03-26-2013 05:02 AM
03-26-2013 04:10 PM
03-27-2013 02:58 AM
Try a string:
{"decision":"true"}
03-27-2013 08:34 AM
03-27-2013 11:26 AM
Try a string:
{"decision":"true"}
If I try like above it will give an classcastexception…..
03-28-2013 05:04 AM
What REST-API-call are you using? I see you're using form-properties, but the rest-api currently only supports adding actual variables.
03-28-2013 06:54 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.