Hi,
Anyone has any suggestion how to add a field that follows all the amount changes of another field except when it goes to 0?
Thanks
Hi,
Anyone has any suggestion how to add a field that follows all the amount changes of another field except when it goes to 0?
Thanks
Thank you Lu.
Hi partner,
In addition to business rules, you could also use workflow.
If my goal is: When I modify Mobile Phone, Business Phone automatically assigns the same value. When Mobile Phone is to be set to 0, the Business Phone does not automatically assign the same value.
1) Create a new workflow, check Record is created and Record fields change in the Start When column, and then click Select button. Select the data source field. Click OK.
2) Click Add Step > Check Condition, then click <condition> (click to configure), select the corresponding condition. Save and Close.
3) Click "Select this row and click Add Step", then click Add Step > Update Record, then click Set Properties. Set matching field in the corresponding field. Save and Close.
4) Click Save, then click Activate.
This effect is:
When I modify the value of Mobile Phone, save the record, refresh the page, the value of Business Phone will automatically become the value of the Mobile Phone.
When the value of Mobile Phone is changed to 0, the value of Business Phone does not change.
The drawbacks of this way is:
If the two fields are different before the workflow is created, the two fields will not be automatically synchronized without modifying the record.
These two fields can be synchronized only when the record is modified.
Hope this helps.
Best Regards,
Lu Hao
Hi,
As mentioned above, you can create business rule to achieve it. But - Why do you want to have 2 field which stores the same values? What's you business requirement?
Hi,
From what I understand, you want to copy data from field A to field B except if the value in field A is 0. If it is anything but 0, copy it.
You can use is Business Rule to do so.
Note: If my answer helped you. Please mark it as verified.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156