web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Custom Workflow Input Parameters Not Updating

(0) ShareShare
ReportReport
Posted on by 1,875

Hi

I have Dynamics CRM 2015 Update 1 trial edition. I have created one custom workflow that has two input parameters of type text.

I changed the code to have those two parameters as lookup instead of single line of text.

I have updated my assembly and version number also but still the same text parameters are showing up.


In on-premise I used to reset IIS but it is online. Any thoughts how can this be fixed?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Custom Workflow Input Parameters Not Updating

    Hi,

    Try to unregistered your workflow first and then register it will different assembly version (change assembly version in project properties)

  • Suggested answer
    Surmeet Singh Profile Picture
    3,075 on at
    RE: Custom Workflow Input Parameters Not Updating

    Hi thecrm guy,

    This is a common problem with online environment, you will have to unregister and register again.

  • Suggested answer
    Abhishek Dhoriya Profile Picture
    1,013 on at
    RE: Custom Workflow Input Parameters Not Updating

    Hi thecrm guy ,

    You have to Unregister the previous Assembly, Build new assembly and make sure that you have used correct syntax for the InputParameter for lookup.

    [Input("EntityReference input")]

    [Output("EntityReference output")]

    [ReferenceTarget("account")]

    [Default("3B036E3E-94F9-DE11-B508-00155DBA2902", "account")]

    public InOutArgument<EntityReference> AccountReference { get; set; }

    Please refer below link:

    msdn.microsoft.com/.../gg327842.aspx

    Please mark my answer as correct if you find so.

  • Verified answer
    Rugved Gokhale Profile Picture
    on at
    RE: Custom Workflow Input Parameters Not Updating

    In case of custom worflow (I'm referring it as CWF ahead in this post), there is a version management handled by CRM natively, its not a bug !

    If you need to reflect your CWF (the updates) while keeping the same assembly version, just go to :-

    - Plugin Reg tool from where you have registered your custom workflow

    - Locate the specific CWF which you need to update

    - Click on small Save in the properties tab. This will treat the last updated version as the only usable version and would reflect your latest changes in the workflow as well.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Custom Workflow Input Parameters Not Updating

    Thank you Rugved!! This worked perfectly :)

  • Suggested answer
    duchan Profile Picture
    397 on at
    RE: Custom Workflow Input Parameters Not Updating

    Thanks Rugved.

  • Community Member Profile Picture
    on at
    RE: Custom Workflow Input Parameters Not Updating

    Thank you for this answer! Only wish I'd come across it 4 hours ago!

  • Suggested answer
    Pedro Agra Sabino Profile Picture
    6 on at
    RE: Custom Workflow Input Parameters Not Updating

    Thanks Rugved! I didn't know about this behavior :)

  • Suggested answer
    Mduduzi Profile Picture
    on at
    RE: Custom Workflow Input Parameters Not Updating

    Thank you Rugved!

  • mwm Profile Picture
    58 on at
    RE: Custom Workflow Input Parameters Not Updating

    Another thank you for Rugved.   Note that if you've added new parameters as I had, it seems like you need to click the save button at the specific / child workflow activity level and not at the assembly level.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans