Workflow Soluiton

 View Only
  • 1.  Replicate now option through workflow

    Posted Feb 26, 2016 05:07 AM

    Hi,

    We want to replicate in the workflowsolution  the option 'replicate now' of an item.

    In the altiris console, for example, if you go to manage--> policies of the parent NS, you have the option of Right Click - Hierarchy - Replicate Now. This option replicates and updates this item in all of the Child NSs who need this item replicated.

    Can we replicate this function through Workflow Solution, maybe calling a webservice, or programatically doing something in the workflow or performing some actions in the DB?

    This option will update agents faster when needed, for example, when we create a policy, we have to wait until a scheduled differential replication is launched, or force a differential replication , but we think this is not a good practice, because we only need the replication of a sole item.

    Thank you!



  • 2.  RE: Replicate now option through workflow

    Broadcom Employee
    Posted Feb 27, 2016 07:00 AM

    On Notification Server you can find ASDK help which contains information about hierarchy

    ASDK.jpg

    Thanks,

    IP.



  • 3.  RE: Replicate now option through workflow

    Posted Feb 27, 2016 11:46 AM
    Hi... I made some researches on this hierarchy method. But does this method replicate one item? Or the whole node? I mean... Can i set as nodeguid any item id? Our goal is replicating an item only, for example, replicate only a policy created through a workflow business procces


  • 4.  RE: Replicate now option through workflow

    Broadcom Employee
    Posted Feb 27, 2016 12:30 PM

    I haven't checked this... Try to specify there GUID of your policy and see whether it will replicates it or will require only a Node guid there.

    If it will requires a Node Guid, then create a custom Folder, put there required policy and try to replicate a folder GUID = It should replicate a folder along with a policy.



  • 5.  RE: Replicate now option through workflow

    Posted Apr 15, 2016 07:17 AM

    RunDifferentialReplication is starting a differential replication to a node in the hierarchy. RunCompleteReplication starts a complete replication in the hierarchy.

    The nodeGuid can be found when running the following query:

    select * from HierarchyNode

    The ItemGuid in the result will be the nodeGuid. You will have as many items as you have nodes in the hierarchy.



  • 6.  RE: Replicate now option through workflow

    Posted Jun 01, 2016 08:09 AM

    We've try to user run differential replication, and using a test policy GUID as the node to replicate, but it does not work, because the test policy guid "is not of type HierarchyNodeItem" . Anyway, can we know what type of internal process is made by Altiris console when we right click over an item and select replicate now?. I think that this process will help running only desired replication, instead of running a time wasting differential replication.