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

How to get\to set a workflow state value using OSLC Java API in DNG

How to get\to set a workflow state value using OSLC Java API in DNG

I have a workflow with several states. I'm working with DNG and this applies to the whole
set of requirements of a module.
I need to know how to check the current value of the workflow of a requirement and how to change it.
I can't find how to do it with the Java OSLC API for DNG.
Is it possible to do this with OSLC API for DNG?

Any suggestions on how to get the value from workflow?

Thanks in advance.

0 votes



One answer

Permanent link
Hi Felipe,

With the OSLC RM V2 API -  you can programmatically integrate with DOORS Next Generation, there is an elaborate workshop to get you started here OSLC Workshop article. These programs can be from any language that support HTTP REST calls, e.g. Java, C# etc. Hence these are more flexible to run and can read and update DNG data, as part of a web server, or standalone, but have some limitations set by the current OSLC standard, for example module support. In release 6.0.5 extension have been added for modules.

An alternate to GET/PUT (set) the workflow state of an artifact is by using the REST API based on OSLC, as described in https://jazz.net/library/article/1197.

The following screenshot shows how by using an HTTP POSTer you could GET or PUT a new value on an artifact, such as the workflow state.

RestAPI_GET/UPDATE example

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

Question asked: Nov 12 '19, 5:36 a.m.

Question was seen: 1,342 times

Last updated: Jul 01 '20, 1:55 a.m.

Confirmation Cancel Confirm