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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Problem with sdkmessageprocessingstep

(0) ShareShare
ReportReport
Posted on by 55

Hi

I want to register a sdkmessageprocessingstep for update message of account but i get the error like "System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: The dependent component Attribute (Id= kphbar_barcodeimage) does not exist.  Failure trying to associate it with SdkMessageProcessingStep (Id=5902d295-d3aa-e811-940c-0050569e7805) as a dependency. Missing dependency lookup type = AttributeNameLookup. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault)., Correlation Id: 5c857c30-b5c6-4f08-9adc-c60afaf97d14, Initiating User: cf37e726-1a9f-e111-93f7-0050569e7805" when i set the FilteringAttributes.

my code is like this:

...

var updatePluginStep = new SdkMessageProcessingStep()
{
Name = "Test Name",
Mode = new OptionSetValue(0),
Rank = 1,
Stage = new OptionSetValue(20),
SupportedDeployment = new OptionSetValue(0),
InvocationSource = new OptionSetValue(0),
PluginTypeId = updatePluginType.ToEntityReference(),
SdkMessageId = updateSdkMessage.ToEntityReference(),
SdkMessageFilterId = pluginStepFilterId.ToEntityReference(),

Description = "Test",

FilteringAttributes = "statecode, statuscode"

};

...

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Reza Kalantari Profile Picture
    55 on at

    I remove the space before the statuscode and problem solved.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans