locked
Custom workflow activity ReferenceTarget in 2013? RRS feed

  • Question

  • I'm looking at the sample code SampleCode\CS\Process\CustomWorkflowActivity\TestNet4Activity\SimpleSdkActivity.cs from the SDK and it doesn't have the ReferenceTarget decoration.  No longer needed?  One assembly for many entities now possible?

    This code sure looks like it might run anywhere?  If so, I assume it has to be published to a particular entity to become an activity on a workflow of that entity, right?

    Monday, February 3, 2014 8:47 PM

Answers

  • I don't know when the ReferenceTarget decoration ever was need (or why others reported it as an obstacle), but it is not needed in 2013.

    And, while the code is generic, there is no need to establish a listener -- the assembly has to be registered, but no "plugin step" need be established.  So I put the answer to my second question as, there is direct communication between the UI developed workflow and the assembly and no need to "publish" it to any entity.

    • Marked as answer by mardukes Monday, February 10, 2014 3:24 PM
    Monday, February 10, 2014 3:24 PM