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 791 posts 1189 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;

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 08, 2013 @ 09:51
    Tim Geyssens
    1

    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 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies