cancel
Showing results for 
Search instead for 
Did you mean: 

List binding to input of UI5 task as approval form not working

DianaCr
Discoverer
0 Kudos
266

Hi Community,

I am trying to bind list of process context to the approval form which is an imported UI5 task that has a list input. The field is enabled and I am able to bind the list but not the individual fields.

DianaCr_2-1719590037906.png

Even if I try to map the individual fields it does not work. Below is declaration of the input in manifest.

DianaCr_1-1719589966698.png

But with a usual approval form there is no issue to bind.

DianaCr_3-1719590383445.png

Please suggest.

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Ryoko
Associate
Associate
0 Kudos

Hi,
As described in the Help Document below, you can specify arrays for Input/Output by defining the items in the list within the 'definitions' block.

https://help.sap.com/docs/build-process-automation/sap-build-process-automation/technical-informatio... 

 {
  "$schema": http://json-schema.org/draft-07/schema,
  "title": <"input" or "output">,
  "type": "object",
  "required": [],
  "properties": {"newTable": {
      "title": "New Table",
      "description": "",
      "type": "array",
      "items": {
        "$ref": "#/definitions/newTableItems"
      }
    }
  },
  "definitions": {
    "newTableItems": {
      "type": "object",
      "required": [],
      "properties": {
        "newText": {
          "title": "New Text",
          "description": "",
          "type": "string"
        }
      }
    }