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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Suggested answer

Business Rules in 365 - Set Field to a calculated value

(0) ShareShare
ReportReport
Posted on by

Hi,

   I am using business rules to set a value of an attribute as a concatenated string of two fields of which one is a option set and the other is a string.   This feature was available in 2015 as in the first image.  However in 365 without a text editor I am unable to.  Any suggestions before coding in JS.

D365-BU-1.JPG

D365-BU-2.JPG

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Business Rules in 365 - Set Field to a calculated value

    I know that this is an old post, but I thought I would post an answer for people that find this in a search like I did.

    This is possible, but you have to create a calculated field first. Use Concat() for the action.

    pastedimage1570025999267v1.png

    Publish the field, then create your business rule to copy the value of the calculated field to the field you want to set.

    pastedimage1570026076799v2.png

    pastedimage1570026109158v3.png

    I did this to automatically fill in the new_name field of a custom entity based on two attributes of the entity.

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at
    RE: Business Rules in 365 - Set Field to a calculated value

    It does not allow to add two fields

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans