Closed blue-troy closed 2 years ago
"dataConditions": [
{
"condition": "{{ $.[?(@.action == 'list')] }}",
"transition": "volumeList"
},
{
"condition": "{{ $.[?(@.action == 'create')] }}",
"transition": "volumeCreate"
}
]
this is ok.
i was confused by "expressionLang": "jsonpath",
this is my demo, i use
curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"workflowdata" : { "action" : "list" , "access" : { "ak" : "aa" , "sk" : "aa" }}}' http://localhost:8080/RestExample
to start my workflow instance. want a help to know how to use condition when simple == .with java error log