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)

Set Owner Id to null with business rules

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm trying to set the Owner Id to null when creating a record from a custom entity.

I'm using condition: If CretaedOn does not contain data

and action is: Set Owner Id to Modified by

as I suppose Modified by does not contain data either.

This doesn't work as it it, but if I change the action to set up a date time field, it works.

Any trick to do this with a business unit rule? If so, I'm thinning JS would be any remaining option?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Neil Parkhurst Profile Picture
    10,727 User Group Leader on at

    I have tested this and had it work!

    I had a condition that said created on does not contain data.

    Then  set owner to created by

    An important point was to ensure the owner field is in the main body of the form. If it is only in the header then the business rule doesn't work!

  • Jorge S Profile Picture
    on at

    Really? I have Owner Id in the body, and business rules is set to Entity, but it's not working. (I have updated the label to Owner Id to Performed by)

  • Verified answer
    Neil Parkhurst Profile Picture
    10,727 User Group Leader on at

    Just found something else that effects this ....

    I had the created by and created on fields in the footer of the form.

    Without them showing in the footer strangely it didn't work. But added them back in and then worked again!

  • Jorge S Profile Picture
    on at

    Thanks Neil! that worked

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