locked
registering activity workflow in crm RRS feed

  • Question

  • using this example 

    http://msdn.microsoft.com/en-us/library/ee704600.aspx

    i am having a problem while registering it as plugin in crm 4.0

    it says that no plugin been selected

    i have searched it and came to know class should inherit from IPlugin, therefore it is not coming as plugin in plugin registration tool.

    then inherited it from IPlugin but it is not coming in workflows add new step dropdown.

    any idea

     

     

    Monday, December 6, 2010 11:49 AM

Answers

All replies

  • Check if you have signed your assembly or not
    Mahain : My Dynamics CRM Blog
    • Marked as answer by Saboor Ahmed Thursday, December 9, 2010 7:26 AM
    Monday, December 6, 2010 2:13 PM
    Moderator
  • are you doing custom workflow or plug in?

    if you are doing custom workflow then it needs to inherits from Activity class..

    do you get any error while registring this in Plug in Registration tool?


    MayankP
    My Blog
    Follow Me on Twitter
    Monday, December 6, 2010 9:51 PM
  • solved the problem

    i was missing some assemblies

    thanks

    Thursday, December 9, 2010 7:26 AM
  • i

    i am facing same problem.

    can you tell me which asssemblies were missing ?


    neeraj
    Thursday, March 31, 2011 5:15 AM
  • Just hover you mouse on the underlined word it will show you help. Normally following assemblies should be referenced:-

    Plugin:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.Crm.Sdk;
    using Microsoft.Crm.SdkTypeProxy;
    
    
    Worflow Assembly:
    using System.Collections.Generic;
    using System.Text;
    using System;
    using System.Collections;
    using System.Workflow.ComponentModel.Compiler;
    using System.Workflow.ComponentModel.Serialization;
    using System.Workflow.ComponentModel;
    using System.Workflow.ComponentModel.Design;
    using System.Workflow.Runtime;
    using System.Workflow.Activities;
    using System.Workflow.Activities.Rules;
    using System.Reflection;
    using Microsoft.Crm.Workflow;
    using Microsoft.Crm.Sdk;
    using Microsoft.Crm.SdkTypeProxy;
    using Microsoft.Crm.Sdk.Query;

     

     
    Regards Faisal
    Thursday, March 31, 2011 3:47 PM