Create a new variable

Edit variable {{newData.$$name}}

Variable names must start with a letter and contain only alphanumeric characters

Tip: URL parameters are located after a ? in the page URL.

No Business Data Model currently deployed.
{{newData.businessObject.name}} doesn't exist.
Import, define or deploy a Business Data Model in Bonita Studio.
{{newData.businessObject.name}} doesn't exist in the Business Data Model currently deployed.
You can only edit the query filters and pagination.
Unable to access Business Data Model. Restart Bonita Studio and try again.
You can only edit the query filters and pagination.

Tips:

  • To get data from the Business Data Model, please use the Business data variable type.
  • You can use data in the URL with the {{dataName}} syntax.
  • You can extend our REST API capabilities by creating REST API extensions in the Studio and use them here.
  • You can retrieve the Status Code or Response Headers with a usual variable binding and use it in the artifact.

{{ example.before }}

{{ example.more }}

{{ example.alternative.before }}

{{ example.alternative.more }}

Tip: Array syntax: ["val1", "val2"], Object syntax: {"key": "value"}

supportTicket is an object composed of a subject, severity level, user environment, reporter’s contact (name and job title), and an URL providing more details on the contact.

{
      "subject": "I have an issue",
      "severity": 2,
      "environment": ["Linux","PostgreSQL 9.3","Java 1.8","AngularJS 1.3"],
      "contact":{
          "name":"John Doe",
          "jobTitle":"FrontEnd developer",
           "contactDetailsURL":"http://jsonplaceholder.typicode.com/users/1"
      }
  }

JSON specifications can be found on the W3C website

Tip: Hit $ key to access data, use ctrl-space to trigger autocomplete.

This example uses the JSON example provided if you select the type JSON.
It looks for the string ‘Linux’ in the array environment of JSON object supportTicket

return $data.supportTicket.environment.some(function(env){
   return env.indexOf("Linux") != -1;
});

return new Date();