Skip to main content
February 11, 2021
Question

@odata.nextLink

  • February 11, 2021
  • 4 replies
  • 0 views

I built an integration using Microsoft Graph so I'm limited in retrieving 100 records per request. I know I need use the @odata.nextLink in the next GET call. In Power Automate I just loop through the calls using the @odata.nextLink and append each set of results in a array variable. How do I do this in Appian?

Thank you,

Americo

    4 replies

    medc0001Author
    February 12, 2021

    I realized that the solution is in using the process modeler. Below is how I am accomplishing this. Americo

    February 18, 2021

    [mention:485511b024df48cdbd7ca405aaa571d9:e9ed411860ed4f2ba0265705b8793d05] how did you access the @odata.nextLink from the JSON? I tried a!fromJSON(objHere("/users")).result.body).@odata.nextLink but returns null. In your process, how did you scrape that value?

    medc0001Author
    February 18, 2021

    Below is the format  of the output response from the integration rule!MC_SP_GetPresbyterateSharepointList which is call to a sharepoint list. The Odata link is in the body section of output.

    Then built expression rule with the uri as rule input. Since odata prefixed with @ sign need to enclose with ' '

    rule!MC_SP_GetPresbyterateSharepointList(ri!uri).result.body.'@odata.nextLink'