This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Publish outstanding objects via Script (V7)

Hi,

I've seen some examples of how to delete outstanding objects from the database via script using CallMethod().

My question is how can I publish/reprovision outstanding objects using script code?

In my current use-case I tried DeleteOutstanding and re-inserting AD group memberships as a workaround, but I am getting primary key violations when I execute both within one script (the outstanding object is probably not removed right away). What I actually need is a programmatic way of publishing specific objects (with or without dependencies), kind of the same way the Manager does when I click the "Publish" button.

Parents
  • I would like to add a different question to this thread, because it kind of resulted from the same use case:

    Is there an easy way to "re-publish" (AD) memberships, that are not even marked as outstanding? I.e. I have presumably healthy membership objects, but I want to re-provision them at the end of an order just in case they were removed, without having to wait for a group sync to mark them as outstanding.
    Basically I want to manually add memberships to the provisioning apparatus around DPRMembershipAction.
Reply
  • I would like to add a different question to this thread, because it kind of resulted from the same use case:

    Is there an easy way to "re-publish" (AD) memberships, that are not even marked as outstanding? I.e. I have presumably healthy membership objects, but I want to re-provision them at the end of an order just in case they were removed, without having to wait for a group sync to mark them as outstanding.
    Basically I want to manually add memberships to the provisioning apparatus around DPRMembershipAction.
Children
No Data