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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow only works for me (admin) but not other user?

(0) ShareShare
ReportReport
Posted on by 155

Hi All,

I have a workflow that allows me to change the status of a fulfilled order to Active. This removes the read only setting, one can make adjustments, and then manually fulfil again.

Another user now needs access to this workflow too.

It works fine for me (admin) every time, but when the other user tries to run the workflow it gets stuck in waiting.The Scope is set to Org. The Error indicates it cannot make the change because it is read only, I know this, that is the purpose of this workflow, to change the "read only" status.

Plugin Trace:

[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.UpdateEntity]
[UpdateStep2]

Error Message:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The entity cannot be updated because it is read-only.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>7d2691cc-4f60-45f6-8377-5485406c1abc</ActivityId>
  <ErrorCode>-2147220946</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>The entity cannot be updated because it is read-only.</Message>
  <Timestamp>2018-10-17T02:42:28.3237778Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>7d2691cc-4f60-45f6-8377-5485406c1abc</ActivityId>
    <ErrorCode>-2147220946</ErrorCode>
    <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>The entity cannot be updated because it is read-only.</Message>
    <Timestamp>2018-10-17T02:42:28.3237778Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <OriginalException i:nil="true" />
  <TraceText>[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.UpdateEntity]
[UpdateStep2]
</TraceText>
</OrganizationServiceFault>
   at Microsoft.Crm.Workflow.Services.UpdateActivityService.Execute(ActivityContext executionContext, UpdateEntity updateEntity)
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    which entity you are trying to update?

    Some system entities  cannot be updated when closed, even by the sdk. Example : quote, contract & invoice.

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Which step are you using the change the status is it update or is it change status? can you share a screenshot of you workflow please.

  • Eturyu Profile Picture
    155 on at

    Hi, this is a change to the Order entity.

    As mentioned, this workflow works fine for me, but not the new user.

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Just tried this on my test environment and it is working fine for system admin as well as users with salesperson role. Can you share the screenshot of your workflow please?

  • Eturyu Profile Picture
    155 on at

    New-Bitmap-Image-_2800_2_2900_.jpg

  • Eturyu Profile Picture
    155 on at

    does that help at all?

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Can you upload it again, it didn't come through

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Use the Change Status step and see if this works.

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Something like this:

    orderstatus.png

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    How did you go with this? Does the above suggestion helped?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans