using Fakes with custom CRM workflow RRS feed

  • Question

  • So I'm trying to call my custom CRM workflow using Fakes 

    I've copied all the code from the examples:


    But when I debug past this code....

                var inputs = new Dictionary<string, object>


                        { "Target", new EntityReference()}

                var outputs = invoker.Invoke(inputs);

    I get this error

    The values provided for the root activity's arguments did not satisfy the root activity's requirements:
    'MyWorkflow': The following keys from the input dictionary do not map to arguments and must be removed: Target.  Please note that argument names are case sensitive.

    My workflow is expecting an input parameter called "Target" containing the record being processed. Is this the correct place to put this?

    • Edited by Phil98765 Monday, June 29, 2015 11:41 PM wrong words
    Monday, June 29, 2015 11:38 PM