02-bpmn
Use this to add Company specific BPMN stuff like business objects used in all projects.
The following structure is generated by ./helperCompany.scala init
:
02-bpmn/src
| main/resources
| main/scala/company/bpmn
| | CompanyBpmnDsl.scala
| test/scala/company/bpmn
CompanyBpmnDsl
Provide some Company specific things for the BPMN DSL, like additional Documentation, like Links to Specifications.
Example:
import camundala.bpmn.BpmnDsl
trait CompanyBpmnDsl extends BpmnDsl:
def postmanRef: Option[String] = None
def specPage: Option[String] = None
override def companyDescr =
s"""
|${postmanRef.map(r => s"[Test Client (Postman)]($postmanRef)").mkString}
|
|${specPage.map(sp => s"**[Specification (Confluence)]($sp)**").mkString}
|""".stripMargin
end companyDescr
end CompanyBpmnDsl
Documentation of companyDescr
will be in every BPMN element you define by the DSL, e.g. processes or workers.