bpm

package
v0.0.0-...-c6309c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type B2Form

type B2Form struct {
	ModelInput *B2ModelInput `json:"modelInput"`
}

外層

type B2ModelInput

type B2ModelInput struct {
	Pm int   `json:"pm"`
	Tm []int `json:"tm"`
}

內層

type BPMClient

type BPMClient struct {
	// contains filtered or unexported fields
}
var Bc *BPMClient

func (*BPMClient) GetAllProcessCase

func (b *BPMClient) GetAllProcessCase(c string, processId string) string

取得該流程所有單況

func (*BPMClient) GetDetailCase

func (b *BPMClient) GetDetailCase(case_id string) string

取得該單據待執行詳細資料

func (*BPMClient) GetFinishCase

func (b *BPMClient) GetFinishCase(case_id string) string

取得該單據已完成任務之資料

func (*BPMClient) GetFinishCaseState

func (b *BPMClient) GetFinishCaseState(sourceObjectId string) string

取得已完成任務之狀態描述

func (*BPMClient) GetReadyCase

func (b *BPMClient) GetReadyCase(c string, state string, user_id string) string

獲取使用者可執行的單

func (*BPMClient) Login

func (b *BPMClient) Login(username string)

Login /bonita/loginservice

func (*BPMClient) ReviewCase

func (b *BPMClient) ReviewCase(task_id string, body string) string

審核任務

func (*BPMClient) StartB2Form

func (b *BPMClient) StartB2Form(pm int, tm []int) string

Start-C-Form /bonita/API/bpm/process/[ProcessId]/instantiation [ProcessId] == 表單編號 return caseId

func (*BPMClient) StartForm

func (b *BPMClient) StartForm(processID string, body string) string

Start-Form /bonita/API/bpm/process/[ProcessId]/instantiation [ProcessId] == 表單編號 return caseId

func (*BPMClient) StartOrderForm

func (b *BPMClient) StartOrderForm(assistant string, recipient string) string

Start-Order-Form /bonita/API/bpm/process/[ProcessId]/instantiation [ProcessId] == 表單編號 return caseId

type OrderForm

type OrderForm struct {
	ModelInput *OrderModelInput `json:"modelInput"`
}

type OrderModelInput

type OrderModelInput struct {
	Assistant string `json:"assistant,omitempty"`
	Recipient string `json:"recipient,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL