Posted Tue, 07 Nov 2023 08:27:59 GMT by 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
Posted Tue, 07 Nov 2023 10:02:25 GMT by 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
Posted Tue, 07 Nov 2023 10:19:25 GMT by Mayra Rossi
Thank you very much, I confirm it works :-)
Posted Wed, 15 Nov 2023 15:58:02 GMT by Bruno Villa Real Document Solution
Hi Gerardo,

is it possible to also write on a Table field?

You must be signed in to post in this forum.