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

is it possible to also write on a Table field?

フォーラムに投稿するためにはログインが必要です。