AnsweredAssumed Answered

sill default value to complex type in stencilset

Question asked by abdou2387 on Jun 19, 2014
Latest reply on Apr 7, 2015 by jbarrez
hi
i want to add static data to the class field of the serviceTask node 
so i try to  change the stencilset file to be like this:
{
    "name" : "servicetaskbase",
    "properties" : [ …
      , {
      "id" : "servicetaskfields",
      "type" : "Complex",
      "title" : "Class fields",
      "value" : {
   "totalCount": 4,
   "items": [{
      "servicetask_field_name": "wsdl",
      "servicetask_field_value": "",
      "servicetask_field_expression": "wsdl_file"
   },
   {
      "servicetask_field_name": "operation",
      "servicetask_field_value": "",
      "servicetask_field_expression": "oper_ref"
   },
   {
      "servicetask_field_name": "parameters",
      "servicetask_field_value": "",
      "servicetask_field_expression": "${params}"
   },
   {
      "servicetask_field_name": "returnValue",
      "servicetask_field_value": "",
      "servicetask_field_expression": "result"
   }]
},…
but it is not worked.
in the property "class fields"  of service task i get [object object ]
help please .

Outcomes