Your manager has disapproved your vacation request for ${numberOfDays} days.
Reason: ${managerMotivation}
</documentation>
<extensionElements>
<activiti:formPropertyid="numberOfDays"name="Number of days"value="${numberOfDays}"type="long"required="true"/>
<activiti:formPropertyid="startDate"name="First day of holiday (dd-MM-yyy)"value="${startDate}"datePattern="dd-MM-yyyy hh:mm"type="date"required="true"/>
<para>Activiti includes a REST API to the Activiti Engine that can be installed by deploying the activiti-rest.war file to a servlet container like Apache Tomcat. By default the Activiti Engine will connect to a standalone H2 database. You can change the database settings in the db.properties file in the WEB-INF/classes folder. The REST API uses JSON format (http://www.json.org) and is built upon the Restlet (http://www.restlet.org).</para>
<para>Activiti includes a REST API to the Activiti Engine that can be installed by deploying the activiti-rest.war file to a servlet container like Apache Tomcat. By default the Activiti Engine will connect to an in-memory H2 database. You can change the database settings in the db.properties file in the WEB-INF/classes folder. The REST API uses JSON format (http://www.json.org) and is built upon the Restlet (http://www.restlet.org).</para>
<para>All REST-resources (except for the Login-resource) require a valid Activiti-user to be authenticated. Basic HTTP access authentication is used, so you should always include a <literal>Authorization: Basic ...==</literal> HTTP-header when performing requests or include the username and password in the request-url (eg. <literal>http://username:password@localhost...</literal>).
</para>
<para><emphasisrole="bold">It's recommended to use Basic in combination with HTTPS.</emphasis></para>
<para><emphasisrole="bold">It's recommended to use Basic Authentication in combination with HTTPS.</emphasis></para>
</section>
<section>
...
...
@@ -202,6 +202,46 @@
</table>
</para>
</section>
<sectionid="restPagingAndSort">
<title>Paging and sorting</title>
<para>
Paging and order parameters can be added as query-string in the URL (eg. the name parameter used in <literal>http://host/activiti-rest/service/deployments?sort=name&start=3&size=10&order=desc</literal>).
<table>
<title>Variable query JSON parameters</title>
<tgroupcols="2">
<thead>
<row>
<entry>Parameter</entry>
<entry>Default value</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>sort</entry>
<entry>different per query implementation</entry>
<entry>Name of the sort key, for which the default value and the allowed values are different per query implementation.</entry>
</row>
<row>
<entry>order</entry>
<entry>asc</entry>
<entry>Sorting order which can be 'asc' or 'desc'.</entry>
</row>
<row>
<entry>start</entry>
<entry>0</entry>
<entry>Parameter to allow for paging of the result. By default the result will start at 0.</entry>
</row>
<row>
<entry>size</entry>
<entry>10</entry>
<entry>Parameter to allow for paging of the result. By default the size will be 10.</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</section>
<sectionid="restQueryVariable">
<title>JSON query variable format</title>
...
...
@@ -1068,7 +1108,8 @@
"suspended" : false,
"name" : "The One Task Process",
"description" : "This is a process for testing purposes",
@@ -4823,6 +4883,18 @@ In case the variable is a binary variable or serializable, the <literal>valueUrl
<entry>Boolean</entry>
<entry>If <literal>true</literal>, only return tasks that are not suspended (either part of a process that is not suspended or not part of a process at all). If false, only tasks that are part of suspended process instances are returned.</entry>
</row>
<row>
<entry>includeTaskLocalVariables</entry>
<entry>No</entry>
<entry>Boolean</entry>
<entry>Indication to include task local variables in the result.</entry>
</row>
<row>
<entry>includeProcessVariables</entry>
<entry>No</entry>
<entry>Boolean</entry>
<entry>Indication to include process variables in the result.</entry>
</row>
<row>
<entrynamest="c1"nameend="c4"><para>The general <linklinkend="restPagingAndSort">paging and sorting query-parameters</link> can be used for this URL.</para></entry>