Hi, We have a case where we need to clear/reset one of the upload fields on the form from workflow. So that it can be reused to upload new file. We have a workflow Service Task just before assigning a task to user where we want to achieve this. There is no activity in workflow to clear out or make the upload field DBNULL just like we can do with other variables. So we have no option other than writing a delete command in SQL Server to clear its attachment.
Can someone write for us a delete query to do that?
Note: We tried to do this using Javascript as mentioned in different posts in forums but didn't work as we are using LF 11. Also we are not sure if Javascript will work the same way on mobile App. So we don't want to follow this approach.