locked
How to build a custom composite ForEach Activity RRS feed

  • Question

  • Hi,

    Can someone please point me in the right direction on how to build a composite ForEach Activity?

    This is the overall idea? I want to create an activity where I specify a path and a file pattern and allow the user to drop one or more activity onto the activity designer, then my activity is triggered, it will call the new Directory.GetFiles(path, pattern), loop through each file and pass the current file to all the activities that were dropped originally on my activity.

    This is the most basic scenario explained, but I want to use this for other scenarios.

    I hope it makes sense but I'm seriously confused as to how to get this to work. I've figured out the part on how to build a composite activity that can host multiple other activities based on a Microsoft example, but I can't figure out how put the 2 together.

    A basic example would be great.

    Thanks.

    Sunday, November 27, 2016 3:25 AM

All replies