Documentation
¶
Index ¶
Constants ¶
View Source
const ( WorkflowType = "parallel" State1 = "S1" State11 = "S11" State12 = "S12" State13 = "S13" State111 = "S111" State112 = "S112" State121 = "S121" State122 = "S122" )
*
- This test workflow has eight states, using REST controller to implement the workflow directly. *
- State1:
- - WaitUntil method does nothing
- - Execute method delays 1s then moves to State11, State12, & State13
- State11:
- - WaitUntil method does nothing
- - Execute method delays 2s then moves to State111 & State112
- State12:
- - WaitUntil method does nothing
- - Execute method delays 2s then moves to State121 & State122
- State13:
- - WaitUntil method does nothing
- - Execute method will delay 1s then gracefully complete workflow
- State111:
- - WaitUntil method does nothing
- - Execute method will gracefully complete workflow
- State112:
- - WaitUntil method does nothing
- - Execute method will gracefully complete workflow
- State121:
- - WaitUntil method does nothing
- - Execute method will gracefully complete workflow
- State122:
- - WaitUntil method does nothing
- - Execute method will gracefully complete workflow
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler() common.WorkflowHandler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.