Remove Project Task Dependency through fix script

Ahyel Libunao1
Tera Contributor

Hello, 

 

i am having a difficulty in removing project task dependencies in bulk via fix script. I was able to remove the task relationship through this fix script, but the dependencies still showing in list view. Even .deleteRecord(); produces same results.

 

AhyelLibunao1_1-1690164757648.png

Note: Tried to delete values from dependency field as well, but list view values are still visible. 

AhyelLibunao1_2-1690164801406.png

 

May i know what is the best way to remove project task dependencies in bulk? 

 

Thanks in advance!

 

 

7 REPLIES 7

Hi Rahul,

 

I have the same kind of request.

 

I want to remove the current value in the "Parent" and "Top Project" fields on the Project task table( pm_project_task)

 

Could you please provide the script?

 

Thank you

Prabhu Mendu

Rahul Talreja
Mega Sage
Mega Sage

@Ahyel Libunao1 ,
Can you open a record and see the field name and type for dependency, Post a SS for same

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

Ahyel Libunao1
Tera Contributor

hi @Rahul Talreja , 

 

 

AhyelLibunao1_0-1690182663032.png

 

Form layout:

AhyelLibunao1_1-1690182775597.png

 

List layout

AhyelLibunao1_2-1690182840036.png