Only Move Rows with specific column value (API / cURL)

zainab92
zainab92
edited 12/09/19 in API & Developers

I'm a little new to the Smartsheet developer tools and I'm trying to move rows with "completed" status.

I was able to move rows to another sheet if I specify the Row ID but is there a way to do this without specifying row ID?

Basically, I'm trying to only move rows IF they have "Complete" under the "Status" column.

Thanks.

Comments

  • Hello,

    There isn't a way to move a row without passing the Row ID, otherwise the API won't know which row to move.

    What you'll want to do instead, is build a script that looks through the rows and checks the columnId for the "Complete" value, then performs a move row on those by passing the RowId.