Add ability to clear Signature Widget

It would be great if the feature was added to programmatically clear a given Signature widget without completing the App.

We are using the Signature Widget for when users enter test results. Per procedure, they can perform the test up to 3 times if initial attempts fail. We need the user to still enter and sign for the failures and we were hoping we could just loop back to the same step each time they retry in order to avoid having operators re-enter test information that doesn’t change between successive attempts (lot #, filter type, etc).

However, because we cannot clear the widget without completing the app (which would clear the data we need to be persistent) we have found that we either need to duplicate the step 3 times (so that there are 3 separate signature widgets) or temporarily write the info to a table and load it when the app restarts after completion. Having the ability to reset the widget from a trigger would make this both easier and more elegant (the thought is that completion of the signature with a ‘FAIL’ result would reload the step and we could use either a “Step Enter” or “Step Exit” trigger to clear the signature from the previous attempt).

Perhaps programmatically clearing the widget could also force the app to save all data to avoid any concerns around not capturing valid signatures in the completion record before the widget is cleared.

Hi @cpuzzo, thanks for the suggestion. When you say “complete the app” are you using the Complete button with the trigger “Complete App”? If so, have you tried using the “Save all app data” trigger instead of completing the app? This can be found by using a standard button in the triggers.

1 Like

Hi @shep, yes I was referring to the “Complete App” trigger transition. I didn’t realize the “Save All App Data” action would clear the signature, but I just tested and it seems to be doing exactly what I was trying to accomplish.

Thanks!

2 Likes