I created a business rule with these exact steps, I'm using workflow that is creating additional SCTASKS. Then I create an ad hoc SCTASK (which is not in workflow) and if all the workflow SCTASKS are closed and the last ad hoc task is closed it does not close the RITM. Any idea how to get even ad hoc tasks to close the RITM if it's not in the workflow?
Line 12 gives count of all all sc tasks who state is in 3,4,7 and in line 7 it gives count of only those sc tasks under current request item. How can you compare those two?
@@epapra795 have you tried description code, i have added there video is just for how you can achieve i am not teaching how to code i am just providing what could be the way to do
Hi can you please explain when you glide second time on sctask table for the tasks that are in close state you query for all sctasks there is no refrence for request item there may be sctask which are related to other request item which are in close state and if the count for that task is greater then the logic will fail ..I am little confuse please explain
Very good
I created a business rule with these exact steps, I'm using workflow that is creating additional SCTASKS. Then I create an ad hoc SCTASK (which is not in workflow) and if all the workflow SCTASKS are closed and the last ad hoc task is closed it does not close the RITM. Any idea how to get even ad hoc tasks to close the RITM if it's not in the workflow?
Line 12 gives count of all all sc tasks who state is in 3,4,7 and in line 7 it gives count of only those sc tasks under current request item. How can you compare those two?
Have you checked the code in description? Check it i am already checking current request item
But in video it's not there. Code is different
@@epapra795 have you tried description code, i have added there video is just for how you can achieve i am not teaching how to code i am just providing what could be the way to do
Thanks for adding it in description. Kudos for your work
its lengthy we can simplify this.
Please share simplified code as well it will help everyone of us
Hi can you please explain when you glide second time on sctask table for the tasks that are in close state you query for all sctasks there is no refrence for request item there may be sctask which are related to other request item which are in close state and if the count for that task is greater then the logic will fail ..I am little confuse please explain
Yeah you can check there as well one more query
I just want to know that if i am understanding this wrong…means we have to add that query also to work this br properly?
@@prateektyagi8276 Yes i will add that
Thanks and keep it up doing great job👍👍
@@prateektyagi8276 Thanks for your support