All Downloads are FREE. Search and download functionalities are using the official Maven repository.

e.sonataflow.sonataflow-quarkus-integration-test.10.0.0.source-code.forEachCustomType.sw.json Maven / Gradle / Ivy

{
  "id": "forEachCustomType",
  "version": "1.0",
  "name": "For each custom type",
  "description": "Test for each state with workitem handler",
  "start": "start",
  "functions": [
    {
      "name": "division",
      "type": "custom",
      "operation": "rpc:division"
    }
  ],
  "states": [ {
      "name": "start",
      "type": "foreach",
      "iterationParam" : "item",
      "inputCollection": ".input",
      "outputCollection": ".output",
      "actions": [
        {
          "functionRef": {
            "refName": "division",
            "arguments": {
              "dividend": ".item",
              "divisor" : ".divisor"
             }
          }, 
           "actionDataFilter" : {
              "results" : ".+1"
           }
         }
       ],
       "end": true
     }
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy