クラシックファイルタイプは 2021 年 1 月をもって使用できなくなりました。クラシックファイルを移行することも、PDF をダウンロードすることもできます。詳細はこちら

Convert JSON output of List Users command

回答済み
0

コメント

7件のコメント

  • Wade Hays

    Your Array to CSV command is very close. The user information is nested in an object "attributes" so your JSON path would be ".attributes.email"

     

    Regards, Wade
    --
    Wade Hays - Tower Turn

    0
  • Stephenie Kern

    Thank you Wade! That worked. 

    0
  • Anurag Shukla

    Hi Wade,

    I am also trying the same thing but i also want to extract list of all the workspace and workspace roles associated to that user, how can i do that?

     

    Ragards,

    Anurag

    0
  • Jeff Hickey

    Hi Anurag Shukla,

    You can get workspace and workspace roles in attributes.workspaceMemberships. For more information and to see an example response of all information available, please reference https://developers.workiva.com/admin-v1/admin-getorgreportusers/#example-responses.

    0
  • Talia Test

    Hi Jeff Hickey, I am attempting to do the same as above - retrieve workspace and role information using the List Users command. Would 'attributes.workspaceMemberships' be used in an Array to CSV command? I am attempting to add it here and I get an error upon running the chain using the first method and blank column outputs using the second method.

     

    0
  • Erik Tremblay

    I had the same issue when trying to troubleshoot it. In the end the nested Arrays were the problem and we needed to add the [ ]  to get it to work.  IF we put a [*], it brings back all the detail for the nested array.   if you are going after Workspace roles,  you end up in an Array, of Arrays, of Arrays, so you need to leverage it twice.   This screenshot shows how we got it working.   

    0
  • Talia Test

    Wow, thanks! That did the trick.

    0

サインインしてコメントを残してください。