I have a customized SharePoint Form where if a checkbox is checked by an approver a button is enabled to start a workflow by another team. On unchecking it is disabled. The value of the checkbox is saved in a single line of text in SharePoint list. On checking the text field in SharePoint is marked as checked.
I have put OnCheck of the checkbox property to assign a variable varCheck as "Checked'" and OnUncheck as Blank(). The Approver can uncheck and recheck the checkbox even after it has been saved as "Checked" in SharePoint list in column AllowWF, till the button is clicked to submit to workflow,
What default should be put in the Text Input box so that Checkbox changes are reflected in the Text Input box through out. After the workflow the checkbox will remain checked.
I try to put OnEdit of SharePoint Integration by Set(varCheck,SharePointIntegration.Selected.AllowWF) and putting the default for the Text Input to varCheck if the status is before flow and Parent.Default after the flow, but the desired results are not coming. The variable on ititial seeting remains blank even if the field is "Checked". Main point is that it should be able resave as Blank or "Checked" depending on the value of checkbox.