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

DNG6.0.5:Updating Workflow status by using OSLC RM v2 does not work.

 I try update workflow status using  standard approach from below link.



But when I submitted "PUT" , workflow value is  disappeared.
Is that operation needs a kind of special method?


========
Steps to reproduce
0. add Workflow attribute to an artifact type

1. create an artifact with the artifact type modified in step 0.

2. Update the artifact which is created in step 1. by using OSLC RM v2

(Example)


(HTTP Header)
If-Match=<value from e-tag>
OSLC-Core-Version=2.0
Accept=application/rdf+xml

 
(Contents)
<rdf:RDF
...
...
......
.....
  </rdf:Description>
</rdf:RDF>

(Actual Result)

Rest Response returns 200.

However,
Status of workflow goes blank when showing this artifacts by Web browser.

"j.0:DefaultWorkflow" is disappears when getting the artifact information by OSLC RM v2 Rest.

(Expected Result)
Workflow Status is updated with specified parameter. e.g. com.ibm.rdm.workflow.common.complete

0 votes

Comments

Someone asked a similar question some time ago but I cannot find it now. My experiments show that you can "remove" the workflow status by using PUT, but I have not found a way to set the value yet.

Think this is a known defect, let me try to find it.

The other post that I mentioned earlier is the below one, just for cross-reference purpose.
https://jazz.net/forum/questions/248330/rdng-v604-v605-changing-the-state-of-an-artifact-type-requirements-through-oslc-or-java-apis



3 answers

Permanent link

Looks like you ran into a known issue, which will be resolved in DNG 6.0.6.
Link to the defect: An OSLC PUT operation removes workflow information from the requirement (120221)

0 votes

Comments

 yes, that's a defect being solve in 6.0.6.


Permanent link

 Thanks a lot  for your answer!

0 votes


Permanent link

 This defect is still present in 6.0.6. Observing exactly the same behavior as OP.

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,954
× 7,512

Question asked: Jan 12 '18, 3:35 a.m.

Question was seen: 2,790 times

Last updated: Sep 12 '18, 6:25 p.m.

Confirmation Cancel Confirm