utils

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStringFromExpression added in v0.0.5

func GetStringFromExpression(variables map[string]interface{}, input string) string

func GetStringSliceFromExpression added in v0.0.4

func GetStringSliceFromExpression(variables map[string]interface{}, input string) []string

func HasTrueCondition

func HasTrueCondition(sequenceFlow model.SequenceFlow, execution delegate.DelegateExecution) bool

func IsExpr added in v0.0.4

func IsExpr(input string) bool

func IsReachable

func IsReachable(processDefinitionId string, sourceElementId string, targetElementId string) (bool, error)

func IsTrue added in v0.0.5

func IsTrue(variables map[string]interface{}, input string) bool

func NewDefaultHttpClient added in v0.0.3

func NewDefaultHttpClient() *resty.Client

NewDefaultHttpClient creates new resty Client instance

func Trim added in v0.0.5

func Trim(input string) string

Types

type ConditionUtil

type ConditionUtil struct {
}

type ExecutionGraphUtil

type ExecutionGraphUtil struct {
}

type ProcessDefinitionUtil

type ProcessDefinitionUtil struct {
}

ProcessDefinitionUtil must be used in a command execute function

func (ProcessDefinitionUtil) GetProcess

func (processDefinitionUtil ProcessDefinitionUtil) GetProcess(processDefinitionId string) (model.Process, error)

Jump to

Keyboard shortcuts

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