Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Autogenerate yes or no

Sengeni
Tera Contributor

Hi,

I need a script where in request project table if a project is there then need to auto generate yes in aob adoption field in task definition table.if there is no project then autogenerate as no.Please refer the screenshot

Sengeni_0-1724911222479.png

Regards and Thanks,

Sengeni

2 REPLIES 2

Najmuddin Mohd
Mega Sage

Hi @Sengeni ,

In the first line, you have written var task = current;

In the second line, you have used taskGr.project.

Is task and taskGr not different ?

Hope this Helps.

Regards,
Najmuddin.

Amit Verma
Kilo Patron
Kilo Patron

Hi @Sengeni 

 

Can you please share your complete script ? From the snippet provided, you are assigning projectID as taskGr.project but taskGr is not initialized. Instead, I can see var task being declared, probably a typo.

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.