# {{workflow.name}}
*对象：net.ibizsys.model.wf.IPSWFVersion

## 基本
| 项              |值                |说明                     |
|-------------------|:---------------------|:------------------------|
|名称&nbsp;(name)|{{workflow.name}}|&nbsp;|
|版本&nbsp;(wFVersion)|{{workflow.wFVersion}}|&nbsp;|
|代码标识&nbsp;(codeName)|{{workflow.codeName}}|&nbsp;|

{{#if workflow.links}}
```plantuml
@startuml
!theme plain
hide footbox
{{#each workflow.links}}
{{#eq fromPSWFProcess.wFProcessType "START"}}(*){{/eq}}{{#neq fromPSWFProcess.wFProcessType "START"}}"{{fromPSWFProcess.name}}"{{/neq}} --> [{{#if logicName}}{{logicName}}{{/if}}{{#unless logicName}}{{name}}{{/unless}}]{{#eq toPSWFProcess.wFProcessType "END"}}(*){{/eq}}{{#neq toPSWFProcess.wFProcessType "END"}}"{{toPSWFProcess.name}}"{{/neq}}
{{/each}}
@enduml
```
{{/if}}
## 逻辑
### 流程处理集合
*来源：getPSWFProcesses*
{{#if workflow.pSWFProcesses}}
{{> @macro/net.ibizsys.model.wf.IPSWFProcess.list.md.hbs items=workflow.pSWFProcesses}}
{{else}}
*(无数据)*
{{/if}}


### 流程连接集合
*来源：getPSWFLinks*
{{#if workflow.pSWFLinks}}
{{> @macro/net.ibizsys.model.wf.IPSWFLink.list.md.hbs items=workflow.pSWFLinks}}
{{else}}
*(无数据)*
{{/if}}

## 用户扩展
| 项              |值                |说明                     |
|-------------------|:---------------------|:------------------------|
{{#if workflow.userTag}}
|用户标记&nbsp;(userTag)|{{workflow.userTag}}|&nbsp;|
{{/if}}
{{#if workflow.userTag2}}
|用户标记2&nbsp;(userTag2)|{{workflow.userTag2}}|&nbsp;|
{{/if}}
{{#if workflow.userTag3}}
|用户标记3&nbsp;(userTag3)|{{workflow.userTag3}}|&nbsp;|
{{/if}}
{{#if workflow.userTag4}}
|用户标记4&nbsp;(userTag4)|{{workflow.userTag4}}|&nbsp;|
{{/if}}
{{#if workflow.userCat}}
|用户模型分类&nbsp;(userCat)|{{workflow.userCat}}|&nbsp;|
{{/if}}
## 其它
| 项              |值                |说明                     |
|-------------------|:---------------------|:------------------------|
{{#if workflow.autoModel}}
|自动产生模型&nbsp;(autoModel)|{{workflow.autoModel}}|&nbsp;|
{{/if}}
{{#if workflow.dynaInstMode}}
|动态实例模式&nbsp;(dynaInstMode)|{{workflow.dynaInstMode}}|&nbsp;|
{{/if}}
{{#if workflow.dynaInstTag}}
|动态实例标记&nbsp;(dynaInstTag)|{{workflow.dynaInstTag}}|&nbsp;|
{{/if}}
{{#if workflow.dynaInstTag2}}
|动态实例标记2&nbsp;(dynaInstTag2)|{{workflow.dynaInstTag2}}|&nbsp;|
{{/if}}
{{#if workflow.pSDynaModel}}
|动态模型对象&nbsp;(getPSDynaModel)|{{workflow.pSDynaModel.name}}|&nbsp;|
{{/if}}
{{#if workflow.pSWorkflow}}
|工作流&nbsp;(getPSWorkflow)|{{workflow.pSWorkflow.name}}|&nbsp;|
{{/if}}
{{#if workflow.startPSWFProcess}}
|开始处理&nbsp;(getStartPSWFProcess)|{{workflow.startPSWFProcess.name}}|&nbsp;|
{{/if}}
{{#if workflow.wFCodeName}}
|工作流代码标识&nbsp;(wFCodeName)|{{workflow.wFCodeName}}|&nbsp;|
{{/if}}
{{#if workflow.wFMode}}
|流程模式&nbsp;(wFMode)|{{workflow.wFMode}}|&nbsp;|
{{/if}}
{{#if workflow.wFStepPSCodeList}}
|流程步骤代码表&nbsp;(getWFStepPSCodeList)|{{workflow.wFStepPSCodeList.name}}|&nbsp;|
{{/if}}
{{#if workflow.mobStartView}}
|有移动端流程启动视图&nbsp;(hasMobStartView)|{{workflow.mobStartView}}|&nbsp;|
{{/if}}
{{#if workflow.startView}}
|有流程启动视图&nbsp;(hasStartView)|{{workflow.startView}}|&nbsp;|
{{/if}}
{{#if workflow.valid}}
|是否启用&nbsp;(valid)|{{workflow.valid}}|&nbsp;|
{{/if}}
## 模型
```yaml
{srfjson2yaml(workflow.getModel().toString())}
```