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?
I have worked with workflow in the RQM, I guess it works similar,
The first step is to get the Creation Factory URI, then to get the Resource Shape of the CF, and finally run a query to the resource shape looking for the oslc:name property with the value hasWorkflowState, this will return a list of properties as oslc:allowedValue, those are the workflow values.
How to set a workflow state value using OSLC Java API in DNG
I have a workflow state value. This value is contained in a URI that represents its state value.
How can I update a workflow state value in dooors next generation?
Is the requirement object used in the updateResource method an object you have gotten using the getResource method of the OSLC client?, I’m wondering if the requirement object has the ID.