Closed ryanwalls closed 8 years ago
activity ids are similar to workflow ids in swf, are primary-key-like. you can only have 1 activity of the same id scheduled/running at once (per workflow), but once that activity completes/fails/times-out you can reuse the same id.
So the attempts counting does count by id.
Great. Will leave this open for now until I can submit a PR with a paraphrase of your comment added to the documentation.
Actually, I think the current documentation already implies this, so will just close for now.
The correlator has an ActivityAttempts field. Does SWF allow reusing activity ids? It seems ActivityAttempts is keeping track of how many times the same id has been attempted. I just assumed activity ids had to be unique or SWF would complain?