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

validate the changes in the process data of a project area

I have a requirement in which i need to validate the changes to the the process data. Specifically we have a pre condition on the work item and we do not want this to be removed once enabled.
The best way to do so I thought was create a advisor to the Project Area Save operation.
The problem with this approach is to get the changed process data.

The operation data for the Project area save is null and most of the variables using which the modification can be fetched is private. Specifically the fPreviousItems in Project Area Save Operation.,
The below code gives me the specification as IContent.

Map data = modifiedProjectArea.getProcessData();
IContent specification = (IContent) data.get(ProcessContentKeys.PROCESS_SPECIFICATION_KEY);

But i cannot get the Process data as a string as I need content service to fetch the content from the IContent.
The fProcessService is protected which is the closest variable to get any service.

Can you please help me in writing the advisor for the project area save operation to validate the changes in the Process data.

Thanks
Aradhya

0 votes



One answer

Permanent link
I have the same question. Did you ever find a solution?

0 votes

Your answer

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,938

Question asked: Apr 27 '09, 3:02 p.m.

Question was seen: 5,355 times

Last updated: Sep 25 '15, 1:24 p.m.

Confirmation Cancel Confirm