BPMN file represents the Workflow defined/specified by the designer using Workflow Designer tool in SDC.
Sample BPMN file
Designer is able to define
- Workflow
- Inputs and Outputs of Workflow
- Manage Activities of Workflow
- Establish dependencies between Activities in a Workflow
- Map Inputs and Outputs of Workflow/Activity to Inputs and Outputs of an Activity
Workflow
# | SDC Field | BPMN Field | XML attribute/element | Notes |
---|---|---|---|---|
1 | workflow.versionId | process.id | attribute | |
2 | workflow.name | process.name | attribute | |
3 | workflow.description | Where do we map description to? |
Inputs and Outputs of Workflow
# | SDC Field | BPMN Field | XML attribute/element | Notes |
---|---|---|---|---|
1 | process.dataInput.id | ? | ||
2 | workflow.input.name | process.dataInput.name | attribute | |
3 | process.inputSet.dataInputRefs | |||
4 | process.dataOutput.id | ? | ||
5 | workflow.output.name | process.dataOutput.name | attribute | |
6 | process.outputSet.dataOutputRefs |
Manage Activities of Workflow
Activities are represented in BPMN as ServiceTask.
# | SDC Field | BPMN Field | XML attribute/element | Notes |
---|---|---|---|---|
1 | id | serviceTask.id | attribute | ? |
2 | name | serviceTask.name | attribute | |
3 | serviceTask.class | attribute | Class is a constant configurable in SDC |
Establish dependencies between Activities in a Workflow
# | BPMN Field | XML attribute/element | Notes |
---|---|---|---|
1 | sequenceFlow.id | attribute | Identifier of sequence flow generated on creation |
2 | sequenceFlow.sourceRef | attribute | id of source flow element |
3 | sequenceFlow.targetRef | attribute | id of target flow element |
4 | incoming | element | id of prior sequenceFlow |
5 | outgoing | element | id of post sequenceFlow |
Map Inputs and Outputs of Workflow/Activity to Inputs and Outputs of an Activity
# | BPMN Field | XML attribute/element | Notes |
---|---|---|---|
1 | dataInputAssociation.sourceRef | element | id of source dataInput |
2 | dataInputAssociation.targetRef | element | id of target dataInput |
3 | dataOutputAssociation.sourceRef | element | id of source dataOutput |
4 | dataOutputAssociation.sourceRef | element | id of target dataOutput |