insertAction(_:at:)
Inserts the specified action at the specified position of the receiving workflow.
Declaration
func insertAction(_ action: AMAction, at index: Int)Parameters
- action:
The action to insert.
- index:
The position in the receiver at which to insert the action. If the position is invalid, this method does nothing.
Discussion
The workflow retains the action but does not copy it.