Zum Hauptinhalt gehen

Delete Workflow does not delete a page, when it has incoming references, even when the deletion is confirmed by editor ('Really delete' option).??

Kommentare

2 Kommentare

  • Zendesk API User
    Author: Hendrik - 1/20/2020 18:10

    Hi Siva,

    I've no idea how your workflow has been implemented, but have you seen that there's a method ignoreIncomingReferences(boolean ignoreIncomingReferences) to tell the DeleteOperation to ignore incoming reference? Maybe adding line del.ignoreIncomingReferences(true)before line Result deleteResult = del.perform((IDProvider) deleteObject); does the trick :smileywink:

    Best, Hendrik

    0
  • Zendesk API User
    Author: sivaprasad9394 - 1/23/2020 4:01

    Hello Holst,

    Thank you for your reply and time. Its perfectly working fine.

    Thanks.

    Regards,

    Siva

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.