Veröffentlicht Tue, 07 Nov 2023 08:27:59 GMT von Mayra Rossi
Hi, 

I'm trying to retrive an array from a rest call in a workflow.

{
  "approversList": [
    {
      "username": "user1"
    },
    {
      "username": "user2"
    },
    {
      "username": "user3"
    }
  ]
}


There is any solution to get all usernames and save it into a keyword field? Otherwise, how to get approversList items count?

Thanks
Veröffentlicht Tue, 07 Nov 2023 10:02:25 GMT von Gerardo Lisanti Team Leader Product Management
Hi Mayra,

in the Data Assign tab, try to manually replace the index by an asterisk "*", like this:
$.approversList[*].username


Viele Grüße / With best regards,
--
Gerardo Lisanti
Team Leader Product Management  |  DocuWare GmbH
Veröffentlicht Tue, 07 Nov 2023 10:19:25 GMT von Mayra Rossi
Thank you very much, I confirm it works :-)
Veröffentlicht Wed, 15 Nov 2023 15:58:02 GMT von Bruno Villa Real Document Solution
Hi Gerardo,

is it possible to also write on a Table field?

Sie müssen angemeldet sein um Beiträge in den Foren zu erstellen.