Skip to main content

Community

Other: HVR Restrict Contexts Enabled By Default

Answered

Please sign in to leave a comment.

Comments

3 comments

  • Official comment
    Mark Van de Wiel User

    Zack,

    Thank you for your suggestion. I am awfully sorry to hear that you lost records as a result of not selecting the context to protect soft-deleted records.

    I will discuss with the team how we can lower the likelihood that this happens again.

    Thank you,
    Mark.

  • Mark Van de Wiel User

    Hi Zack,

    Have you considered defining/using an alternative Restrict condition. E.g.

    Restrict Context=!refresh_purge_deletes, RefreshCondition="{hvr_is_deleted} <> 0" 

    This condition would be enabled in all cases, unless you run refresh with the Context refresh_purge_deletes. I.e. it would flip the default refresh behavior HVR creates when you define a soft delete channel.

    Hope this helps.

    Mark.

    That would give me a context to delete soft deleted records. But that would not prevent deleting soft deleted records during a normal refresh.