Step Handlers - Synchronization Service

Does anyone know how to use step handlers? The documentation barely even talks about them and no examples are given.

I would like to take data from srcobj or dstobj and perform actions pre or post run. Is this not doable. In what forms are step handlers useful then?

Parents
  • The Step Handlers are executed before and after the steps run, not during the enumeration of the objects, therefore the SrcObj and DstObj objects are not available. Maybe the Pre and Post Event Handlers in Active Roles can help here?

    In the Source tab of a Workflow step, code can be executed here, which would essentially be at the beginning of the enumeration of each source object before bulk of that step runs, so maybe you could run some Pre operation code here. Can't really think of a way to run code at the end of a step that would provide access to the SrcObj and DstObj objects.

    If you wanted to provide an example of what you might be trying to accomplish maybe some suggestions could be made.

Reply
  • The Step Handlers are executed before and after the steps run, not during the enumeration of the objects, therefore the SrcObj and DstObj objects are not available. Maybe the Pre and Post Event Handlers in Active Roles can help here?

    In the Source tab of a Workflow step, code can be executed here, which would essentially be at the beginning of the enumeration of each source object before bulk of that step runs, so maybe you could run some Pre operation code here. Can't really think of a way to run code at the end of a step that would provide access to the SrcObj and DstObj objects.

    If you wanted to provide an example of what you might be trying to accomplish maybe some suggestions could be made.

Children