Total Cost (price) on Service request with recurring cost included

chandra_ym
Kilo Expert

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??

1 ACCEPTED SOLUTION

chandra_ym
Kilo Expert

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.

View solution in original post

3 REPLIES 3

anurag92
Kilo Sage

Can you update your BR to after with an order more than 10000?

Yes i tried setting the order to 15000. Didnt work though

chandra_ym
Kilo Expert

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.