How can we update one field value based on other field value using Business Rules.

Anil74
Tera Guru

Hi All,

How can we update one field value based on other field value using Business Rules.

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

Hi Anil



get the value by using current.field_name and update it in the other field.



can you please share the screenshot? it would be easy to write a code.



if you are updating the value in other table field then use after business rule


View solution in original post

7 REPLIES 7

snehabinani26
Tera Guru

Hi Anil,



Please provide more details of your requirement. How do you want this to happen. What I mean is when the form is submitted you want to calculate the value of other field or immediately on change of the field.


Harsh Vardhan
Giga Patron

Hi Anil



get the value by using current.field_name and update it in the other field.



can you please share the screenshot? it would be easy to write a code.



if you are updating the value in other table field then use after business rule


Anil74
Tera Guru

Dear Sneha and Harsha,



I want to update the Category field to network when the state is On Hold using BR Scripts.



I tried with the below sample code


condition is State == '2'



current.category == network.



but its not working for me.



can you please help me with this.


you can use out of the box condition field and action tab to set the field value.