Dear Bentley Synchro Forum Team,
It is possible through a script to fill resource-"user fields” values with information from the associated activity/task?
Thank you in advance for reading and for the response you can provide me with.
Best regards,
Mariel
Hi Mariel,
Try this - RESOURCE ASSIGN_UF("Parent Task Name", STRING,TASK.PARENT.PARENT.NAME)
Answer Verified By: Mariel Rivero Dapena
Hello Arpit,
It works! You are a sunshine
Thanks to your answer, I was also able to create the script to fill in the missing UF values.
PSET_mrd_02RESOURCE ASSIGN_UF("PSET_mrd_02_Capitulo", STRING,TASK.PARENT.PARENT.NAME)PSET_mrd_03RESOURCE ASSIGN_UF("PSET_mrd_03_Subcapitulo", STRING, TASK.PARENT.PROPERTY("Name"))PSET_mrd_04RESOURCE ASSIGN_UF("PSET_mrd_04_Task", STRING,TASK.LEAF.LEAF.NAME)
Best regards + 1000 Thanks