cancel
Showing results for 
Search instead for 
Did you mean: 

sill default value to complex type in stencilset

abdou2387
Champ in-the-making
Champ in-the-making
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 .
3 REPLIES 3

abdou2387
Champ in-the-making
Champ in-the-making
any help please

wileamson7
Champ in-the-making
Champ in-the-making
Does Activiti support sql statement logging similar to the way we configure Hibernate to show sql? Any suggestions on how we can verify the statements that are being passed to the datasource would be very helpful

jbarrez
Star Contributor
Star Contributor
Yes, simply set the mybatis log level to DEBUG in typical log4j fashion.