I'm running into a strange bug with workflow transitions and wanted to see if anyone else has encountered this.
Setup
Simple workflow: two states, one transition. The transition has one or more Execute Command actions. For testing, the command is just:
echo %time% >> C:\\Users\\[username]\\Downloads\\log.txtExpected behavior
Each action runs once per transition — one log entry per command.
Actual behavior
The first action always runs once, but each subsequent action runs n times, where n is its position in the action list:
| # of Actions | Log Entries | Pattern |
|---|---|---|
| 1 | 1 | 1 |
| 2 | 3 | 1 + 2 |
| 3 | 6 | 1 + 2 + 3 |
What we've tried
- Created a brand new workflow from scratch
- Tested with different file types
- Tested on different transitions
- Tested with different shell commands
- Manually deleted the log file between each test run to rule out carry-over entries
The pattern is consistent across all variations, which points to a PDM bug rather than something specific to our configuration. However, we haven't been able to find any other reports of this issue.
Has anyone seen this before or have any idea what might be causing it?
