Passing forms as parameters

Passing forms as parameters

I have found the help page at   https://www.zoho.com/creator/help/script/form-objects.html#Adding_form_object_as_argument_to_the_function and tried to replicate it but am experiencing difficulties 

I created a function that has a form as an argument

When I execute the form via the script builder and randomly select an ID, it works as expected.

When I try to insert it into the form actions by calling the function and passing input.ID, I get the following error message. Why is it not working as expected for in form scripts?


Mismatch data type for function 'store_row_changes' at argument index 2 expected data type SITES found data type BIGINT