Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 07, 2013 @ 16:35
    Martin Griffiths
    0

    Contour Workflow delete record database error

    Hi Tim

    In my workflow (applied to submitted). I'm deleting the record but getting the following error on completion of the workflow..

     The INSERT statement conflicted with the FOREIGN KEY constraint "FK_UFRecordDataDateTime_UFRecordFields".

    RecordService rs = new RecordService(record);
                rs.Delete(); 
                rs.Dispose();

                return WorkflowExecutionStatus.Completed;

  • Comment author was deleted

    Jan 08, 2013 @ 09:51

    Hmm at what stage are you executing this workflow? Submitted? Don't think it will work since you are deleting the record, try moving it to the approved stage

    Cheers,
    Tim 

Please Sign in or register to post replies

Write your reply to:

Draft