Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to load rtc javascript in workitem page initialization?

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.

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,950
× 457
× 152

Question asked: Jun 01 '15, 11:59 a.m.

Question was seen: 3,782 times

Last updated: Jun 01 '15, 12:35 p.m.

Confirmation Cancel Confirm