Business Rule

 

Create fee paid (yes/no field), if no then show the tentive date (date and time ) field and fill the date automatically with (today date+10 days).else if it is show the paid date as today date

Step 1: Create a Business. So follow the navigation to create a business rule 

Click on Gear icon > Advance settings > Settings area > Customization > Solutions >Custom entity > Student FeePay >

Business rule > Click on New Business rule 

Step 2: Add components according to the scenario which was given



Step 3 : After adding the components and select the scope as information


Step 4 :Click on validate to validate the business process 

Step 5 : Click on save and check whether the business rule is saved or not

Step 6 : Click on Activate then we can check the Business rule is working or not 


IF

FeePaid equals "No"

THEN
Show field TentiveDate
Hide field PaidDate
Set default value of TentiveDate to PaidDate + "10"
ELSE
Hide field TentiveDate
Show field PaidDate
Set PaidDate to "1/8/2024, 8:00:00 AM"

Comments

Popular posts from this blog

If any case created, then check for the same user how many cases are created with in 30 days, if more than 2 and less than 5 send a mail to team lead, if more than 5 and less than 9 then send a mail to manager using power automate.

Create approve & reject ribbon buttons, once click on approve it should change the status field to approve.If clicked on reject it should change to Reject. Based on status field change trigger work flow to send a email to stating request is approved/Rejected.

How to get and set values in plugins?