Hi Task detail window contains Due Date: fileld. I want to set a date dynamically in it. Is it possible? If yes please tell me how?Thanking you,Jayant
Hi Kaalraa, Thank you very much. I got the answer.
There used to be some documentation on this - but I don't see it right now with a quick glance at the manuals.I believe that you need to set job and/or task-level variables to have the values you want and then to make sure you reference that variable within the ui_custom.xml file - (UICG search for due_date and read surrounding text)As long as you make sure you have the association between the variable and the UI correct - you should be able to dynamically alter the value of the variable within your workflow from any externaltask or cgitask or to set it explicitly from the WFT during instantiation as you see fit.
Too bad this approach doesn't work for "Job Name" (or I'm too thick to find the correct variable name). I tried to SetVariable('job_name'), ('name'), and variations thereof with no good result. Anyone have a suggestion or tried & true approach to resetting the value of this after a job instantiates?Thanks!
The job name is not a workflow variable - it is a byproduct of the WFT and/or available_templates.cfg file and does not seem to have a means of setting it (only retrieving it via GetName()) through the existing Perl module.You can, however, adjust the job's description with TeamSite::WFworkflow:etDescription() and perhaps that will suffice for you?