Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Update Closed Jobs

(0) ShareShare
ReportReport
Posted on by 150

Hello Everyone

i'm trying to update an empty field in Jobs entity for the completed jobs using on demand workflow. but the workflow didn't work so i'm not able to update them.

Any Idea if we can update completed jobs in dynamics crm 2015 using workflow

Thanks and Regards,

*This post is locked for comments

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Update Closed Jobs

    Hi,

    I am sorry but you can't update system jobs. These are internal system jobs and the status will be changed based on the job itself. Can you share a screenshot, please?

  • Adel Orabi Profile Picture
    150 on at
    RE: Update Closed Jobs

    Hello,

    i'm trying to update a system job entity. i've tried to update them using UI and on demand workflow.

    can you send me the workarounds to update inactive records

    Thank you

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Update Closed Jobs

    Hi Adel,

    Are you trying to update a system job entity? Or you have your own custom entity with name as Job? Could you please share some more details on your implementation. If the record status is inactive then you may not be able to edit it using UI but there are few workarounds to update inactive records as well.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Update Closed Jobs

    You can create window form application c#. Create connection with crm and get service then update records.

    Use below code for connection

    private Uri homeRealUri = null;

            IOrganizationService service = null;

           private OrganizationServiceProxy serviceOrganizationProxy = null;

           private ClientCredentials credentials;

           private Uri organizationUri;

           public IOrganizationService getService()

           {

               credentials = new ClientCredentials();

               credentials.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;

               credentials.UserName.UserName = "";

               credentials.UserName.Password = "";

               string orgUrl = "";

               if(!String.IsNullOrEmpty(orgUrl) && orgUrl.Contains("https"))

               {

                   ServicePointManager.ServerCertificateValidationCallback = delegate (object s, X509Certificate Certificate, X509Chain Chain,

                   SslPolicyErrors PolicyErrors)

                     {

                         return true;

                     };

                   System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

               }

               organizationUri = new Uri(orgUrl);

               using (

               serviceOrganizationProxy = new OrganizationServiceProxy(organizationUri, homeRealUri, credentials, null))

               {

                  // serviceOrganizationProxy.EnableProxyTypes();

                   serviceOrganizationProxy.ServiceConfiguration.CurrentServiceEndpoint.Behaviors.Add(new ProxyTypesBehavior());

                   service = serviceOrganizationProxy;

               }

               return service;

           }

    Hope it helps,

    Thanks

  • Adel Orabi Profile Picture
    150 on at
    RE: Update Closed Jobs

    can you please explain what do you mean by utility?

    Thank you

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Update Closed Jobs

    Hi Adel

    You can create utility. With workflow we cannot update existing read only records.

    Thanks

    Ridhima

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans