Cant update an boolean on a button action

I need to update a boolean and a time stamp to a task i have in my project. The task is created from earlier but when i user is done with the taks i need to update it to be able to track if its done or not. So i have a boolean for done and a timestamp for when. I want to update the fields with a button but when i make a Backend call - Update document i cant pick the boolean. Im not in the task screen but i have passed the reference to page parameters and made a query to fetch the document. Its a "Document from reference" and i use my passed reference as the parameter.

8 replies