Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm using a Replicator Activity in my Workflow. I would like at some point, to modify the list I've given to InitialChildData.

I've tried to do something like :

this.replicatorActivity.InitialChildData[3] = "test4"

Hoping that when I would go in my ChildInitialized function it would change me the value of


But It didn't changed anything.

Does someone know how I could modify this variable ?


Edit : that's my code for the moment

public Workflow1()

    public Guid workflowId = default(System.Guid);
    public SPWorkflowActivationProperties workflowProperties = new SPWorkflowActivationProperties();
    public ArrayList list = new ArrayList();

    private void Replicator_ChildInitialized(object sender, ReplicatorChildEventArgs e)

    private void codeActivity1_ExecuteCode(object sender, EventArgs e)
        if (this.replicatorActivity1.CurrentIndex == 0)

            this.replicatorActivity1.InitialChildData[1] = "Test3";
            list[1] = "Test3";

    private void Replicator_Initialized(object sender, EventArgs e)
        String test = "test";

share|improve this question
Your accept rate is too low, I wonder if someone will try to help you :| –  Muhammad Raja Jul 13 '12 at 15:35
All right, how come my accept rate is too low ? Is it because I'm asking too much question ? –  Thoma Bigueres Jul 16 '12 at 8:00
its because your not accepting answers –  Muhammad Raja Jul 16 '12 at 8:01
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.