RPE : Requirement Count in a module RDNG
Accepted answer
You can check if dataSource/artifact/collaboration/attributes/objectType/name returns "Requirement". If so, increment the variable as shown in the screen shot.
Please find modified sample template. You can use the module URI (https://server:9443/rm/publish/modules?resourceURI=_9817413064c54f4f82c57353884b5e84) as data source URI during document generation.
Please find modified sample template. You can use the module URI (https://server:9443/rm/publish/modules?resourceURI=_9817413064c54f4f82c57353884b5e84) as data source URI during document generation.
4 other answers
You can have a (internal) variable and increment it if object type is requirement.
Comments
Please find the sample template which prints headings count and requirements count. We have the condition format == "Text" - which will include only Text artifacts. When isHeading == "true", _countHeading is incremented and if isHeading != "true", _countReq is incremented. I might be wrong in understanding the requirement correctly. Please do the modifications and give a try. You can use the module URI (https://server:9443/rm/publish/modules?resourceURI=_9817413064c54f4f82c57353884b5e84) for document generation.
Comments
showing 5 of 7
show 2 more comments
Hi Pilar,
Find below the screenshot
I've an artifact type "Requirement" in each module "requirement Specification"
And I want count the number of artifact type "Requirement" in a module "Requirement Specification"
Find below the screenshot
I've an artifact type "Requirement" in each module "requirement Specification"
And I want count the number of artifact type "Requirement" in a module "Requirement Specification"
Hi Pilar,
I checked and dataSource/artifact/collaboration/attributes/objectType/name returns only the fisrt value in module ie "Heading"
I can not browse the module, I only read the first value in "Heading"
The module is constituted of Heading, Information and Requirement
I checked and dataSource/artifact/collaboration/attributes/objectType/name returns only the fisrt value in module ie "Heading"
I can not browse the module, I only read the first value in "Heading"
The module is constituted of Heading, Information and Requirement