- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 09:58 AM
Hello,
Is it possible to use a business rule to change a state on the form view? The business rule is working as intended on the list view, but not on the form itself. The script is written in a PDI.
When the if statement is true, I want the state to change back to the previous state from "Released" state on update/form refreshed. For example, if there are any SAFe stories associated with the SAFe Feature that are not Complete or Cancelled, and the user tries to change the state to "Released" on Save/Update, the state will revert back to the previous on page reload.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 03:33 PM
Hello Everyone,
Thanks for your advice. The issue was resolved by increasing the order of the business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:07 AM
Hi @TerryC03 ,
Instead of BR u can write an onChange Client script on state field instead n achive it on change of certain field it will check ur required condition if it does not satisfy it will throw n error.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:22 AM
use current.state=previous.state
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:26 AM
That did not work unfortunately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:53 AM
Let me rephase that, it did not work within the if statement.