It's all about the answers!

Ask a question

Can we create a WorkItem using javascript in RTC(WorkItem Customization) ?


Jia jang (42111) | asked Mar 23 '17, 8:46 a.m.

Hello Guys,
Can we create a workItem using javascript in RTC. ?
let me explain , I want to create a workItem when status(state) of my current workitem is set to "Done".
I want to achieve Following scenario.
step 1: I am Working on a workItem(Task) A .
step 2: WorkItem A's status(state) changes from --- "In Progress" ----- to --- "Done"
step 3: Automatically , new workItem(task)  is need to be create.

thanks.

Accepted answer


permanent link
joe meagher (6612) | answered Mar 23 '17, 9:53 a.m.

 I do not know of a way to do this in the work item customization javascript.  However, it is available via the operation behaviors functionality.  Here is a good read on how this can be done.



NOTE: This server API is used by the process customization plug-ins.  Your particular case most likely fits into the "Process Advisor" section.  You can think of it like a follow-up action.

Jia jang selected this answer as the correct answer

Comments
Jia jang commented Mar 24 '17, 2:45 a.m.

 Thanks Joe

Your answer


Register or to post 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.