(I hope I didn't post it already in another thread, sorry if I did)
While the AcceptEventAction itself is already available, there is also the wait time action (i.e., an AcceptEventAction with a single TimeEvent trigger), mentioned in this question: https://forum.plantuml.net/19247/support-interrupt-region-action-especially-accept-action (I cross-referenced it here). It is currently not available on PlantUML.
If the occurrence is a time event occurrence, the result value contains the time at which the occurrence transpired. Such an action is informally called a wait time action.
For PlantUML contributors:
From the official UML 2.5.1 specification: A wait time action (i.e., an AcceptEventAction with a single TimeEvent trigger) is notated with an hour glass symbol (see Figure 16.40, right).
--
While it is not officially implemented, here's the workaround I've been using, also including the original request on how to draw the other actions. Warning: since it's a ASCII sprite, it gets really ugly when scaled. :)
@startuml
'THE SIGNAL RECEIPT SHOULD BE FLIPPED HORIZONTALLY,
'I'M CURRENTLY FIXING IT IN AN IMAGE TEXT EDITOR
' AcceptTimeEventAction
sprite $acceptTimeEventAction [16x16/16] {
0000000000000000
FFFFFFFFFFFFFFFF
0FF0000000000FF0
00FF00000000FF00
000FF000000FF000
0000FF0000FF0000
00000FF00FF00000
000000FFFF000000
0000000FF0000000
000000FFFF000000
00000FF00FF00000
0000FF0000FF0000
000FF000000FF000
00FF00000000FF00
0FF0000000000FF0
FFFFFFFFFFFFFFFF
}
:Separate products;
: <<signal sending>>\nRequest payment; <<output>>
: <<signal receipt>>\nPayment confirmed; <<input>>
:Deliver product;
kill
<style>
.acceptTimeEvent {
LineColor: #FFFFFF
BackgroundColor #FFFFFF
}
</style>
: <$acceptTimeEventAction{scale=2}>\nEnd of month; <<acceptTimeEvent>>
:Send order reports;
@enduml
I hope that helps. :)