Can we set today's date in timestamp field based on particular workflow state?
Shailendra Gupta (1●4●4)
| asked Mar 26 '13, 3:32 a.m.
edited Mar 26 '13, 3:44 a.m. by Ralph Schoon (63.5k●3●36●46)
Can we set today's date in timestamp field based on particular workflow state?
|
One answer
Hi Shailendra,
You can set the timestamp with the help of Script (Calculated Values)...
var currentDate= new Date();
if ((workItem.getValue(WorkItemAttributes.STATE)== State ID)) {
return currentDate.getTime().toString();
}
Hope this helps you.
Regards,
Anurag RAjput
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.