Join GitHub today
RecordService.Delete triggers workflows that refer non deleted record #198
When creating a custom workflow where you delete a record a YSOD shows and the following callstack shows that after the delete of a record the workflows are called again referecing a now deleted record.
It crashes when using this code in the workflow:
Since this code seems to be called async from Forms Core it can't be worked around by us.
This item has been added to our backlog AB#2214
@nul800sebastiaan We use Umbraco Forms to let people vote. We check their email and/or IP address and if they already voted there record will be deleted in one of the workflows. Currently we just replace all the voting info with emtpy strings.. and handle some other stuff.. like different redirect based on if you already voted or not.