Step types
Change what a step is, make a task repeat, call another process, and choose a decision's default flow.
This page covers changing what a step is and how it behaves: its type, whether it repeats, which process it calls, and which arrow is the default.
Change a step's type
- Select the step.
- Click its type at the start of the selection bar, or press R.
- Pick the new type.
The menu lists what the step can become while keeping its place in the flow:
| Step | Can become |
|---|---|
| Task | Task, User task, Service task, Send task, Receive task, Manual task, Business rule task, Script task, Call activity or Sub-process |
| Gateway | Exclusive (XOR), Parallel (AND), Inclusive (OR), Event-based or Complex |
| Start, end or intermediate event | Another kind of the same event, for example a plain start to a message or timer start. For an intermediate event, six common types show first and the other eight are under More. |
| Event on a task's border | Another kind of attached event, such as a deadline to a failure |
On an event attached to a task, When it happens sets whether the task stops or keeps running. See Events on a task.
Make a task repeat
- Right-click a task and choose Repeat, or set Repeat in its Properties.
- Pick how it repeats:
- Loop until done runs it again until it's done.
- Each item at once runs it once for each item, all together.
- Each item in turn runs it once for each item, one after another.
A marker at the bottom of the shape shows which. Doesn't repeat turns it off. See Repeat a step.
Call another process
A call activity runs another process. To choose which:
- Right-click the call activity and choose Calls, or set Calls in its Properties.
- Pick the process diagram it runs.
Then Open and the diagram's name, in the same menu, takes you to that diagram. So does the button under Calls in Properties. No process clears the choice.
When the process isn't a diagram in Penna, such as one kept in another tool:
- Choose Calls › Other process…, or Other process… under Calls in Properties.
- Type the process's name, in Process name in Properties, and press Enter.
The step keeps the name alone. The menu shows it beside Other process…. See Call another process.
Make an arrow the default flow
The default flow is the one taken when no other condition holds.
- Select an arrow leaving a decision, an inclusive gateway, or a task with more than one arrow out.
- Choose Default flow in the bar above it.
Choose it again to turn it off. In the arrow's Properties, Flow sets the same thing: Conditional or Default.