- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2019 06:21 PM
Once a Service request is submitted, i would like to set the Total Cost (price) on sc_request by calculating the item cost + recurring cost. We developed a custom business rule on submit (of sc_request) to set the calculated Total Cost (price) but the value gets set back to the Item cost. I can see in the logs that BR is executed and Total Cost (price) is calculated and set.But something else is overriding this and setting the Total Cost back to the Item cost.
Has anyone encountered this? how to solve this??
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2019 06:45 PM
one of my team mate achieved this using current.update in "After" BR. Further setWorkflow(false) was also used so that other BRs are not triggered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2019 07:29 PM
Can you update your BR to after with an order more than 10000?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2019 09:51 PM
Yes i tried setting the order to 15000. Didnt work though
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2019 06:45 PM
one of my team mate achieved this using current.update in "After" BR. Further setWorkflow(false) was also used so that other BRs are not triggered.