It's all about the answers!

Ask a question

How to load rtc javascript in workitem page initialization?


benito neto (1667) | asked Jun 01 '15, 11:59 a.m.
edited Jun 01 '15, 12:35 p.m.
Hello,

I want to set a flag of a workitem attribute on page initialization. Im doing this in a previous calculated value script with this method:

    workItem.setValue(mandatories,"true");

This flag is associated with the behavior at mandatory fields. This flag is true when is necessary to fill mandatory itens.  (Dynamic mandatory attributes based on script condition at behavior of work item save operation)

The problem is, this script is only called when a event occurs in page(like fill any field), but i want to this at the load page, in a specific scrint on event, for example: on load or init.

I've tried to use default value by script base, but didn't works too.

Be the first one to answer this question!


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.