Microsoft KB Archive/878405

= &quot;Error in action posturl&quot; error message when you try to pass the name of a custom picklist using the Post URL action in Microsoft CRM Workflow =

PSS ID Number: 878405

Article Last Modified on 12/1/2004

-

The information in this article applies to:


 * Microsoft CRM 1.0 SDK

-



TechKnowledge Content
SYMPTOMS

For picklist fields, there are two fields available for use in a Post URL action; one represents the name of the picklist value and the other represents the index integer value.

For example:

You create a Workflow rule that uses the Post URL action. You want to send the name of the picklist value selected to the custom page specified in the Post URL action instead of the integer value. A custom picklist named cfptemperature is created to indicate the temperature of a lead. Three values are added: Hot, Warm, and Cold; where Hot has an index of 0, Warm has an index of 1, and Cold has an index of 2. When you create the workflow rule, there are two fields available to send to the custom page: cfptemperature and cfptemperaturename. You expect that the latter will send names Hot, Warm, or Cold to the custom page instead of 0, 1, or 2.

When the cfptemperaturename field is selected, you receive the following error message:

Error in action posturl. Failed to connect the url http://CRMServer/WebService2/Service1.asmx/CreateFile? d:\mscrm\build\3017\src\platform\workflow\service\processengine.inl 5207http://CRMServer/WebService2/Service1.asmx/CreateFile? d:\mscrm\build\3017\src\platform\workflow\service\processengine.inl 5207

CAUSE

This is a limitation in version 1.0 of Microsoft CRM.

RESOLUTION

The index integer values that are passed using the cfptemperature field need to be used. In the custom page consuming this information, use the CRMCustomization.RetrievePicklist method to retrieve the picklist values and their associated names for the specified object.

For additional information about how to use this method, click the following link to view the article in the MSDN Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/CrmSdk/htm/crmcustomizationretrievepicklistmethod.asp

This issue will be resolved in a future release of Microsoft CRM.

This article was TechKnowledge Document ID: 33778

Keywords: kbMBSMigrate KB878405

Technology: kbBizSolSearch kbCRMSDK kbCRMSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.